simpo-component-library 0.1.7 → 0.1.8

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 (31) hide show
  1. package/esm2022/lib/components/hover-elements/hover-elements.component.mjs +5 -3
  2. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +5 -3
  3. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +5 -3
  4. package/esm2022/lib/sections/footer-section/footer-section.component.mjs +5 -3
  5. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +5 -3
  6. package/esm2022/lib/sections/image-section/image-section.component.mjs +5 -3
  7. package/esm2022/lib/sections/service-section/service-section.component.mjs +5 -3
  8. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +5 -3
  9. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +5 -3
  10. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +5 -3
  11. package/esm2022/lib/sections/text-section/text-section.component.mjs +5 -3
  12. package/esm2022/lib/sections/video-section/video-section.component.mjs +5 -3
  13. package/esm2022/public-api.mjs +2 -1
  14. package/fesm2022/simpo-component-library.mjs +49 -25
  15. package/fesm2022/simpo-component-library.mjs.map +1 -1
  16. package/lib/components/hover-elements/hover-elements.component.d.ts +2 -1
  17. package/lib/sections/banner-section/banner-section.component.d.ts +2 -1
  18. package/lib/sections/faq-section/faq-section.component.d.ts +2 -1
  19. package/lib/sections/footer-section/footer-section.component.d.ts +2 -1
  20. package/lib/sections/image-grid-section/image-grid-section.component.d.ts +2 -1
  21. package/lib/sections/image-section/image-section.component.d.ts +2 -1
  22. package/lib/sections/service-section/service-section.component.d.ts +2 -1
  23. package/lib/sections/team-member-section/team-member-section.component.d.ts +2 -1
  24. package/lib/sections/testimonial-section/testimonial-section.component.d.ts +2 -1
  25. package/lib/sections/text-image-section/text-image-section.component.d.ts +2 -1
  26. package/lib/sections/text-section/text-section.component.d.ts +2 -1
  27. package/lib/sections/video-section/video-section.component.d.ts +2 -1
  28. package/package.json +1 -1
  29. package/public-api.d.ts +1 -0
  30. package/simpo-component-library-0.1.8.tgz +0 -0
  31. package/simpo-component-library-0.1.7.tgz +0 -0
@@ -7,6 +7,7 @@ export declare class HoverElementsComponent implements OnInit {
7
7
  edit: EventEmitter<boolean>;
8
8
  data: any;
9
9
  index: any;
10
+ editOptions?: boolean;
10
11
  ngOnInit(): void;
11
12
  editSection(): void;
12
13
  regenerateSection(): void;
@@ -17,5 +18,5 @@ export declare class HoverElementsComponent implements OnInit {
17
18
  deleteSection(): void;
18
19
  addSection(position: "ABOVE" | "BELOW"): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<HoverElementsComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<HoverElementsComponent, "simpo-hover-elements", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, { "edit": "edit"; }, never, never, true, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<HoverElementsComponent, "simpo-hover-elements", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "editOptions": { "alias": "editOptions"; "required": false; }; }, { "edit": "edit"; }, never, never, true, never>;
21
22
  }
@@ -8,11 +8,12 @@ export declare class BannerSectionComponent implements OnInit {
8
8
  data?: BannerSectionModel;
9
9
  index?: number;
10
10
  content?: BannerContentModel;
11
+ edit?: boolean;
11
12
  styles?: BannerStylesModel;
12
13
  constructor(_eventService: EventsService);
13
14
  ngOnInit(): void;
14
15
  showEditors: boolean;
15
16
  showEditTabs(isShow: boolean): void;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerSectionComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<BannerSectionComponent, "simpo-banner-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<BannerSectionComponent, "simpo-banner-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
18
19
  }
