simpo-component-library 2.1.55 → 2.1.58
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/directive/spacing-around.directive.mjs +67 -0
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
- package/esm2022/lib/elements/index.mjs +5 -4
- package/esm2022/lib/elements/property/property.component.mjs +39 -0
- package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +2 -2
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +7 -5
- package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +9 -4
- package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -3
- package/esm2022/lib/sections/footer-section/footer-section.component.mjs +6 -7
- package/esm2022/lib/sections/logo-gallery/logo-gallery.component.mjs +16 -7
- package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +3 -3
- package/esm2022/lib/sections/text-section/text-section.component.mjs +3 -3
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/simpo-component-library.mjs +140 -28
- 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/directive/color.directive.d.ts +1 -1
- package/lib/directive/spacing-around.directive.d.ts +18 -0
- package/lib/elements/index.d.ts +2 -1
- package/lib/elements/property/property.component.d.ts +6 -0
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/sections/choose-us-section/choose-us-section.component.d.ts +2 -1
- package/lib/sections/choose-us-section/choose-us-section.model.d.ts +2 -1
- package/lib/sections/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/logo-gallery/logo-gallery.component.d.ts +4 -2
- package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
- package/lib/sections/navbar-section/navbar-section.component.d.ts +2 -2
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/styles/style.model.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/simpo-component-library-2.1.58.tgz +0 -0
- package/simpo-component-library-2.1.55.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
|
}
|
@@ -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,18 @@
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import { LayOutModel } from '../styles/style.model';
|
3
|
+
import { Subscription } from 'rxjs';
|
4
|
+
import { EventsService } from '../services/events.service';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class SpacingAroundDirective {
|
7
|
+
private el;
|
8
|
+
private eventService;
|
9
|
+
layout?: LayOutModel;
|
10
|
+
constructor(el: ElementRef, eventService: EventsService);
|
11
|
+
ngOnChanges(): void;
|
12
|
+
ngOnDestroy(): void;
|
13
|
+
changeAroundSpacing(): void;
|
14
|
+
positionLayoutSubscription?: Subscription;
|
15
|
+
positionLayoutChangeCheck(): void;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpacingAroundDirective, never>;
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpacingAroundDirective, "[spacingAround]", never, { "layout": { "alias": "spacingAround"; "required": false; }; }, {}, never, never, true, never>;
|
18
|
+
}
|
package/lib/elements/index.d.ts
CHANGED
@@ -9,8 +9,9 @@ import * as i7 from "./simpo-button/simpo-button.component";
|
|
9
9
|
import * as i8 from "./socia-icons/socia-icons.component";
|
10
10
|
import * as i9 from "./card-skeleton-loader/card-skeleton-loader.component";
|
11
11
|
import * as i10 from "./svg-divider/svg-divider.component";
|
12
|
+
import * as i11 from "./property/property.component";
|
12
13
|
export declare class SimpoElementsModule {
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimpoElementsModule, never>;
|
14
|
-
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 i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent, typeof i10.SvgDividerComponent], [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent, typeof i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent, typeof i10.SvgDividerComponent]>;
|
15
|
+
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 i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent, typeof i10.SvgDividerComponent, typeof i11.PropertyComponent], [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent, typeof i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent, typeof i10.SvgDividerComponent, typeof i11.PropertyComponent]>;
|
15
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<SimpoElementsModule>;
|
16
17
|
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class PropertyComponent {
|
3
|
+
obj: any;
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyComponent, never>;
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PropertyComponent, "simpo-property", never, {}, {}, never, never, true, never>;
|
6
|
+
}
|
@@ -25,8 +25,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
25
25
|
get stylesLayout(): LayOutModel;
|
26
26
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
27
27
|
get getBackgroundColor(): BackgroundModel;
|
28
|
-
get getBackgroundOpacity(): "0" | "0.
|
29
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
28
|
+
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
29
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
30
30
|
editSection(): void;
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
|
32
32
|
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; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -25,7 +25,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
|
|
25
25
|
get canMergeNavbar(): boolean | undefined;
|
26
26
|
get isBorderlessImage(): boolean | undefined;
|
27
27
|
get getPositionLayout(): PositionLayoutModal;
|
28
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
28
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
29
29
|
editSection(): void;
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
|
31
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
|
|
2
2
|
import BaseSection from '../BaseSection';
|
3
3
|
import { EventsService } from './../../services/events.service';
|
4
4
|
import { ChooseUsContentModal, ChooseUsStylesModel, ContactUsSectionModal } from './choose-us-section.model';
|
5
|
-
import { BackgroundModel } from '../../styles/style.model';
|
5
|
+
import { BackgroundModel, LayOutModel } from '../../styles/style.model';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
export declare class ChooseUsSectionComponent extends BaseSection implements OnInit {
|
8
8
|
private _eventService;
|
@@ -16,6 +16,7 @@ export declare class ChooseUsSectionComponent extends BaseSection implements OnI
|
|
16
16
|
styles?: ChooseUsStylesModel;
|
17
17
|
constructor(_eventService: EventsService);
|
18
18
|
ngOnInit(): void;
|
19
|
+
get stylesLayout(): LayOutModel;
|
19
20
|
editSection(): void;
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChooseUsSectionComponent, never>;
|
21
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<ChooseUsSectionComponent, "simpo-choose-us-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CardStyles, InputTextModel, ListItemModal, StylesModel, PositionLayoutModal } from './../../styles/style.model';
|
1
|
+
import { CardStyles, InputTextModel, ListItemModal, StylesModel, PositionLayoutModal, DisplaySection } from './../../styles/style.model';
|
2
2
|
import { AlignContent } from '../../styles/index';
|
3
3
|
export interface ContactUsSectionModal {
|
4
4
|
id: string;
|
@@ -9,6 +9,7 @@ export interface ContactUsSectionModal {
|
|
9
9
|
}
|
10
10
|
export interface ChooseUsContentModal {
|
11
11
|
inputText: InputTextModel[];
|
12
|
+
display: DisplaySection;
|
12
13
|
listItem: ListItemModal<ServiceItemModal>;
|
13
14
|
}
|
14
15
|
export interface ChooseUsStylesModel extends StylesModel, CardStyles {
|
@@ -20,8 +20,8 @@ export declare class ImageSectionComponent extends BaseSection {
|
|
20
20
|
constructor(_eventService: EventsService);
|
21
21
|
ngOnInit(): void;
|
22
22
|
get canMergeNavbar(): boolean | undefined;
|
23
|
-
get getBackgroundOpacity(): "
|
24
|
-
opacityValue(value: OverlayValue): "
|
23
|
+
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
|
24
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
|
25
25
|
editSection(): void;
|
26
26
|
redirectTo(): void;
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
|
@@ -8,18 +8,20 @@ export declare class LogoGalleryComponent extends BaseSection {
|
|
8
8
|
private _eventService;
|
9
9
|
data?: LogoGallerySectionMOdal;
|
10
10
|
index?: number;
|
11
|
+
edit?: boolean;
|
11
12
|
customClass?: string;
|
12
13
|
nextComponentColor?: BackgroundModel;
|
13
|
-
edit?: boolean;
|
14
14
|
delete?: boolean;
|
15
15
|
content?: LogoGalleryContentModal;
|
16
16
|
style?: LogoGalleryStylesModel;
|
17
17
|
constructor(_eventService: EventsService);
|
18
|
+
screenWidth: any;
|
19
|
+
getScreenSize(): void;
|
18
20
|
ngOnInit(): void;
|
19
21
|
get headingSpace(): SPACING;
|
20
22
|
isEvenRow(index: number): boolean;
|
21
23
|
editSection(): void;
|
22
24
|
stopPropagation(event: any): void;
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<LogoGalleryComponent, never>;
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LogoGalleryComponent, "simpo-logo-gallery", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LogoGalleryComponent, "simpo-logo-gallery", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
25
27
|
}
|
@@ -23,7 +23,7 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
|
|
23
23
|
constructor(_eventService: EventsService);
|
24
24
|
ngOnInit(): void;
|
25
25
|
get animationDuration(): logoSpeed;
|
26
|
-
get animationDirection():
|
26
|
+
get animationDirection(): "reverse" | "normal" | logoDirection.Left;
|
27
27
|
screenWidth: number;
|
28
28
|
getScreenSize(event?: number): void;
|
29
29
|
editSection(): void;
|
@@ -48,7 +48,7 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
48
48
|
getScreenSize(event?: number): void;
|
49
49
|
get getParentHeight(): any;
|
50
50
|
get getDropdownLinks(): string[];
|
51
|
-
get isEcommerceWebsite(): "
|
51
|
+
get isEcommerceWebsite(): "E_COMMERCE" | "REAL_ESTATE" | "STATIC";
|
52
52
|
close(): void;
|
53
53
|
showEditors: boolean;
|
54
54
|
showEditTabs(isShow: boolean): void;
|
@@ -62,7 +62,7 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
62
62
|
showSearchBar: boolean;
|
63
63
|
get isComponentMerged(): any;
|
64
64
|
editSection(): void;
|
65
|
-
get canShowMobileFooter(): "
|
65
|
+
get canShowMobileFooter(): "E_COMMERCE" | "REAL_ESTATE" | "STATIC";
|
66
66
|
get showMobileHomeIcon(): boolean;
|
67
67
|
get getCartItemsCount(): number;
|
68
68
|
get getHeaderStyling(): HEADER_STYLING | undefined;
|
@@ -17,7 +17,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
17
17
|
style?: PricingSectionStylesModel;
|
18
18
|
constructor(_eventService: EventsService);
|
19
19
|
ngOnInit(): void;
|
20
|
-
getTextColor(): "#
|
20
|
+
getTextColor(): "#000000" | "#ffffff";
|
21
21
|
get headingSpace(): SPACING;
|
22
22
|
editSection(): void;
|
23
23
|
redirectTo(): void;
|
@@ -26,6 +26,7 @@ export interface LayOutModel {
|
|
26
26
|
headingSpacing?: SPACING;
|
27
27
|
spacing: SpacingModel;
|
28
28
|
spacingHorizontal?: SPACING_TYPE;
|
29
|
+
spacingAround?: SPACING_TYPE;
|
29
30
|
}
|
30
31
|
export interface BannerLayOutModel {
|
31
32
|
layoutAlignment: PositionLayoutModal;
|
@@ -76,6 +77,8 @@ export interface DisplaySection {
|
|
76
77
|
showContent: boolean;
|
77
78
|
showImage: boolean;
|
78
79
|
showLink: boolean;
|
80
|
+
showCard: boolean;
|
81
|
+
showIcon: boolean;
|
79
82
|
linkType: LINK_TYPE;
|
80
83
|
}
|
81
84
|
export interface Button {
|
@@ -141,6 +144,7 @@ export interface InputTextModel {
|
|
141
144
|
label: string;
|
142
145
|
value: string;
|
143
146
|
isRTE: boolean;
|
147
|
+
image?: string;
|
144
148
|
}
|
145
149
|
export interface Image {
|
146
150
|
id: string;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -73,6 +73,7 @@ export * from './lib/directive/image-position.directive';
|
|
73
73
|
export * from './lib/directive/container-alignment.directive';
|
74
74
|
export * from './lib/directive/sticky-directive';
|
75
75
|
export * from './lib/directive/removeCarousel-directive';
|
76
|
+
export * from './lib/directive/spacing-around.directive';
|
76
77
|
export * from './lib/styles/index';
|
77
78
|
export * from './lib/styles/style.model';
|
78
79
|
export * from './lib/styles/types';
|
Binary file
|
Binary file
|