simpo-component-library 3.2.45 → 3.2.46

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 (32) hide show
  1. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +6 -4
  2. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +4 -3
  3. package/esm2022/lib/elements/editor-service.service.mjs +8 -1
  4. package/esm2022/lib/elements/image-editor/image-editor.component.mjs +4 -5
  5. package/esm2022/lib/elements/media-selector/media-selector.component.mjs +8 -8
  6. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +6 -4
  7. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +6 -4
  8. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +7 -5
  9. package/esm2022/lib/sections/features-section/features-section.component.mjs +6 -4
  10. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +7 -5
  11. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +7 -5
  12. package/esm2022/lib/sections/image-section/image-section.component.mjs +7 -5
  13. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +4 -3
  14. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +6 -4
  15. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +6 -4
  16. package/esm2022/lib/sections/process-section/process-section.component.mjs +5 -3
  17. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +7 -5
  18. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +7 -5
  19. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +7 -6
  20. package/fesm2022/simpo-component-library.mjs +2830 -2811
  21. package/fesm2022/simpo-component-library.mjs.map +1 -1
  22. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  23. package/lib/elements/editor-service.service.d.ts +2 -0
  24. package/lib/elements/image-editor/image-editor.component.d.ts +1 -3
  25. package/lib/elements/media-selector/media-selector.component.d.ts +3 -3
  26. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +3 -3
  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/package.json +1 -1
  31. package/simpo-component-library-3.2.46.tgz +0 -0
  32. package/simpo-component-library-3.2.45.tgz +0 -0
@@ -45,7 +45,7 @@ export declare class AuthenticationRequiredComponent {
45
45
  validateNumber(event: KeyboardEvent): void;
46
46
  validateOTP(event: KeyboardEvent): void;
47
47
  checkStrength(): void;
48
- getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
48
+ getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
49
49
  get isEmailValid(): boolean;
50
50
  get isPasswordValid(): boolean;
51
51
  get isMobile(): boolean;
@@ -6,6 +6,8 @@ export declare class ElementServiceService {
6
6
  constructor(http: HttpClient, BASE_URL: string);
7
7
  getComponentApi(): import("rxjs").Observable<Object>;
8
8
  regenerateText(request: any): import("rxjs").Observable<Object>;
9
+ getImageLibrary(): import("rxjs").Observable<Object>;
10
+ saveImagesToBusinessLibrary(mediaRequest: any): import("rxjs").Observable<Object>;
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ElementServiceService, never>;
10
12
  static ɵprov: i0.ɵɵInjectableDeclaration<ElementServiceService>;
11
13
  }
@@ -1,15 +1,13 @@
1
1
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
2
2
  import { EventsService } from '../../services/events.service';
3
3
  import { Image } from '../../styles/style.model';
4
- import { Renderer2 } from '@angular/core';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class ImageEditorComponent {
7
6
  private eventsService;
8
7
  dialogRef: MatDialogRef<ImageEditorComponent>;
9
8
  data: any;
10
9
  private matDialog;
11
- private render;
12
- constructor(eventsService: EventsService, dialogRef: MatDialogRef<ImageEditorComponent>, data: any, matDialog: MatDialog, render: Renderer2);
10
+ constructor(eventsService: EventsService, dialogRef: MatDialogRef<ImageEditorComponent>, data: any, matDialog: MatDialog);
13
11
  imageData: Image;
14
12
  sectionId: string;
15
13
  private backDrop;
@@ -4,14 +4,14 @@ import { FormControl } from '@angular/forms';
4
4
  import { ImageUplaodService } from '../../services/image-upload-service.service';
5
5
  import { MatDialogRef } from '@angular/material/dialog';
6
6
  import { MatSnackBar } from '@angular/material/snack-bar';
7
- import { RestService } from '../../services/rest.service';
7
+ import { ElementServiceService } from '../editor-service.service';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class MediaSelectorComponent implements AfterViewInit {
10
10
  private imageUploadService;
11
11
  _dialogRef: MatDialogRef<MediaSelectorComponent>;
12
12
  private dialogData;
13
13
  private snackBar;
14
- private restService;
14
+ private editorService;
15
15
  viewport: CdkVirtualScrollViewport;
16
16
  tabs: string[];
17
17
  activeTab: string;
@@ -23,7 +23,7 @@ export declare class MediaSelectorComponent implements AfterViewInit {
23
23
  imageSize: number;
24
24
  multiple: boolean;
25
25
  selectedImage: Map<string, any>;
26
- constructor(imageUploadService: ImageUplaodService, _dialogRef: MatDialogRef<MediaSelectorComponent>, dialogData: any, snackBar: MatSnackBar, restService: RestService);
26
+ constructor(imageUploadService: ImageUplaodService, _dialogRef: MatDialogRef<MediaSelectorComponent>, dialogData: any, snackBar: MatSnackBar, editorService: ElementServiceService);
27
27
  ngOnInit(): void;
28
28
  ngAfterViewInit(): void;
29
29
  getImageLibrary(): void;
@@ -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(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
26
+ get getBlurValue(): "STRONG" | "LIGHT" | "MODERATE" | "VERY_STRONG" | "NONE" | undefined;
27
27
  get getBackgroundColor(): BackgroundModel;
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";
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";
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" | "0.7" | "0.5" | "0.3" | "0.2";
28
+ opacityValue(value: OverlayValue): "0.7" | "0.5" | "0.3" | "0.2" | "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(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
24
- opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
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";
25
25
  editSection(): void;
26
26
  redirectTo(): void;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
@@ -23,7 +23,7 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
23
23
  constructor(_eventService: EventsService);
24
24
  ngOnInit(): void;
25
25
  get animationDuration(): logoSpeed;
26
- get animationDirection(): logoDirection.Left | "reverse" | "normal";
26
+ get animationDirection(): "reverse" | "normal" | logoDirection.Left;
27
27
  screenWidth: number;
28
28
  getScreenSize(event?: number): void;
29
29
  editSection(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.2.45",
3
+ "version": "3.2.46",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file