@@ -5,6 +5,7 @@ export declare class FaqSectionComponent {
5
5
  private _eventService;
6
6
  data?: FAQSectionModal;
7
7
  index?: number;
8
+ edit?: boolean;
8
9
  content?: FAQContentModal;
9
10
  style?: FAQStylesModel;
10
11
  constructor(_eventService: EventsService);
@@ -12,5 +13,5 @@ export declare class FaqSectionComponent {
12
13
  showEditors: boolean;
13
14
  showEditTabs(isShow: boolean): void;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<FaqSectionComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<FaqSectionComponent, "simpo-faq-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<FaqSectionComponent, "simpo-faq-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
16
17
  }
@@ -7,6 +7,7 @@ export declare class FooterSectionComponent implements OnInit {
7
7
  private _eventService;
8
8
  data?: FooterSectionModel;
9
9
  index?: number;
10
+ edit?: boolean;
10
11
  content?: FooterContentModel;
11
12
  style?: FooterStylesModel;
12
13
  color: any;
@@ -16,5 +17,5 @@ export declare class FooterSectionComponent implements OnInit {
16
17
  showEditors: boolean;
17
18
  showEditTabs(isShow: any): void;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<FooterSectionComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<FooterSectionComponent, "simpo-footer-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FooterSectionComponent, "simpo-footer-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
20
21
  }
@@ -6,6 +6,7 @@ export declare class ImageGridSectionComponent {
6
6
  private eventService;
7
7
  data?: ImageGridSectionModel;
8
8
  index?: number;
9
+ edit?: boolean;
9
10
  _mainContainer: ElementRef | null;
10
11
  content?: ImageGridContentModal;
11
12
  style?: ImageGridStylesModel;
@@ -14,5 +15,5 @@ export declare class ImageGridSectionComponent {
14
15
  showEditors: boolean;
15
16
  showEditTabs(isShow: boolean): void;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageGridSectionComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<ImageGridSectionComponent, "simpo-image-grid-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageGridSectionComponent, "simpo-image-grid-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
18
19
  }
@@ -6,6 +6,7 @@ export declare class ImageSectionComponent {
6
6
  private _eventService;
7
7
  data?: imageSectionModel;
8
8
  index?: number;
9
+ edit?: boolean;
9
10
  _mainContainer: ElementRef | null;
10
11
  content?: ImageContentModal;
11
12
  style?: imageSectionStylesModel;
@@ -14,5 +15,5 @@ export declare class ImageSectionComponent {
14
15
  showEditors: boolean;
15
16
  showEditTabs(isShow: boolean): void;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<ImageSectionComponent, "simpo-image-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageSectionComponent, "simpo-image-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
18
19
  }
@@ -8,6 +8,7 @@ export declare class ServiceSectionComponent {
8
8
  private eventService;
9
9
  data?: ServiceSectionModal;
10
10
  index?: number;
11
+ edit?: boolean;
11
12
  _mainContainer: ElementRef | null;
12
13
  TextPosition: typeof TextPosition;
13
14
  content?: ServiceContentModal;
@@ -18,5 +19,5 @@ export declare class ServiceSectionComponent {
18
19
  showEditors: boolean;
19
20
  showEditTabs(isShow: boolean): void;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<ServiceSectionComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<ServiceSectionComponent, "simpo-service-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ServiceSectionComponent, "simpo-service-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
22
23
  }
@@ -7,6 +7,7 @@ export declare class TeamMemberSectionComponent {
7
7
  private eventService;
8
8
  data?: TeamMemberSectionModal;
9
9
  index?: number;
10
+ edit?: boolean;
10
11
  TextPosition: typeof TextPosition;
11
12
  content?: TeamMemberContentModal;
12
13
  style?: TeamMemberStylesModel;
@@ -16,5 +17,5 @@ export declare class TeamMemberSectionComponent {
16
17
  showEditors: boolean;
17
18
  showEditTabs(isShow: boolean): void;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<TeamMemberSectionComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<TeamMemberSectionComponent, "simpo-team-member-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<TeamMemberSectionComponent, "simpo-team-member-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
20
21
  }
@@ -6,6 +6,7 @@ export declare class TestimonialSectionComponent {
6
6
  private _eventService;
7
7
  data?: testimonialSectionModel;
8
8
  index?: number;
9
+ edit?: boolean;
9
10
  _mainContainer: ElementRef | null;
10
11
  content?: testimonialContentModel;
11
12
  style?: testimonialStylesModel;
@@ -14,5 +15,5 @@ export declare class TestimonialSectionComponent {
14
15
  showEditors: boolean;
15
16
  showEditTabs(isShow: boolean): void;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<TestimonialSectionComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<TestimonialSectionComponent, "simpo-testimonial-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestimonialSectionComponent, "simpo-testimonial-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
18
19
  }
@@ -7,6 +7,7 @@ export declare class TextImageSectionComponent implements OnInit {
7
7
  private eventService;
8
8
  data?: TextImageSectionModel;
9
9
  index?: number;
10
+ edit?: boolean;
10
11
  content?: TextImageContentModel;
11
12
  styles?: BannerStylesModel;
12
13
  constructor(eventService: EventsService);
@@ -14,5 +15,5 @@ export declare class TextImageSectionComponent implements OnInit {
14
15
  showEditors: boolean;
15
16
  showEditTabs(isShow: boolean): void;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<TextImageSectionComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<TextImageSectionComponent, "simpo-text-image-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextImageSectionComponent, "simpo-text-image-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
18
19
  }
@@ -9,6 +9,7 @@ export declare class TextSectionComponent implements OnInit {
9
9
  private _eventService;
10
10
  data?: TextSectionModel;
11
11
  index?: number;
12
+ edit?: boolean;
12
13
  _mainContainer: ElementRef | null;
13
14
  content: TextContentModel | undefined;
14
15
  styles: StylesModel | undefined;
@@ -17,5 +18,5 @@ export declare class TextSectionComponent implements OnInit {
17
18
  showEditors: boolean;
18
19
  showEditTabs(isShow: boolean): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<TextSectionComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<TextSectionComponent, "simpo-text-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextSectionComponent, "simpo-text-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
21
22
  }
@@ -9,6 +9,7 @@ export declare class VideoSectionComponent {
9
9
  constructor(dom: DomSanitizer, _eventService: EventsService);
10
10
  data?: videoSectionModel;
11
11
  index?: number;
12
+ edit?: boolean;
12
13
  _mainContainer: ElementRef | null;
13
14
  videoLink: string;
14
15
  content?: videoSectionContentModel;
@@ -17,5 +18,5 @@ export declare class VideoSectionComponent {
17
18
  showEditors: boolean;
18
19
  showEditTabs(isShow: boolean): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<VideoSectionComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<VideoSectionComponent, "simpo-video-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<VideoSectionComponent, "simpo-video-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
21
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -11,3 +11,4 @@ export * from './lib/sections/testimonial-section/testimonial-section.component'
11
11
  export * from './lib/sections/text-image-section/text-image-section.component';
12
12
  export * from './lib/sections/video-section/video-section.component';
13
13
  export * from './lib/sections/navbar-section/navbar-section.component';
14
+ export * from './lib/services/events.service';
Binary file