simpo-component-library 1.8.996 → 1.8.998

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. package/esm2022/lib/components/image-loading/image-loading.component.mjs +2 -2
  2. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +8 -3
  3. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  4. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
  5. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +2 -2
  6. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  7. package/esm2022/lib/sections/logo-gallery/logo-gallery.component.mjs +90 -0
  8. package/esm2022/lib/sections/logo-gallery/logo-gallery.modal.mjs +2 -0
  9. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +3 -3
  10. package/esm2022/lib/services/storage.service.mjs +2 -1
  11. package/esm2022/public-api.mjs +2 -1
  12. package/fesm2022/simpo-component-library.mjs +86 -15
  13. package/fesm2022/simpo-component-library.mjs.map +1 -1
  14. package/lib/directive/background-directive.d.ts +1 -1
  15. package/lib/directive/button-directive.directive.d.ts +1 -1
  16. package/lib/directive/color.directive.d.ts +1 -1
  17. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  18. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  19. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  20. package/lib/sections/logo-gallery/logo-gallery.component.d.ts +17 -0
  21. package/lib/sections/logo-gallery/logo-gallery.modal.d.ts +24 -0
  22. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
  23. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  24. package/package.json +1 -1
  25. package/public-api.d.ts +1 -0
  26. package/simpo-component-library-1.8.998.tgz +0 -0
  27. package/simpo-component-library-1.8.996.tgz +0 -0
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
11
11
  constructor(el: ElementRef, eventService: EventsService);
12
12
  ngOnDestroy(): void;
13
13
  ngOnChanges(change: SimpleChanges): void;
14
- getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
14
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
16
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
17
17
  }
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
15
15
  applyButtonStyleChanges(): void;
16
16
  applyButtonType(style: ButtonStyleModel, color: string): void;
17
17
  applyButtonShape(style: ButtonStyleModel): void;
18
- getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
18
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
19
19
  buttonStyleSubscription?: Subscription;
20
20
  buttonStyleChangeCheck(): void;
21
21
  changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
12
12
  ngOnDestroy(): void;
13
13
  applyColor(): void;
14
14
  bgColorChangeCheck(): void;
15
- getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
15
+ getTextColor(): "#ffffff" | "#000000" | "#ffffff;";
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
17
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
18
18
  }
@@ -24,8 +24,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
24
24
  get stylesLayout(): LayOutModel;
25
25
  get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
26
26
  get getBackgroundColor(): BackgroundModel;
27
- get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
28
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
27
+ get getBackgroundOpacity(): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
+ opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
29
29
  editSection(): void;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
31
31
  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; }; }, {}, never, never, true, never>;
@@ -24,7 +24,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
24
24
  get canMergeNavbar(): boolean | undefined;
25
25
  get isBorderlessImage(): boolean | undefined;
26
26
  get getPositionLayout(): PositionLayoutModal;
27
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
27
+ opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
28
  editSection(): void;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
30
30
  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; }; }, {}, never, never, true, never>;
@@ -17,8 +17,8 @@ export declare class ImageSectionComponent extends BaseSection {
17
17
  constructor(_eventService: EventsService);
18
18
  ngOnInit(): void;
19
19
  get canMergeNavbar(): boolean | undefined;
20
- get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
21
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
20
+ get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
21
+ opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
22
22
  editSection(): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
24
24
  static ɵcmp: i0.ɵɵComponentDeclaration<ImageSectionComponent, "simpo-image-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; }; }, {}, never, never, true, never>;
@@ -0,0 +1,17 @@
1
+ import { LogoGalleryContentModal, LogoGallerySectionMOdal, LogoGalleryStylesModel } from './logo-gallery.modal';
2
+ import BaseSection from '../BaseSection';
3
+ import { SPACING } from '../../styles/index';
4
+ import * as i0 from "@angular/core";
5
+ export declare class LogoGalleryComponent extends BaseSection {
6
+ data?: LogoGallerySectionMOdal;
7
+ index?: number;
8
+ customClass?: string;
9
+ content?: LogoGalleryContentModal;
10
+ style?: LogoGalleryStylesModel;
11
+ constructor();
12
+ ngOnInit(): void;
13
+ get headingSpace(): SPACING;
14
+ isEvenRow(index: number): boolean;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<LogoGalleryComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<LogoGalleryComponent, "simpo-logo-gallery", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
17
+ }
@@ -0,0 +1,24 @@
1
+ import { Corners } from "./../../styles/index";
2
+ import { Image, ImageStyle, InputTextModel, ListItemModal, StylesModel } from "./../../styles/style.model";
3
+ import { CARD_SIZE } from "./../../styles/types";
4
+ export interface LogoGallerySectionMOdal {
5
+ id: string;
6
+ sectionType: string;
7
+ sectionName: string;
8
+ content: LogoGalleryContentModal;
9
+ styles: LogoGalleryStylesModel;
10
+ }
11
+ export interface LogoGalleryStylesModel extends StylesModel {
12
+ corners: Corners;
13
+ image: ImageStyle;
14
+ removeGaps: boolean;
15
+ fullWidth: boolean;
16
+ size: CARD_SIZE;
17
+ }
18
+ export interface LogoGalleryContentModal {
19
+ inputText: [InputTextModel];
20
+ listItem: ListItemModal<ImageGridItemModel>;
21
+ }
22
+ export interface ImageGridItemModel {
23
+ image: Image;
24
+ }
@@ -22,7 +22,7 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
22
22
  constructor(_eventService: EventsService);
23
23
  ngOnInit(): void;
24
24
  get animationDuration(): logoSpeed;
25
- get animationDirection(): "reverse" | "normal" | logoDirection.Left;
25
+ get animationDirection(): logoDirection.Left | "reverse" | "normal";
26
26
  screenWidth: number;
27
27
  getScreenSize(event?: number): void;
28
28
  editSection(): void;
@@ -16,7 +16,7 @@ export declare class PricingSectionComponent extends BaseSection {
16
16
  style?: PricingSectionStylesModel;
17
17
  constructor(_eventService: EventsService);
18
18
  ngOnInit(): void;
19
- getTextColor(): "#000000" | "#ffffff";
19
+ getTextColor(): "#ffffff" | "#000000";
20
20
  get headingSpace(): SPACING;
21
21
  editSection(): void;
22
22
  redirectTo(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.8.996",
3
+ "version": "1.8.998",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -31,6 +31,7 @@ export * from './lib/sections/banner-carousel/banner-carousel.component';
31
31
  export * from './lib/sections/carousel-banner/carousel-banner.component';
32
32
  export * from './lib/sections/appointment-form/appointment-form.component';
33
33
  export * from './lib/sections/testimonial-video/testimonial-video.component';
34
+ export * from './lib/sections/logo-gallery/logo-gallery.component';
34
35
  export * from './lib/ecommerce/sections/featured-products/featured-products.component';
35
36
  export * from './lib/ecommerce/sections/featured-category/featured-category.component';
36
37
  export * from './lib/ecommerce/sections/product-desc/product-desc.component';
Binary file