simpo-component-library 0.9.4 → 0.9.6

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 (44) hide show
  1. package/esm2022/lib/components/hover-elements/hover-elements.component.mjs +6 -3
  2. package/esm2022/lib/directive/background-directive.mjs +8 -4
  3. package/esm2022/lib/directive/hover-element-directive.mjs +1 -1
  4. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +6 -3
  5. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.model.mjs +1 -1
  6. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +7 -4
  7. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +14 -4
  8. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +2 -2
  9. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -3
  10. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  11. package/esm2022/lib/sections/footer-section/footer-section.component.mjs +2 -2
  12. package/esm2022/lib/sections/header-text/header-text.component.mjs +2 -2
  13. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  14. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  15. package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
  16. package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
  17. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +36 -3
  18. package/esm2022/lib/sections/navbar-section/navbar-section.model.mjs +1 -1
  19. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +2 -2
  20. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +2 -2
  21. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  22. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  23. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  24. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +3 -3
  25. package/esm2022/lib/sections/text-section/text-section.component.mjs +3 -3
  26. package/esm2022/lib/sections/video-section/video-section.component.mjs +3 -3
  27. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +17 -0
  28. package/esm2022/lib/styles/style.model.mjs +1 -1
  29. package/esm2022/public-api.mjs +2 -1
  30. package/fesm2022/simpo-component-library.mjs +111 -45
  31. package/fesm2022/simpo-component-library.mjs.map +1 -1
  32. package/lib/components/hover-elements/hover-elements.component.d.ts +2 -1
  33. package/lib/directive/background-directive.d.ts +2 -1
  34. package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -0
  35. package/lib/sections/banner-grid-section/banner-grid-section.model.d.ts +1 -0
  36. package/lib/sections/banner-section/banner-section.component.d.ts +1 -0
  37. package/lib/sections/blog-list/blog-list.component.d.ts +5 -2
  38. package/lib/sections/navbar-section/navbar-section.component.d.ts +8 -1
  39. package/lib/sections/view-blog/view-blog.component.d.ts +7 -0
  40. package/lib/styles/style.model.d.ts +1 -0
  41. package/package.json +1 -1
  42. package/public-api.d.ts +1 -0
  43. package/simpo-component-library-0.9.6.tgz +0 -0
  44. package/simpo-component-library-0.9.4.tgz +0 -0
@@ -8,6 +8,7 @@ export declare class HoverElementsComponent implements OnInit {
8
8
  data: any;
9
9
  index: any;
10
10
  editOptions?: boolean;
11
+ isMerged: boolean;
11
12
  ngOnInit(): void;
12
13
  editSection(): void;
13
14
  restyleSection(): void;
@@ -18,5 +19,5 @@ export declare class HoverElementsComponent implements OnInit {
18
19
  addSection(position: "ABOVE" | "BELOW"): void;
19
20
  duplicateSection(): void;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<HoverElementsComponent, 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>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<HoverElementsComponent, "simpo-hover-elements", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "editOptions": { "alias": "editOptions"; "required": false; }; "isMerged": { "alias": "isMerged"; "required": false; }; }, { "edit": "edit"; }, never, never, true, never>;
22
23
  }
@@ -6,11 +6,12 @@ export declare class BackgroundDirective implements OnChanges {
6
6
  private el;
7
7
  private eventService;
8
8
  simpoBackground?: BackgroundModel;
9
+ scrollValue?: number;
9
10
  eventEmmitter: any;
10
11
  constructor(el: ElementRef, eventService: EventsService);
11
12
  ngOnDestroy(): void;
12
13
  ngOnChanges(change: SimpleChanges): void;
13
14
  getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; }, {}, never, never, true, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
16
17
  }
@@ -14,6 +14,7 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
14
14
  listItems: any;
15
15
  constructor(_eventService: EventsService);
16
16
  ngOnInit(): void;
17
+ get canMergeNavbar(): boolean | undefined;
17
18
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
18
19
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerGridSectionComponent, "simpo-banner-grid-section", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
19
20
  }
@@ -17,6 +17,7 @@ export interface BannerGridStylesModel extends StylesModel {
17
17
  image: ImageStyle;
18
18
  fullWidth: boolean;
19
19
  invertImage: boolean;
20
+ merge?: boolean;
20
21
  contentAlignment: AlignContent;
21
22
  positionLayout: PositionLayoutModal;
22
23
  }
