simpo-component-library 0.0.1

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 (123) hide show
  1. package/README.md +24 -0
  2. package/esm2022/lib/components/hover-elements/hover-elements.component.mjs +44 -0
  3. package/esm2022/lib/components/index.mjs +16 -0
  4. package/esm2022/lib/directive/animation-directive.mjs +92 -0
  5. package/esm2022/lib/directive/background-directive.mjs +67 -0
  6. package/esm2022/lib/directive/banner-content-fit-directive.mjs +93 -0
  7. package/esm2022/lib/directive/border-directive.mjs +45 -0
  8. package/esm2022/lib/directive/button-directive.directive.mjs +84 -0
  9. package/esm2022/lib/directive/column-directive.directive.mjs +63 -0
  10. package/esm2022/lib/directive/container-fir.directive.mjs +42 -0
  11. package/esm2022/lib/directive/content-alignment-directive.mjs +50 -0
  12. package/esm2022/lib/directive/content-fit-directive.mjs +56 -0
  13. package/esm2022/lib/directive/corner-directive.mjs +65 -0
  14. package/esm2022/lib/directive/footer-layout-directive.mjs +32 -0
  15. package/esm2022/lib/directive/hover-element-directive.mjs +34 -0
  16. package/esm2022/lib/directive/image-directive.directive.mjs +79 -0
  17. package/esm2022/lib/directive/index.mjs +85 -0
  18. package/esm2022/lib/directive/overlay-directive.mjs +40 -0
  19. package/esm2022/lib/directive/position-layout-directive.directive.mjs +50 -0
  20. package/esm2022/lib/directive/text-background-directive.directive.mjs +109 -0
  21. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +31 -0
  22. package/esm2022/lib/elements/button/button.component.mjs +17 -0
  23. package/esm2022/lib/elements/button/button.model.mjs +2 -0
  24. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +32 -0
  25. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +16 -0
  26. package/esm2022/lib/elements/index.mjs +21 -0
  27. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +27 -0
  28. package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +22 -0
  29. package/esm2022/lib/elements/text/text.component.mjs +17 -0
  30. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +33 -0
  31. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +51 -0
  32. package/esm2022/lib/sections/banner-section/banner-section.model.mjs +2 -0
  33. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +42 -0
  34. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +2 -0
  35. package/esm2022/lib/sections/footer-section/footer-section.component.mjs +47 -0
  36. package/esm2022/lib/sections/footer-section/footer-section.modal.mjs +2 -0
  37. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +38 -0
  38. package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +2 -0
  39. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +55 -0
  40. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +2 -0
  41. package/esm2022/lib/sections/image-section/image-section.component.mjs +49 -0
  42. package/esm2022/lib/sections/image-section/image-section.model.mjs +2 -0
  43. package/esm2022/lib/sections/service-section/service-section.component.mjs +54 -0
  44. package/esm2022/lib/sections/service-section/service-section.model.mjs +2 -0
  45. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +50 -0
  46. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +2 -0
  47. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +49 -0
  48. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +2 -0
  49. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +52 -0
  50. package/esm2022/lib/sections/text-image-section/text-image-section.model.mjs +2 -0
  51. package/esm2022/lib/sections/text-section/text-section.component.mjs +53 -0
  52. package/esm2022/lib/sections/text-section/text-section.model.mjs +2 -0
  53. package/esm2022/lib/sections/video-section/video-section.component.mjs +54 -0
  54. package/esm2022/lib/sections/video-section/video-section.model.mjs +2 -0
  55. package/esm2022/lib/services/events.service.mjs +32 -0
  56. package/esm2022/lib/styles/index.mjs +157 -0
  57. package/esm2022/lib/styles/style.model.mjs +2 -0
  58. package/esm2022/lib/styles/types.mjs +2 -0
  59. package/esm2022/public-api.mjs +18 -0
  60. package/esm2022/simpo-component-library.mjs +5 -0
  61. package/fesm2022/simpo-component-library.mjs +1408 -0
  62. package/fesm2022/simpo-component-library.mjs.map +1 -0
  63. package/index.d.ts +5 -0
  64. package/lib/components/hover-elements/hover-elements.component.d.ts +19 -0
  65. package/lib/components/index.d.ts +7 -0
  66. package/lib/directive/animation-directive.d.ts +37 -0
  67. package/lib/directive/background-directive.d.ts +16 -0
  68. package/lib/directive/banner-content-fit-directive.d.ts +16 -0
  69. package/lib/directive/border-directive.d.ts +13 -0
  70. package/lib/directive/button-directive.directive.d.ts +23 -0
  71. package/lib/directive/column-directive.directive.d.ts +19 -0
  72. package/lib/directive/container-fir.directive.d.ts +15 -0
  73. package/lib/directive/content-alignment-directive.d.ts +19 -0
  74. package/lib/directive/content-fit-directive.d.ts +15 -0
  75. package/lib/directive/corner-directive.d.ts +19 -0
  76. package/lib/directive/footer-layout-directive.d.ts +15 -0
  77. package/lib/directive/hover-element-directive.d.ts +12 -0
  78. package/lib/directive/image-directive.directive.d.ts +19 -0
  79. package/lib/directive/index.d.ts +20 -0
  80. package/lib/directive/overlay-directive.d.ts +14 -0
  81. package/lib/directive/position-layout-directive.directive.d.ts +19 -0
  82. package/lib/directive/text-background-directive.directive.d.ts +23 -0
  83. package/lib/elements/below-image-card/below-image-card.component.d.ts +12 -0
  84. package/lib/elements/button/button.component.d.ts +7 -0
  85. package/lib/elements/button/button.model.d.ts +4 -0
  86. package/lib/elements/covering-image-card/covering-image-card.component.d.ts +12 -0
  87. package/lib/elements/heading-element/heading-element.component.d.ts +6 -0
  88. package/lib/elements/index.d.ts +12 -0
  89. package/lib/elements/simpo-button/simpo-button.component.d.ts +12 -0
  90. package/lib/elements/socia-icons/socia-icons.component.d.ts +10 -0
  91. package/lib/elements/text/text.component.d.ts +6 -0
  92. package/lib/elements/top-of-image-card/top-of-image-card.component.d.ts +12 -0
  93. package/lib/sections/banner-section/banner-section.component.d.ts +15 -0
  94. package/lib/sections/banner-section/banner-section.model.d.ts +19 -0
  95. package/lib/sections/faq-section/faq-section.component.d.ts +12 -0
  96. package/lib/sections/faq-section/faq-section.modal.d.ts +18 -0
  97. package/lib/sections/footer-section/footer-section.component.d.ts +17 -0
  98. package/lib/sections/footer-section/footer-section.modal.d.ts +62 -0
  99. package/lib/sections/image-carousel-section/image-carousel-section.component.d.ts +13 -0
  100. package/lib/sections/image-carousel-section/image-carousel.model.d.ts +24 -0
  101. package/lib/sections/image-grid-section/image-grid-section.component.d.ts +17 -0
  102. package/lib/sections/image-grid-section/image-grid-section.model.d.ts +24 -0
  103. package/lib/sections/image-section/image-section.component.d.ts +14 -0
  104. package/lib/sections/image-section/image-section.model.d.ts +17 -0
  105. package/lib/sections/service-section/service-section.component.d.ts +21 -0
  106. package/lib/sections/service-section/service-section.model.d.ts +25 -0
  107. package/lib/sections/team-member-section/team-member-section.component.d.ts +19 -0
  108. package/lib/sections/team-member-section/team-member-section.model.d.ts +21 -0
  109. package/lib/sections/testimonial-section/testimonial-section.component.d.ts +14 -0
  110. package/lib/sections/testimonial-section/testimonial-section.model.d.ts +19 -0
  111. package/lib/sections/text-image-section/text-image-section.component.d.ts +17 -0
  112. package/lib/sections/text-image-section/text-image-section.model.d.ts +19 -0
  113. package/lib/sections/text-section/text-section.component.d.ts +18 -0
  114. package/lib/sections/text-section/text-section.model.d.ts +12 -0
  115. package/lib/sections/video-section/video-section.component.d.ts +18 -0
  116. package/lib/sections/video-section/video-section.model.d.ts +17 -0
  117. package/lib/services/events.service.d.ts +23 -0
  118. package/lib/styles/index.d.ts +123 -0
  119. package/lib/styles/style.model.d.ts +132 -0
  120. package/lib/styles/types.d.ts +16 -0
  121. package/package.json +26 -0
  122. package/public-api.d.ts +12 -0
  123. package/simpo-component-library-0.0.1.tgz +0 -0
