simpo-component-library 1.0.6 → 1.0.7
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/esm2022/lib/directive/blur-content.directive.mjs +29 -0
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +128 -0
- package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +2 -0
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
- package/esm2022/lib/sections/banner-section/banner-section.model.mjs +1 -1
- package/esm2022/lib/sections/features-section/features-section.component.mjs +14 -4
- package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
- package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
- package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
- package/esm2022/lib/styles/index.mjs +9 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/simpo-component-library.mjs +150 -11
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/blur-content.directive.d.ts +13 -0
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +30 -0
- package/lib/sections/banner-carousel/banner-carousel.model.d.ts +26 -0
- package/lib/sections/banner-section/banner-section.model.d.ts +5 -1
- package/lib/sections/features-section/features-section.component.d.ts +2 -0
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/styles/index.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/simpo-component-library-1.0.7.tgz +0 -0
- package/simpo-component-library-1.0.6.tgz +0 -0
|
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
|
11
11
|
constructor(el: ElementRef, eventService: EventsService);
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
ngOnChanges(change: SimpleChanges): void;
|
|
14
|
-
getTextColor(bgColor: string): "#
|
|
14
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { OverlayValue } from "../styles/index";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SimpoBlurContentDirective implements OnChanges, OnInit, OnDestroy {
|
|
5
|
+
private el;
|
|
6
|
+
simpoBlurContent?: keyof typeof OverlayValue;
|
|
7
|
+
constructor(el: ElementRef);
|
|
8
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpoBlurContentDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SimpoBlurContentDirective, "[simpoBlurContent]", never, { "simpoBlurContent": { "alias": "simpoBlurContent"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
|
15
15
|
applyButtonStyleChanges(): void;
|
|
16
16
|
applyButtonType(style: ButtonStyleModel, color: string): void;
|
|
17
17
|
applyButtonShape(style: ButtonStyleModel): void;
|
|
18
|
-
getTextColor(bgColor: string): "#
|
|
18
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
19
19
|
buttonStyleSubscription?: Subscription;
|
|
20
20
|
buttonStyleChangeCheck(): void;
|
|
21
21
|
changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
|
|
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
|
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
applyColor(): void;
|
|
14
14
|
bgColorChangeCheck(): void;
|
|
15
|
-
getTextColor(): "#
|
|
15
|
+
getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
|
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OnInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { ActionModel, BackgroundModel, LayOutModel } from '../../styles/style.model';
|
|
3
|
+
import BaseSection from '../BaseSection';
|
|
4
|
+
import { EventsService } from './../../services/events.service';
|
|
5
|
+
import { BannerCarouselContentModel, BannerCarouselModel, BannerCarouselStylesModel } from './banner-carousel.model';
|
|
6
|
+
import { OverlayValue } from "../../styles/index";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class BannerCarouselComponent extends BaseSection implements OnInit {
|
|
9
|
+
private _eventService;
|
|
10
|
+
data?: BannerCarouselModel;
|
|
11
|
+
index?: number;
|
|
12
|
+
edit?: boolean;
|
|
13
|
+
delete?: boolean;
|
|
14
|
+
id: string;
|
|
15
|
+
action: ActionModel;
|
|
16
|
+
content?: BannerCarouselContentModel;
|
|
17
|
+
styles?: BannerCarouselStylesModel;
|
|
18
|
+
_mainContainer: ElementRef | null;
|
|
19
|
+
currentIndex: number;
|
|
20
|
+
selectSlide(index: number): void;
|
|
21
|
+
constructor(_eventService: EventsService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
get stylesLayout(): LayOutModel;
|
|
24
|
+
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
|
25
|
+
get getBackgroundColor(): BackgroundModel;
|
|
26
|
+
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
|
27
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Corners, OverlayValue } from '../../styles/index';
|
|
2
|
+
import { ActionModel, Image, InputTextModel, ListItemModal, StylesModel } from '../../styles/style.model';
|
|
3
|
+
export interface BannerCarouselModel {
|
|
4
|
+
id: string;
|
|
5
|
+
sectionType: string;
|
|
6
|
+
sectionName: string;
|
|
7
|
+
content: BannerCarouselContentModel;
|
|
8
|
+
styles: BannerCarouselStylesModel;
|
|
9
|
+
action: ActionModel;
|
|
10
|
+
}
|
|
11
|
+
export interface BannerCarouselContentModel {
|
|
12
|
+
inputText: [InputTextModel];
|
|
13
|
+
listItem: ListItemModal<BannerCarouselItemModel>;
|
|
14
|
+
}
|
|
15
|
+
export interface BannerCarouselItemModel {
|
|
16
|
+
label: string;
|
|
17
|
+
image: Image;
|
|
18
|
+
}
|
|
19
|
+
export interface textModel {
|
|
20
|
+
value: string;
|
|
21
|
+
}
|
|
22
|
+
export interface BannerCarouselStylesModel extends StylesModel {
|
|
23
|
+
corners: Corners;
|
|
24
|
+
blur: keyof typeof OverlayValue;
|
|
25
|
+
overlay: OverlayValue;
|
|
26
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionModel, BannerStylesModel, Image, InputTextModel } from './../../styles/style.model';
|
|
1
|
+
import { ActionModel, BannerStylesModel, Image, InputTextModel, ListItemModal } from './../../styles/style.model';
|
|
2
2
|
export interface BannerSectionModel {
|
|
3
3
|
id: string;
|
|
4
4
|
sectionType: string;
|
|
@@ -16,4 +16,8 @@ export interface textModel {
|
|
|
16
16
|
export interface BannerContentModel {
|
|
17
17
|
inputText: InputTextModel[];
|
|
18
18
|
image: ImageModel;
|
|
19
|
+
listItem: ListItemModal<BannerListItem>;
|
|
20
|
+
}
|
|
21
|
+
export interface BannerListItem {
|
|
22
|
+
inputText: InputTextModel[];
|
|
19
23
|
}
|
|
@@ -14,6 +14,8 @@ export declare class FeaturesSectionComponent extends BaseSection implements OnI
|
|
|
14
14
|
listItems: any;
|
|
15
15
|
constructor(_eventService: EventsService);
|
|
16
16
|
ngOnInit(): void;
|
|
17
|
+
screenWidth: number;
|
|
18
|
+
getScreenSize(event?: any): void;
|
|
17
19
|
selectedTabIndex: number;
|
|
18
20
|
currentData?: FeatureItemModel;
|
|
19
21
|
changetab(index: number): void;
|
|
@@ -15,7 +15,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
|
15
15
|
style?: PricingSectionStylesModel;
|
|
16
16
|
constructor(_eventService: EventsService);
|
|
17
17
|
ngOnInit(): void;
|
|
18
|
-
getTextColor(): "#
|
|
18
|
+
getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
|
|
19
19
|
get headingSpace(): SPACING;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
|
21
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-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>;
|
package/lib/styles/index.d.ts
CHANGED
|
@@ -161,6 +161,13 @@ export declare enum ChannelType {
|
|
|
161
161
|
TELEGRAM = "Telegram",
|
|
162
162
|
THREADS = "Threads"
|
|
163
163
|
}
|
|
164
|
+
export declare enum OverlayValue {
|
|
165
|
+
NONE = "0px",
|
|
166
|
+
LIGHT = "2px",
|
|
167
|
+
MODERATE = "4px",
|
|
168
|
+
STRONG = "8px",
|
|
169
|
+
VERY_STRONG = "16px"
|
|
170
|
+
}
|
|
164
171
|
export declare enum FooterTypes {
|
|
165
172
|
SPLIT_DETAILS_RIGHT = "Split Details Right",
|
|
166
173
|
SPLIT_DETAILS_LEFT = "Split Details Left",
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from './lib/sections/process-modern/process-modern.component';
|
|
|
27
27
|
export * from './lib/sections/features-section/features-section.component';
|
|
28
28
|
export * from './lib/sections/testimonial-fullwidth/testimonial-fullwidth.component';
|
|
29
29
|
export * from './lib/sections/logo-showcase/logo-showcase.component';
|
|
30
|
+
export * from './lib/sections/banner-carousel/banner-carousel.component';
|
|
30
31
|
export * from './lib/services/events.service';
|
|
31
32
|
export * from './lib/directive/animation-directive';
|
|
32
33
|
export * from './lib/directive/background-directive';
|
|
Binary file
|
|
Binary file
|