simpo-component-library 0.1.4 → 0.1.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.
- package/README.md +24 -24
- package/esm2022/lib/directive/button-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/column-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/container-fir.directive.mjs +1 -1
- package/esm2022/lib/directive/corner-directive.mjs +1 -1
- package/esm2022/lib/directive/image-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/position-layout-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/text-background-directive.directive.mjs +1 -1
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
- package/esm2022/lib/elements/button/button.component.mjs +3 -3
- package/esm2022/lib/elements/button/button.model.mjs +1 -1
- package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
- package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
- package/esm2022/lib/elements/index.mjs +1 -1
- package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +26 -0
- package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
- package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +18 -4
- package/esm2022/lib/elements/text/text.component.mjs +3 -3
- package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +10 -8
- package/esm2022/lib/sections/banner-section/banner-section.model.mjs +1 -1
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +11 -9
- package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
- package/esm2022/lib/sections/footer-section/footer-section.component.mjs +11 -9
- package/esm2022/lib/sections/footer-section/footer-section.modal.mjs +1 -1
- package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +13 -9
- package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
- package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
- package/esm2022/lib/sections/image-section/image-section.component.mjs +10 -8
- package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +29 -9
- package/esm2022/lib/sections/navbar-section/navbar-section.model.mjs +1 -1
- package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
- package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
- package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
- package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +10 -8
- package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
- package/esm2022/lib/sections/text-image-section/text-image-section.model.mjs +1 -1
- package/esm2022/lib/sections/text-section/text-section.component.mjs +11 -9
- package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
- package/esm2022/lib/sections/video-section/video-section.component.mjs +10 -8
- package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
- package/esm2022/lib/styles/index.mjs +9 -1
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/esm2022/lib/styles/types.mjs +1 -1
- package/esm2022/public-api.mjs +1 -28
- package/fesm2022/simpo-component-library.mjs +143 -75
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/elements/navbar-button-element/navbar-button-element.component.d.ts +13 -0
- package/lib/elements/socia-icons/socia-icons.component.d.ts +2 -0
- package/lib/sections/banner-section/banner-section.component.d.ts +3 -1
- package/lib/sections/banner-section/banner-section.model.d.ts +1 -1
- package/lib/sections/faq-section/faq-section.component.d.ts +3 -0
- package/lib/sections/faq-section/faq-section.modal.d.ts +1 -1
- package/lib/sections/footer-section/footer-section.component.d.ts +3 -1
- package/lib/sections/footer-section/footer-section.modal.d.ts +3 -3
- package/lib/sections/image-carousel-section/image-carousel-section.component.d.ts +3 -1
- package/lib/sections/image-carousel-section/image-carousel.model.d.ts +3 -3
- package/lib/sections/image-grid-section/image-grid-section.model.d.ts +3 -3
- package/lib/sections/image-section/image-section.component.d.ts +3 -0
- package/lib/sections/image-section/image-section.model.d.ts +2 -2
- package/lib/sections/navbar-section/navbar-section.component.d.ts +5 -1
- package/lib/sections/navbar-section/navbar-section.model.d.ts +8 -1
- package/lib/sections/service-section/service-section.model.d.ts +1 -1
- package/lib/sections/team-member-section/team-member-section.model.d.ts +1 -1
- package/lib/sections/testimonial-section/testimonial-section.component.d.ts +3 -0
- package/lib/sections/testimonial-section/testimonial-section.model.d.ts +1 -1
- package/lib/sections/text-image-section/text-image-section.model.d.ts +1 -1
- package/lib/sections/text-section/text-section.component.d.ts +3 -1
- package/lib/sections/text-section/text-section.model.d.ts +1 -1
- package/lib/sections/video-section/video-section.component.d.ts +3 -1
- package/lib/sections/video-section/video-section.model.d.ts +1 -1
- package/lib/styles/index.d.ts +7 -0
- package/lib/styles/style.model.d.ts +17 -0
- package/package.json +1 -1
- package/public-api.d.ts +0 -25
- package/simpo-component-library-0.1.6.tgz +0 -0
- package/simpo-component-library-0.1.4.tgz +0 -0
|
@@ -10,7 +10,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
|
10
10
|
constructor(el: ElementRef, eventService: EventsService);
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
ngOnChanges(change: SimpleChanges): void;
|
|
13
|
-
getTextColor(bgColor: string): "#
|
|
13
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
|
15
15
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -14,7 +14,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
|
14
14
|
applyButtonStyleChanges(): void;
|
|
15
15
|
applyButtonType(style: ButtonStyleModel, color: string): void;
|
|
16
16
|
applyButtonShape(style: ButtonStyleModel): void;
|
|
17
|
-
getTextColor(bgColor: string): "#
|
|
17
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
18
18
|
buttonStyleSubscription?: Subscription;
|
|
19
19
|
buttonStyleChangeCheck(): void;
|
|
20
20
|
changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { HeaderButtonModel } from './../../styles/style.model';
|
|
3
|
+
import { HeaderButtonStyle } from './../../styles/index';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NavbarButtonElementComponent implements OnInit {
|
|
6
|
+
buttonData?: HeaderButtonModel;
|
|
7
|
+
style?: any;
|
|
8
|
+
buttonStyle: typeof HeaderButtonStyle;
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarButtonElementComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarButtonElementComponent, "simpo-navbar-button-element", never, { "buttonData": { "alias": "buttonData"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -5,6 +5,8 @@ export declare class SociaIconsComponent implements OnInit {
|
|
|
5
5
|
color: any;
|
|
6
6
|
constructor();
|
|
7
7
|
ngOnInit(): void;
|
|
8
|
+
screenWidth: number;
|
|
9
|
+
getScreenSize(event?: number): void;
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SociaIconsComponent, never>;
|
|
9
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<SociaIconsComponent, "simpo-socia-icons", never, { "socialIconData": { "alias": "socialIconData"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
12
|
}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { BannerContentModel, BannerSectionModel } from './banner-section.model';
|
|
3
3
|
import { BannerStylesModel } from '../../styles/style.model';
|
|
4
|
+
import { EventsService } from './../../services/events.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class BannerSectionComponent implements OnInit {
|
|
7
|
+
private _eventService;
|
|
6
8
|
data?: BannerSectionModel;
|
|
7
9
|
index?: number;
|
|
8
10
|
content?: BannerContentModel;
|
|
9
11
|
styles?: BannerStylesModel;
|
|
10
|
-
constructor();
|
|
12
|
+
constructor(_eventService: EventsService);
|
|
11
13
|
ngOnInit(): void;
|
|
12
14
|
showEditors: boolean;
|
|
13
15
|
showEditTabs(isShow: boolean): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionModel, BannerStylesModel, Image, InputTextModel } from '
|
|
1
|
+
import { ActionModel, BannerStylesModel, Image, InputTextModel } from './../../styles/style.model';
|
|
2
2
|
export interface BannerSectionModel {
|
|
3
3
|
id: string;
|
|
4
4
|
sectionType: string;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { FAQContentModal, FAQSectionModal, FAQStylesModel } from './faq-section.modal';
|
|
2
|
+
import { EventsService } from './../../services/events.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class FaqSectionComponent {
|
|
5
|
+
private _eventService;
|
|
4
6
|
data?: FAQSectionModal;
|
|
5
7
|
index?: number;
|
|
6
8
|
content?: FAQContentModal;
|
|
7
9
|
style?: FAQStylesModel;
|
|
10
|
+
constructor(_eventService: EventsService);
|
|
8
11
|
ngOnInit(): void;
|
|
9
12
|
showEditors: boolean;
|
|
10
13
|
showEditTabs(isShow: boolean): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonStyleModel, InputTextModel, ListItemModal, StylesModel } from '
|
|
1
|
+
import { ButtonStyleModel, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
|
|
2
2
|
export interface FAQSectionModal {
|
|
3
3
|
id: string;
|
|
4
4
|
sectionType: string;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FooterContentModel, FooterSectionModel, FooterStylesModel } from './footer-section.modal';
|
|
3
3
|
import { FooterTypes } from '../../styles/index';
|
|
4
|
+
import { EventsService } from './../../services/events.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class FooterSectionComponent implements OnInit {
|
|
7
|
+
private _eventService;
|
|
6
8
|
data?: FooterSectionModel;
|
|
7
9
|
index?: number;
|
|
8
10
|
content?: FooterContentModel;
|
|
9
11
|
style?: FooterStylesModel;
|
|
10
12
|
color: any;
|
|
11
13
|
footerTypes: typeof FooterTypes;
|
|
12
|
-
constructor();
|
|
14
|
+
constructor(_eventService: EventsService);
|
|
13
15
|
ngOnInit(): void;
|
|
14
16
|
showEditors: boolean;
|
|
15
17
|
showEditTabs(isShow: any): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChannelType, FooterTypes } from "
|
|
2
|
-
import { ActionModel, BackgroundModel, InputTextModel, SpacingModel } from "
|
|
3
|
-
import { FOOTER_IMAGE_SOURCE, SOCIAL_ICON_SHAPE, SOCIAL_ICON_SIZE, SOCIAL_ICON_TYPE } from "
|
|
1
|
+
import { ChannelType, FooterTypes } from "./../../styles/index";
|
|
2
|
+
import { ActionModel, BackgroundModel, InputTextModel, SpacingModel } from "./../../styles/style.model";
|
|
3
|
+
import { FOOTER_IMAGE_SOURCE, SOCIAL_ICON_SHAPE, SOCIAL_ICON_SIZE, SOCIAL_ICON_TYPE } from "./../../styles/types";
|
|
4
4
|
export interface FooterSectionModel {
|
|
5
5
|
id: string;
|
|
6
6
|
sectionType: string;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ImageCarouselSection, ImageCarouselSectionContentModel, ImageCarouselSectionStylesModel } from './image-carousel.model';
|
|
2
|
+
import { EventsService } from './../../services/events.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ImageCarouselSectionComponent {
|
|
5
|
+
private _eventService;
|
|
4
6
|
data?: ImageCarouselSection;
|
|
5
7
|
index?: number;
|
|
6
8
|
content?: ImageCarouselSectionContentModel;
|
|
7
9
|
style?: ImageCarouselSectionStylesModel;
|
|
8
|
-
constructor();
|
|
10
|
+
constructor(_eventService: EventsService);
|
|
9
11
|
ngOnInit(): void;
|
|
10
12
|
screenWidth: number;
|
|
11
13
|
getScreenSize(event?: number): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Corners } from '
|
|
2
|
-
import { Image, ImageStyle, InputTextModel, ListItemModal, StylesModel } from '
|
|
3
|
-
import { CARD_SIZE } from '
|
|
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
4
|
export interface ImageCarouselSection {
|
|
5
5
|
id: string;
|
|
6
6
|
sectionType: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Corners } from "
|
|
2
|
-
import { Image, ImageStyle, InputTextModel, ListItemModal, StylesModel } from "
|
|
3
|
-
import { CARD_SIZE } from "
|
|
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
4
|
export interface ImageGridSectionModel {
|
|
5
5
|
id: string;
|
|
6
6
|
sectionType: string;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { ImageContentModal, imageSectionModel, imageSectionStylesModel } from './image-section.model';
|
|
3
|
+
import { EventsService } from './../../services/events.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ImageSectionComponent {
|
|
6
|
+
private _eventService;
|
|
5
7
|
data?: imageSectionModel;
|
|
6
8
|
index?: number;
|
|
7
9
|
_mainContainer: ElementRef | null;
|
|
8
10
|
content?: ImageContentModal;
|
|
9
11
|
style?: imageSectionStylesModel;
|
|
12
|
+
constructor(_eventService: EventsService);
|
|
10
13
|
ngOnInit(): void;
|
|
11
14
|
showEditors: boolean;
|
|
12
15
|
showEditTabs(isShow: boolean): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Image, InputTextModel, StylesModel } from "
|
|
2
|
-
import { Corners } from "
|
|
1
|
+
import { Image, InputTextModel, StylesModel } from "./../../styles/style.model";
|
|
2
|
+
import { Corners } from "./../../styles/index";
|
|
3
3
|
export interface imageSectionModel {
|
|
4
4
|
id: string;
|
|
5
5
|
sectionType: string;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { HeaderContentModel, HeaderSectionModel, HeaderStyleModel } from './navbar-section.model';
|
|
3
|
+
import { EventsService } from './../../services/events.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class NavbarSectionComponent implements OnInit {
|
|
6
|
+
private _eventService;
|
|
5
7
|
data?: HeaderSectionModel;
|
|
6
8
|
index?: number;
|
|
7
9
|
content?: HeaderContentModel;
|
|
8
10
|
style?: HeaderStyleModel;
|
|
9
11
|
color: string;
|
|
10
|
-
constructor();
|
|
12
|
+
constructor(_eventService: EventsService);
|
|
11
13
|
ngOnInit(): void;
|
|
12
14
|
screenWidth: number;
|
|
15
|
+
getScreenSize(event?: number): void;
|
|
16
|
+
close(): void;
|
|
13
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarSectionComponent, never>;
|
|
14
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarSectionComponent, "simpo-navbar-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
19
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HeaderButtonStyle } from "./../../styles/index";
|
|
2
|
+
import { BackgroundModel, ButtonModel, HeaderButtonModel, InputTextModel } from "../../styles/style.model";
|
|
2
3
|
import { FooterLayoutModel, FooterLogoModel, FooterSocialChannelModel } from "../footer-section/footer-section.modal";
|
|
3
4
|
export interface HeaderSectionModel {
|
|
4
5
|
id: string;
|
|
@@ -14,8 +15,14 @@ export interface HeaderContentModel {
|
|
|
14
15
|
buttons: ButtonModel[];
|
|
15
16
|
isSocialLink: boolean;
|
|
16
17
|
socialLinks: FooterSocialChannelModel[];
|
|
18
|
+
navbarButtons: HeaderButtonModel[];
|
|
17
19
|
}
|
|
18
20
|
export interface HeaderStyleModel {
|
|
19
21
|
layout: FooterLayoutModel;
|
|
20
22
|
background: BackgroundModel;
|
|
23
|
+
navigationStyle: NavigationStyle;
|
|
24
|
+
}
|
|
25
|
+
export interface NavigationStyle {
|
|
26
|
+
label: string;
|
|
27
|
+
type: HeaderButtonStyle;
|
|
21
28
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionModel, Button, CardStyles, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel } from '
|
|
1
|
+
import { ActionModel, Button, CardStyles, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
|
|
2
2
|
export interface ServiceSectionModal {
|
|
3
3
|
id: string;
|
|
4
4
|
sectionType: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionModel, Button, CardStyles, DisplaySection, Image, InputTextModel, ListItemModal, StylesModel } from '
|
|
1
|
+
import { ActionModel, Button, CardStyles, DisplaySection, Image, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
|
|
2
2
|
export interface TeamMemberSectionModal {
|
|
3
3
|
id: string;
|
|
4
4
|
sectionType: string;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { testimonialContentModel, testimonialSectionModel, testimonialStylesModel } from './testimonial-section.model';
|
|
3
|
+
import { EventsService } from './../../services/events.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TestimonialSectionComponent {
|
|
6
|
+
private _eventService;
|
|
5
7
|
data?: testimonialSectionModel;
|
|
6
8
|
index?: number;
|
|
7
9
|
_mainContainer: ElementRef | null;
|
|
8
10
|
content?: testimonialContentModel;
|
|
9
11
|
style?: testimonialStylesModel;
|
|
12
|
+
constructor(_eventService: EventsService);
|
|
10
13
|
ngOnInit(): void;
|
|
11
14
|
showEditors: boolean;
|
|
12
15
|
showEditTabs(isShow: boolean): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Image, InputTextModel, ListItemModal, StylesModel } from "
|
|
1
|
+
import { Image, InputTextModel, ListItemModal, StylesModel } from "./../../styles/style.model";
|
|
2
2
|
export interface testimonialSectionModel {
|
|
3
3
|
id: string;
|
|
4
4
|
sectionType: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionModel, BannerStylesModel, Image, InputTextModel } from '
|
|
1
|
+
import { ActionModel, BannerStylesModel, Image, InputTextModel } from './../../styles/style.model';
|
|
2
2
|
export interface TextImageSectionModel {
|
|
3
3
|
id: string;
|
|
4
4
|
sectionType: string;
|
|
@@ -2,15 +2,17 @@ import { ElementRef, OnInit } from '@angular/core';
|
|
|
2
2
|
import { TextContentModel, TextSectionModel } from './text-section.model';
|
|
3
3
|
import { StylesModel } from '../../styles/style.model';
|
|
4
4
|
import { MatDialog } from '@angular/material/dialog';
|
|
5
|
+
import { EventsService } from './../../services/events.service';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class TextSectionComponent implements OnInit {
|
|
7
8
|
private _dialog;
|
|
9
|
+
private _eventService;
|
|
8
10
|
data?: TextSectionModel;
|
|
9
11
|
index?: number;
|
|
10
12
|
_mainContainer: ElementRef | null;
|
|
11
13
|
content: TextContentModel | undefined;
|
|
12
14
|
styles: StylesModel | undefined;
|
|
13
|
-
constructor(_dialog: MatDialog);
|
|
15
|
+
constructor(_dialog: MatDialog, _eventService: EventsService);
|
|
14
16
|
ngOnInit(): void;
|
|
15
17
|
showEditors: boolean;
|
|
16
18
|
showEditTabs(isShow: boolean): void;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { videoSectionContentModel, videoSectionModel, videoSectionStyleModel } from './video-section.model';
|
|
3
3
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
+
import { EventsService } from './../../services/events.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class VideoSectionComponent {
|
|
6
7
|
dom: DomSanitizer;
|
|
7
|
-
|
|
8
|
+
private _eventService;
|
|
9
|
+
constructor(dom: DomSanitizer, _eventService: EventsService);
|
|
8
10
|
data?: videoSectionModel;
|
|
9
11
|
index?: number;
|
|
10
12
|
_mainContainer: ElementRef | null;
|
package/lib/styles/index.d.ts
CHANGED
|
@@ -121,3 +121,10 @@ export declare enum FooterTypes {
|
|
|
121
121
|
SIMPLE_DETAILS_RIGHT = "Simple Details Right",
|
|
122
122
|
SIMPLE_DETAILS_CENTER = "Simple Details Center"
|
|
123
123
|
}
|
|
124
|
+
export declare enum HeaderButtonStyle {
|
|
125
|
+
TAB = "Tab",
|
|
126
|
+
ROUND_SUBTLE = "Round subtle",
|
|
127
|
+
ROUND_BOLD = "Round bold",
|
|
128
|
+
SQUARE_SUBTLE = "Square subtle",
|
|
129
|
+
SQUARE_BOLD = "Square bold"
|
|
130
|
+
}
|
|
@@ -72,6 +72,13 @@ export interface Button {
|
|
|
72
72
|
redirectionUrl: string;
|
|
73
73
|
newTab: boolean;
|
|
74
74
|
}
|
|
75
|
+
export interface NavbarButton {
|
|
76
|
+
linkType: RedirectionLinkType;
|
|
77
|
+
label: string;
|
|
78
|
+
redirectionUrl: string;
|
|
79
|
+
newTab: boolean;
|
|
80
|
+
status: boolean;
|
|
81
|
+
}
|
|
75
82
|
export interface ListItemModal<T> {
|
|
76
83
|
label: string;
|
|
77
84
|
data: T[];
|
|
@@ -121,6 +128,11 @@ export interface ButtonStyleModel {
|
|
|
121
128
|
type: BUTTON_TYPE;
|
|
122
129
|
shape: BUTTON_SHAPE;
|
|
123
130
|
}
|
|
131
|
+
export interface HeaderButtonStyleModel {
|
|
132
|
+
color: string;
|
|
133
|
+
backgroundColor: string;
|
|
134
|
+
subtleColor: string;
|
|
135
|
+
}
|
|
124
136
|
export interface ActionModel {
|
|
125
137
|
display: boolean;
|
|
126
138
|
buttons: ButtonModel[];
|
|
@@ -130,3 +142,8 @@ export interface ButtonModel {
|
|
|
130
142
|
content: Button;
|
|
131
143
|
styles: ButtonStyleModel;
|
|
132
144
|
}
|
|
145
|
+
export interface HeaderButtonModel {
|
|
146
|
+
id: string;
|
|
147
|
+
content: NavbarButton;
|
|
148
|
+
styles: HeaderButtonStyleModel;
|
|
149
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -11,28 +11,3 @@ 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/directive/animation-directive';
|
|
15
|
-
export * from './lib/directive/background-directive';
|
|
16
|
-
export * from './lib/directive/banner-content-fit-directive';
|
|
17
|
-
export * from './lib/directive/border-directive';
|
|
18
|
-
export * from './lib/directive/button-directive.directive';
|
|
19
|
-
export * from './lib/directive/column-directive.directive';
|
|
20
|
-
export * from './lib/directive/container-fir.directive';
|
|
21
|
-
export * from './lib/directive/content-alignment-directive';
|
|
22
|
-
export * from './lib/directive/content-fit-directive';
|
|
23
|
-
export * from './lib/directive/corner-directive';
|
|
24
|
-
export * from './lib/directive/footer-layout-directive';
|
|
25
|
-
export * from './lib/directive/hover-element-directive';
|
|
26
|
-
export * from './lib/directive/image-directive.directive';
|
|
27
|
-
export * from './lib/directive/overlay-directive';
|
|
28
|
-
export * from './lib/directive/position-layout-directive.directive';
|
|
29
|
-
export * from './lib/directive/text-background-directive.directive';
|
|
30
|
-
export * from './lib/elements/below-image-card/below-image-card.component';
|
|
31
|
-
export * from './lib/elements/button/button.component';
|
|
32
|
-
export * from './lib/elements/covering-image-card/covering-image-card.component';
|
|
33
|
-
export * from './lib/elements/heading-element/heading-element.component';
|
|
34
|
-
export * from './lib/elements/simpo-button/simpo-button.component';
|
|
35
|
-
export * from './lib/elements/socia-icons/socia-icons.component';
|
|
36
|
-
export * from './lib/elements/text/text.component';
|
|
37
|
-
export * from './lib/elements/top-of-image-card/top-of-image-card.component';
|
|
38
|
-
export * from './lib/styles/index';
|
|
Binary file
|
|
Binary file
|