@@ -16,6 +16,7 @@ export declare class BannerSectionComponent extends BaseSection implements OnIni
16
16
  ngOnInit(): void;
17
17
  get stylesLayout(): LayOutModel;
18
18
  get getJustifyContent(): string;
19
+ get canMergeNavbar(): boolean | undefined;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerSectionComponent, never>;
20
21
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerSectionComponent, "simpo-banner-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
21
22
  }
@@ -1,10 +1,13 @@
1
1
  import { EventsService } from '../../services/events.service';
2
2
  import { BlogListContentModel, BlogListSectionModel, BlogListStylesModel } from './blog-list.model';
3
3
  import { SPACING } from '../../directive/content-title-spacing.directive';
4
+ import BaseSection from '../BaseSection';
4
5
  import * as i0 from "@angular/core";
5
- export declare class BlogListComponent {
6
+ export declare class BlogListComponent extends BaseSection {
6
7
  private _eventService;
7
8
  responseData: any[];
9
+ index?: number;
10
+ edit?: boolean;
8
11
  data?: BlogListSectionModel;
9
12
  constructor(_eventService: EventsService);
10
13
  style?: BlogListStylesModel;
@@ -13,5 +16,5 @@ export declare class BlogListComponent {
13
16
  get headingSpace(): SPACING;
14
17
  getBlogById(blogId: any): void;
15
18
  static ɵfac: i0.ɵɵFactoryDeclaration<BlogListComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<BlogListComponent, "simpo-blog-list", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlogListComponent, "simpo-blog-list", never, { "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
17
20
  }
@@ -6,14 +6,17 @@ import * as i0 from "@angular/core";
6
6
  export declare class NavbarSectionComponent implements OnInit {
7
7
  private _eventService;
8
8
  data?: HeaderSectionModel;
9
+ nextComponent: any;
9
10
  index?: number;
10
11
  edit?: boolean;
11
12
  childContainer: any;
13
+ scrollValue: number;
12
14
  content?: HeaderContentModel;
13
15
  style?: HeaderStyleModel;
14
16
  action?: ActionModel;
15
17
  color: string;
16
18
  constructor(_eventService: EventsService);
19
+ onScroll(event: any): void;
17
20
  ngOnInit(): void;
18
21
  screenWidth: number;
19
22
  getScreenSize(event?: number): void;
@@ -22,7 +25,11 @@ export declare class NavbarSectionComponent implements OnInit {
22
25
  showEditors: boolean;
23
26
  showEditTabs(isShow: boolean): void;
24
27
  get isHeaderSticky(): boolean | undefined;
28
+ get backgroundInfo(): any;
29
+ get simpoColor(): any;
30
+ get isTransparent(): any;
25
31
  redirectTo(content: any): void;
32
+ get isComponentMerged(): any;
26
33
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarSectionComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<NavbarSectionComponent, "simpo-navbar-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavbarSectionComponent, "simpo-navbar-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
28
35
  }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ViewBlogComponent {
3
+ responseData: any;
4
+ ngOnInit(): void;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewBlogComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ViewBlogComponent, "simpo-view-blog", never, { "responseData": { "alias": "responseData"; "required": false; }; }, {}, never, never, true, never>;
7
+ }
@@ -121,6 +121,7 @@ export interface BannerStylesModel {
121
121
  devider: DeviderModel;
122
122
  image: ImageStyle;
123
123
  corners: Corners;
124
+ merge?: boolean;
124
125
  textSize: TextSize;
125
126
  }
126
127
  export interface InputTextModel {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "0.9.4",
3
+ "version": "0.9.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -21,6 +21,7 @@ export * from './lib/sections/location-section/location-section.component';
21
21
  export * from './lib/sections/header-text/header-text.component';
22
22
  export * from './lib/sections/recent-blog-post-section/recent-blog-post-section.component';
23
23
  export * from './lib/sections/blog-list/blog-list.component';
24
+ export * from './lib/sections/view-blog/view-blog.component';
24
25
  export * from './lib/services/events.service';
25
26
  export * from './lib/directive/animation-directive';
26
27
  export * from './lib/directive/background-directive';
Binary file