@@ -0,0 +1,16 @@
1
+ import { ElementRef, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { EventsService } from '@simpo-ui/services/events.service';
3
+ import { BackgroundModel } from '@simpo-ui/styles/style.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BackgroundDirective implements OnChanges {
6
+ private el;
7
+ private eventService;
8
+ simpoBackground?: BackgroundModel;
9
+ eventEmmitter: any;
10
+ constructor(el: ElementRef, eventService: EventsService);
11
+ ngOnDestroy(): void;
12
+ ngOnChanges(change: SimpleChanges): void;
13
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; }, {}, never, never, true, never>;
16
+ }
@@ -0,0 +1,16 @@
1
+ import { ElementRef, OnChanges, OnInit, Renderer2 } from '@angular/core';
2
+ import { BannerLayOutModel } from '@simpo-ui/styles/style.model';
3
+ import { EventsService } from '@simpo-ui/services/events.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BannerContentFitDirective implements OnInit, OnChanges {
6
+ private el;
7
+ private eventService;
8
+ private renderer;
9
+ layout?: BannerLayOutModel;
10
+ constructor(el: ElementRef, eventService: EventsService, renderer: Renderer2);
11
+ ngOnInit(): void;
12
+ ngOnChanges(): void;
13
+ appply(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<BannerContentFitDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BannerContentFitDirective, "[simpoBannerLayout]", never, { "layout": { "alias": "simpoBannerLayout"; "required": false; }; }, {}, never, never, true, never>;
16
+ }
@@ -0,0 +1,13 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ import { EventsService } from '@simpo-ui/services/events.service';
3
+ import { BorderModel } from '@simpo-ui/styles/style.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BorderDirective implements OnChanges {
6
+ private el;
7
+ private eventService;
8
+ borderData?: BorderModel;
9
+ constructor(el: ElementRef, eventService: EventsService);
10
+ ngOnChanges(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<BorderDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BorderDirective, "[simpoBorder]", never, { "borderData": { "alias": "simpoBorder"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,23 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ import { EventsService } from '@simpo-ui/services/events.service';
3
+ import { ButtonStyleModel } from '@simpo-ui/styles/style.model';
4
+ import { Subscription } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ButtonDirectiveDirective implements OnChanges {
7
+ private el;
8
+ private eventService;
9
+ buttonStyle?: ButtonStyleModel;
10
+ color?: string;
11
+ constructor(el: ElementRef, eventService: EventsService);
12
+ ngOnChanges(): void;
13
+ ngOnDestroy(): void;
14
+ applyButtonStyleChanges(): void;
15
+ applyButtonType(style: ButtonStyleModel, color: string): void;
16
+ applyButtonShape(style: ButtonStyleModel): void;
17
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
18
+ buttonStyleSubscription?: Subscription;
19
+ buttonStyleChangeCheck(): void;
20
+ changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDirectiveDirective, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirectiveDirective, "[simpoButtonDirective]", never, { "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
23
+ }
@@ -0,0 +1,19 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ import { EventsService } from '@simpo-ui/services/events.service';
3
+ import { CARD_SIZE } from '@simpo-ui/styles/types';
4
+ import { Subscription } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ColumnDirectiveDirective implements OnChanges {
7
+ private el;
8
+ private eventService;
9
+ columnDirective?: CARD_SIZE;
10
+ cardSizeSubSubscription: Subscription | undefined;
11
+ constructor(el: ElementRef, eventService: EventsService);
12
+ ngOnChanges(): void;
13
+ ngOnDestroy(): void;
14
+ checkSizeChanges(): void;
15
+ addClass(res: CARD_SIZE, id: string): void;
16
+ removeAllClasses(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColumnDirectiveDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnDirectiveDirective, "[simpoColumnDirective]", never, { "columnDirective": { "alias": "simpoColumnDirective"; "required": false; }; }, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,15 @@
1
+ import { ElementRef, OnChanges, OnInit } from '@angular/core';
2
+ import { LayOutModel } from '@simpo-ui/styles/style.model';
3
+ import { EventsService } from '@simpo-ui/services/events.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ContainerFitDirective implements OnInit, OnChanges {
6
+ private readonly el;
7
+ private readonly eventService;
8
+ layout?: LayOutModel;
9
+ constructor(el: ElementRef, eventService: EventsService);
10
+ ngOnInit(): void;
11
+ ngOnChanges(): void;
12
+ appply(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContainerFitDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ContainerFitDirective, "[simpoContainerLayout]", never, { "layout": { "alias": "simpoContainerLayout"; "required": false; }; }, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1,19 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ import { EventsService } from '@simpo-ui/services/events.service';
3
+ import { AlignContent } from '@simpo-ui/styles';
4
+ import { Subscription } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class simpoConetenAlignmentDirective implements OnChanges {
7
+ private el;
8
+ private eventService;
9
+ contentAlignmentData?: AlignContent;
10
+ constructor(el: ElementRef, eventService: EventsService);
11
+ ngOnChanges(): void;
12
+ ngOnDestroy(): void;
13
+ contentAlignmentSubscription?: Subscription;
14
+ changeAlignmentCheck(): void;
15
+ applyContentAlignment(): void;
16
+ removeAllClassIfPresent(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<simpoConetenAlignmentDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<simpoConetenAlignmentDirective, "[simpoContentAlignment]", never, { "contentAlignmentData": { "alias": "simpoContentAlignment"; "required": false; }; }, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,15 @@
1
+ import { ElementRef, OnChanges, OnInit } from '@angular/core';
2
+ import { LayOutModel } from '@simpo-ui/styles/style.model';
3
+ import { EventsService } from '@simpo-ui/services/events.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ContentFitDirective implements OnInit, OnChanges {
6
+ private el;
7
+ private eventService;
8
+ layout?: LayOutModel;
9
+ constructor(el: ElementRef, eventService: EventsService);
10
+ ngOnInit(): void;
11
+ ngOnChanges(): void;
12
+ appply(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContentFitDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ContentFitDirective, "[simpoLayout]", never, { "layout": { "alias": "simpoLayout"; "required": false; }; }, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1,19 @@
1
+ import { ElementRef, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
+ import { EventsService } from '@simpo-ui/services/events.service';
3
+ import { Corners } from '@simpo-ui/styles';
4
+ import { Subscription } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CornerDirective implements OnChanges, OnInit, OnDestroy {
7
+ private el;
8
+ private eventService;
9
+ cornerData?: Corners;
10
+ cornerSubSubscription: Subscription | undefined;
11
+ constructor(el: ElementRef, eventService: EventsService);
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ ngOnChanges(): void;
15
+ checkSizeChanges(): void;
16
+ addClass(res: Corners, id: string): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<CornerDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CornerDirective, "[simpoCorner]", never, { "cornerData": { "alias": "simpoCorner"; "required": false; }; }, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,15 @@
1
+ import { ElementRef, OnChanges, OnInit } from '@angular/core';
2
+ import { EventsService } from '@simpo-ui/services/events.service';
3
+ import { FooterLayoutModel } from '@simpo-ui/sections/footer-section/footer-section.modal';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SimpoFooterLayoutDirective implements OnInit, OnChanges {
6
+ private el;
7
+ private eventService;
8
+ layout?: FooterLayoutModel;
9
+ constructor(el: ElementRef, eventService: EventsService);
10
+ ngOnInit(): void;
11
+ ngOnChanges(): void;
12
+ appply(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SimpoFooterLayoutDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SimpoFooterLayoutDirective, "[simpoFooterLayout]", never, { "layout": { "alias": "simpoFooterLayout"; "required": false; }; }, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1,12 @@
1
+ import { ElementRef, EventEmitter, OnChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HoverDirective implements OnChanges {
4
+ private el;
5
+ hovering: EventEmitter<boolean>;
6
+ constructor(el: ElementRef);
7
+ ngOnChanges(): void;
8
+ onMouseEnter(): void;
9
+ onMouseLeave(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<HoverDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HoverDirective, "[simpoHover]", never, {}, { "hovering": "hovering"; }, never, never, true, never>;
12
+ }
@@ -0,0 +1,19 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ import { EventsService } from '@simpo-ui/services/events.service';
3
+ import { ImageStyle } from '@simpo-ui/styles/style.model';
4
+ import { Subscription } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ImageDirectiveDirective implements OnChanges {
7
+ private el;
8
+ private eventService;
9
+ simpoImageDirective?: ImageStyle;
10
+ constructor(el: ElementRef, eventService: EventsService);
11
+ ngOnInit(): void;
12
+ ngOnChanges(): void;
13
+ ngOnDestroy(): void;
14
+ imageStyleSubscription?: Subscription;
15
+ imageStyleChangeCheck(): void;
16
+ changeImageStyle(id: string, style: ImageStyle): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageDirectiveDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ImageDirectiveDirective, "[simpoImageDirective]", never, { "simpoImageDirective": { "alias": "simpoImageDirective"; "required": false; }; }, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,20 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./animation-directive";
3
+ import * as i2 from "./border-directive";
4
+ import * as i3 from "./overlay-directive";
5
+ import * as i4 from "./background-directive";
6
+ import * as i5 from "./content-fit-directive";
7
+ import * as i6 from "./container-fir.directive";
8
+ import * as i7 from "./hover-element-directive";
9
+ import * as i8 from "./banner-content-fit-directive";
10
+ import * as i9 from "./corner-directive";
11
+ import * as i10 from "./column-directive.directive";
12
+ import * as i11 from "./image-directive.directive";
13
+ import * as i12 from "./content-alignment-directive";
14
+ import * as i13 from "./position-layout-directive.directive";
15
+ import * as i14 from "./footer-layout-directive";
16
+ export declare class StyleDirectivesModule {
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<StyleDirectivesModule, never>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StyleDirectivesModule, never, [typeof i1.AnimationDirective, typeof i2.BorderDirective, typeof i3.OverlayDirective, typeof i4.BackgroundDirective, typeof i5.ContentFitDirective, typeof i6.ContainerFitDirective, typeof i7.HoverDirective, typeof i8.BannerContentFitDirective, typeof i9.CornerDirective, typeof i10.ColumnDirectiveDirective, typeof i11.ImageDirectiveDirective, typeof i12.simpoConetenAlignmentDirective, typeof i13.PositionLayoutDirectiveDirective, typeof i14.SimpoFooterLayoutDirective], [typeof i1.AnimationDirective, typeof i2.BorderDirective, typeof i3.OverlayDirective, typeof i4.BackgroundDirective, typeof i5.ContentFitDirective, typeof i6.ContainerFitDirective, typeof i7.HoverDirective, typeof i8.BannerContentFitDirective, typeof i9.CornerDirective, typeof i10.ColumnDirectiveDirective, typeof i11.ImageDirectiveDirective, typeof i12.simpoConetenAlignmentDirective, typeof i13.PositionLayoutDirectiveDirective, typeof i14.SimpoFooterLayoutDirective]>;
19
+ static ɵinj: i0.ɵɵInjectorDeclaration<StyleDirectivesModule>;
20
+ }
@@ -0,0 +1,14 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ import { EventsService } from '@simpo-ui/services/events.service';
3
+ import { BackgroundModel } from '@simpo-ui/styles/style.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class OverlayDirective implements OnChanges {
6
+ private el;
7
+ private eventService;
8
+ backgroundData?: BackgroundModel;
9
+ constructor(el: ElementRef, eventService: EventsService);
10
+ ngOnChanges(): void;
11
+ getRGBA(bgColor: string, opacity: number): string;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<OverlayDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OverlayDirective, "[simpoOverlay]", never, { "backgroundData": { "alias": "simpoOverlay"; "required": false; }; }, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,19 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { EventsService } from '@simpo-ui/services/events.service';
3
+ import { PositionLayoutModal } from '@simpo-ui/styles/style.model';
4
+ import { Subscription } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class PositionLayoutDirectiveDirective {
7
+ private el;
8
+ private eventService;
9
+ positionLayout?: PositionLayoutModal;
10
+ constructor(el: ElementRef, eventService: EventsService);
11
+ ngOnChanges(): void;
12
+ ngOnDestroy(): void;
13
+ changePositionLayout(): void;
14
+ removeAllClassIfPresent(): void;
15
+ positionLayoutSubscription?: Subscription;
16
+ positionLayoutChangeCheck(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<PositionLayoutDirectiveDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PositionLayoutDirectiveDirective, "[simpoPositionLayoutDirective]", never, { "positionLayout": { "alias": "simpoPositionLayoutDirective"; "required": false; }; }, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,23 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ import { EventsService } from '@simpo-ui/services/events.service';
3
+ import { TextBackground } from '@simpo-ui/styles/style.model';
4
+ import { Subscription } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class TextBackgroundDirectiveDirective implements OnChanges {
7
+ private el;
8
+ private eventService;
9
+ textBackgroundDirective?: TextBackground;
10
+ constructor(el: ElementRef, eventService: EventsService);
11
+ ngOnChanges(): void;
12
+ ngOnDestroy(): void;
13
+ getrgbFormColor(hexCode: any): any;
14
+ checkColorIsRgbFormOrNot(color: string): boolean;
15
+ textBackgroundSubscription?: Subscription;
16
+ textBackgroundChangeCheck(): void;
17
+ changeTextBackground(id: any, textBackground: TextBackground): void;
18
+ getContrastColorFromRGBA(rgbaString: string): string | null;
19
+ extractRGBA(rgbaString: string): number[] | null;
20
+ getContrastColor(rgba: number[]): string;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextBackgroundDirectiveDirective, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TextBackgroundDirectiveDirective, "[simpoTextBackgroundDirective]", never, { "textBackgroundDirective": { "alias": "simpoTextBackgroundDirective"; "required": false; }; }, {}, never, never, true, never>;
23
+ }
@@ -0,0 +1,12 @@
1
+ import { ButtonModel } from '@simpo-ui/styles/style.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BelowImageCardComponent {
4
+ data: any;
5
+ styles: any;
6
+ content: any;
7
+ componentId?: string;
8
+ button?: ButtonModel;
9
+ ngOnInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<BelowImageCardComponent, never>;
11
+ 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; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,7 @@
1
+ import { ButtonModel } from './button.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ButtonElementComponent {
4
+ buttonData?: ButtonModel;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonElementComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonElementComponent, "simpo-button-element", never, { "buttonData": { "alias": "buttonData"; "required": false; }; }, {}, never, never, true, never>;
7
+ }
@@ -0,0 +1,4 @@
1
+ export interface ButtonModel {
2
+ text: string;
3
+ disabled: boolean;
4
+ }
@@ -0,0 +1,12 @@
1
+ import { ButtonModel } from '@simpo-ui/styles/style.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CoveringImageCardComponent {
4
+ data: any;
5
+ styles: any;
6
+ content: any;
7
+ componentId?: string;
8
+ button?: ButtonModel;
9
+ ngOnInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<CoveringImageCardComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<CoveringImageCardComponent, "simpo-covering-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; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class HeadingElementComponent {
3
+ data?: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeadingElementComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeadingElementComponent, "simpo-heading-element", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./button/button.component";
3
+ import * as i2 from "./text/text.component";
4
+ import * as i3 from "./below-image-card/below-image-card.component";
5
+ import * as i4 from "./top-of-image-card/top-of-image-card.component";
6
+ import * as i5 from "./covering-image-card/covering-image-card.component";
7
+ import * as i6 from "./heading-element/heading-element.component";
8
+ export declare class SimpoElementsModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SimpoElementsModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SimpoElementsModule, never, [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent], [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<SimpoElementsModule>;
12
+ }
@@ -0,0 +1,12 @@
1
+ import { Button, ButtonStyleModel } from '@simpo-ui/styles/style.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SimpoButtonComponent {
4
+ buttonContent?: Button;
5
+ buttonStyle?: ButtonStyleModel;
6
+ color?: string;
7
+ sectionId?: string;
8
+ ngOnInit(): void;
9
+ redirectTo(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SimpoButtonComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<SimpoButtonComponent, "app-button-element", never, { "buttonContent": { "alias": "buttonContent"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "color": { "alias": "color"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SociaIconsComponent implements OnInit {
4
+ socialIconData: any;
5
+ color: any;
6
+ constructor();
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SociaIconsComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SociaIconsComponent, "simpo-socia-icons", never, { "socialIconData": { "alias": "socialIconData"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TextElementComponent {
3
+ textData?: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextElementComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextElementComponent, "simpo-text-element", never, { "textData": { "alias": "textData"; "required": false; }; }, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,12 @@
1
+ import { ButtonModel } from '@simpo-ui/styles/style.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TopOfImageCardComponent {
4
+ data: any;
5
+ styles: any;
6
+ content: any;
7
+ componentId?: string;
8
+ button?: ButtonModel;
9
+ ngOnInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TopOfImageCardComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<TopOfImageCardComponent, "simpo-top-of-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; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,15 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BannerContentModel, BannerSectionModel } from './banner-section.model';
3
+ import { BannerStylesModel } from '@simpo-ui/styles/style.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BannerSectionComponent implements OnInit {
6
+ data?: BannerSectionModel;
7
+ content?: BannerContentModel;
8
+ styles?: BannerStylesModel;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ showEditors: boolean;
12
+ showEditTabs(isShow: boolean): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<BannerSectionComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<BannerSectionComponent, "simpo-banner-section", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1,19 @@
1
+ import { ActionModel, BannerStylesModel, Image, InputTextModel } from '@simpo-ui/styles/style.model';
2
+ export interface BannerSectionModel {
3
+ id: string;
4
+ sectionType: string;
5
+ sectionName: string;
6
+ content: BannerContentModel;
7
+ styles: BannerStylesModel;
8
+ action: ActionModel;
9
+ }
10
+ export interface ImageModel extends Image {
11
+ showImage: boolean;
12
+ }
13
+ export interface textModel {
14
+ value: string;
15
+ }
16
+ export interface BannerContentModel {
17
+ inputText: InputTextModel[];
18
+ image: ImageModel;
19
+ }
@@ -0,0 +1,12 @@
1
+ import { FAQContentModal, FAQSectionModal, FAQStylesModel } from './faq-section.modal';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FaqSectionComponent {
4
+ data?: FAQSectionModal;
5
+ content?: FAQContentModal;
6
+ style?: FAQStylesModel;
7
+ ngOnInit(): void;
8
+ showEditors: boolean;
9
+ showEditTabs(isShow: boolean): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FaqSectionComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<FaqSectionComponent, "simpo-faq-section", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,18 @@
1
+ import { ButtonStyleModel, InputTextModel, ListItemModal, StylesModel } from '@simpo-ui/styles/style.model';
2
+ export interface FAQSectionModal {
3
+ id: string;
4
+ sectionType: string;
5
+ sectionName: string;
6
+ content: FAQContentModal;
7
+ styles: FAQStylesModel;
8
+ }
9
+ export interface FAQContentModal {
10
+ inputText: [InputTextModel];
11
+ listItem: ListItemModal<FAQItemModal>;
12
+ }
13
+ export interface FAQStylesModel extends StylesModel {
14
+ button: ButtonStyleModel;
15
+ }
16
+ export interface FAQItemModal {
17
+ inputText: InputTextModel[];
18
+ }
@@ -0,0 +1,17 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FooterContentModel, FooterSectionModel, FooterStylesModel } from './footer-section.modal';
3
+ import { FooterTypes } from '@simpo-ui/styles';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FooterSectionComponent implements OnInit {
6
+ data?: FooterSectionModel;
7
+ content?: FooterContentModel;
8
+ style?: FooterStylesModel;
9
+ color: any;
10
+ footerTypes: typeof FooterTypes;
11
+ constructor();
12
+ ngOnInit(): void;
13
+ showEditors: boolean;
14
+ showEditTabs(isShow: any): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<FooterSectionComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<FooterSectionComponent, "simpo-footer-section", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
17
+ }
@@ -0,0 +1,62 @@
1
+ import { ChannelType, FooterTypes } from "@simpo-ui/styles";
2
+ import { ActionModel, BackgroundModel, InputTextModel, SpacingModel } from "@simpo-ui/styles/style.model";
3
+ import { FOOTER_IMAGE_SOURCE, SOCIAL_ICON_SHAPE, SOCIAL_ICON_SIZE, SOCIAL_ICON_TYPE } from "@simpo-ui/styles/types";
4
+ export interface FooterSectionModel {
5
+ id: string;
6
+ sectionType: string;
7
+ sectionName: string;
8
+ content: FooterContentModel;
9
+ styles: FooterStylesModel;
10
+ action: ActionModel;
11
+ }
12
+ export interface FooterStylesModel {
13
+ layout: FooterLayoutModel;
14
+ background: BackgroundModel;
15
+ footerType: FooterTypes;
16
+ socialIcon: FooterSocialIconSizeModel;
17
+ }
18
+ export interface FooterLayoutModel {
19
+ spacing: SpacingModel;
20
+ }
21
+ export interface FooterSocialIconSizeModel {
22
+ size: SOCIAL_ICON_SIZE;
23
+ shape: SOCIAL_ICON_SHAPE;
24
+ type: SOCIAL_ICON_TYPE;
25
+ }
26
+ export interface FooterContentModel {
27
+ siteNameAndLogo: string;
28
+ siteName: InputTextModel;
29
+ additionalDetails: InputTextModel;
30
+ logo: FooterLogoModel;
31
+ image: FooterImageModel;
32
+ socialLinks: FooterSocialLinkModel;
33
+ displayBranding: boolean;
34
+ }
35
+ export interface FooterLogoModel {
36
+ isImage: boolean;
37
+ text: FooterLogoTextModel;
38
+ image: footerLogobrandingModel;
39
+ }
40
+ export interface footerLogobrandingModel {
41
+ source: FOOTER_IMAGE_SOURCE;
42
+ url: string;
43
+ }
44
+ export interface FooterLogoTextModel {
45
+ isText: boolean;
46
+ isIcon: boolean;
47
+ url: string;
48
+ fontFamily: string;
49
+ }
50
+ export interface FooterImageModel {
51
+ source: FOOTER_IMAGE_SOURCE;
52
+ url: string;
53
+ }
54
+ export interface FooterSocialLinkModel {
55
+ display: boolean;
56
+ channels: FooterSocialChannelModel[];
57
+ }
58
+ export interface FooterSocialChannelModel {
59
+ type: ChannelType;
60
+ url: string;
61
+ link: string;
62
+ }
@@ -0,0 +1,13 @@
1
+ import { ImageCarouselSection, ImageCarouselSectionContentModel, ImageCarouselSectionStylesModel } from './image-carousel.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ImageCarouselSectionComponent {
4
+ data?: ImageCarouselSection;
5
+ content?: ImageCarouselSectionContentModel;
6
+ style?: ImageCarouselSectionStylesModel;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ screenWidth: number;
10
+ getScreenSize(event?: number): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageCarouselSectionComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageCarouselSectionComponent, "simpo-image-carousel-section", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,24 @@
1
+ import { Corners } from '@simpo-ui/styles';
2
+ import { Image, ImageStyle, InputTextModel, ListItemModal, StylesModel } from '@simpo-ui/styles/style.model';
3
+ import { CARD_SIZE } from '@simpo-ui/styles/types';
4
+ export interface ImageCarouselSection {
5
+ id: string;
6
+ sectionType: string;
7
+ sectionName: string;
8
+ content: ImageCarouselSectionContentModel;
9
+ styles: ImageCarouselSectionStylesModel;
10
+ }
11
+ export interface ImageCarouselSectionContentModel {
12
+ inputText: [InputTextModel];
13
+ listItem: ListItemModal<ImageCarouselItemModel>;
14
+ }
15
+ export interface ImageCarouselItemModel {
16
+ image: Image;
17
+ }
18
+ export interface ImageCarouselSectionStylesModel extends StylesModel {
19
+ corners: Corners;
20
+ image: ImageStyle;
21
+ removeGaps: boolean;
22
+ fullWidth: boolean;
23
+ size: CARD_SIZE;
24
+ }
@@ -0,0 +1,17 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { ImageGridContentModal, ImageGridSectionModel, ImageGridStylesModel } from './image-grid-section.model';
3
+ import { EventsService } from '@simpo-ui/services/events.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ImageGridSectionComponent {
6
+ private eventService;
7
+ data?: ImageGridSectionModel;
8
+ _mainContainer: ElementRef | null;
9
+ content?: ImageGridContentModal;
10
+ style?: ImageGridStylesModel;
11
+ constructor(eventService: EventsService);
12
+ ngOnInit(): void;
13
+ showEditors: boolean;
14
+ showEditTabs(isShow: boolean): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageGridSectionComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageGridSectionComponent, "simpo-image-grid-section", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
17
+ }