simpo-component-library 1.1.6 → 1.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.
- package/esm2022/lib/components/input-fields/input-fields.component.mjs +5 -4
- package/esm2022/lib/directive/blur-content.directive.mjs +18 -2
- package/esm2022/lib/directive/image-container.directive.mjs +65 -0
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +14 -3
- package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +3 -3
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +4 -4
- package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +6 -3
- package/esm2022/lib/sections/contact-us/contact-us.modal.mjs +1 -1
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +4 -4
- package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
- package/esm2022/lib/sections/text-section/text-section.component.mjs +6 -7
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs +112 -22
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/blur-content.directive.d.ts +2 -1
- package/lib/directive/image-container.directive.d.ts +19 -0
- package/lib/elements/below-image-card/below-image-card.component.d.ts +1 -0
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +3 -3
- package/lib/sections/banner-carousel/banner-carousel.model.d.ts +1 -3
- package/lib/sections/contact-us/contact-us.component.d.ts +1 -0
- package/lib/sections/contact-us/contact-us.modal.d.ts +1 -0
- package/lib/styles/style.model.d.ts +3 -1
- package/package.json +1 -1
- package/simpo-component-library-1.1.8.tgz +0 -0
- package/simpo-component-library-1.1.6.tgz +0 -0
|
@@ -3,11 +3,12 @@ import { OverlayValue } from "../styles/index";
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SimpoBlurContentDirective implements OnChanges, OnInit, OnDestroy {
|
|
5
5
|
private el;
|
|
6
|
-
simpoBlurContent?:
|
|
6
|
+
simpoBlurContent?: OverlayValue;
|
|
7
7
|
constructor(el: ElementRef);
|
|
8
8
|
ngOnChanges(changes: SimpleChanges): void;
|
|
9
9
|
ngOnDestroy(): void;
|
|
10
10
|
ngOnInit(): void;
|
|
11
|
+
get getOverlayValue(): OverlayValue;
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimpoBlurContentDirective, never>;
|
|
12
13
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SimpoBlurContentDirective, "[simpoBlurContent]", never, { "simpoBlurContent": { "alias": "simpoBlurContent"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
14
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef, OnChanges } from '@angular/core';
|
|
2
|
+
import { EventsService } from '../services/events.service';
|
|
3
|
+
import { ImageStyle } from '../styles/style.model';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ImageContainerDirective implements OnChanges {
|
|
7
|
+
private el;
|
|
8
|
+
private eventService;
|
|
9
|
+
simpoImageContainerDirective?: ImageStyle;
|
|
10
|
+
constructor(el: ElementRef, eventService: EventsService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnChanges(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
imageStyleSubscription?: Subscription;
|
|
15
|
+
imageStyleChangeCheck(): void;
|
|
16
|
+
changeImageStyle(id: string, style: ImageStyle): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageContainerDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ImageContainerDirective, "[simpoImageContainerDirective]", never, { "simpoImageContainerDirective": { "alias": "simpoImageContainerDirective"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -11,6 +11,7 @@ export declare class BelowImageCardComponent {
|
|
|
11
11
|
constructor(_eventService: EventsService);
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
redirectTo(): void;
|
|
14
|
+
get getAspectRatio(): any;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BelowImageCardComponent, never>;
|
|
15
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<BelowImageCardComponent, "simpo-below-image-card", never, { "data": { "alias": "data"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "content": { "alias": "content"; "required": false; }; "componentId": { "alias": "componentId"; "required": false; }; "button": { "alias": "button"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
17
|
}
|
|
@@ -21,10 +21,10 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
|
21
21
|
constructor(_eventService: EventsService);
|
|
22
22
|
ngOnInit(): void;
|
|
23
23
|
get stylesLayout(): LayOutModel;
|
|
24
|
-
get getBlurValue():
|
|
24
|
+
get getBlurValue(): OverlayValue | undefined;
|
|
25
25
|
get getBackgroundColor(): BackgroundModel;
|
|
26
|
-
get getBackgroundOpacity(): "0
|
|
27
|
-
opacityValue(value: OverlayValue): "0
|
|
26
|
+
get getBackgroundOpacity(): "0" | "0.2" | "0.3" | "0.5" | "0.7";
|
|
27
|
+
opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
|
|
28
28
|
editSection(): void;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
|
|
30
30
|
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>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Corners
|
|
1
|
+
import { Corners } from '../../styles/index';
|
|
2
2
|
import { ActionModel, Image, InputTextModel, ListItemModal, StylesModel } from '../../styles/style.model';
|
|
3
3
|
export interface BannerCarouselModel {
|
|
4
4
|
id: string;
|
|
@@ -21,6 +21,4 @@ export interface textModel {
|
|
|
21
21
|
}
|
|
22
22
|
export interface BannerCarouselStylesModel extends StylesModel {
|
|
23
23
|
corners: Corners;
|
|
24
|
-
blur: keyof typeof OverlayValue;
|
|
25
|
-
overlay: OverlayValue;
|
|
26
24
|
}
|
|
@@ -24,6 +24,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
|
|
|
24
24
|
getWidthByField(field: any): string;
|
|
25
25
|
buttonClick(): void;
|
|
26
26
|
editSection(): void;
|
|
27
|
+
canShowContactField(field: any): any;
|
|
27
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
|
|
28
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "simpo-contact-us", 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>;
|
|
29
30
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AlignContent, Corners, ImageFit, ImageRatio, RedirectionLinkType, SPACING, TEXT_SIZE, TextPosition } from '.';
|
|
1
|
+
import { AlignContent, Corners, ImageFit, ImageRatio, OverlayValue, RedirectionLinkType, SPACING, TEXT_SIZE, TextPosition } from '.';
|
|
2
2
|
import { ALIGN, ANIMATION_DIRECTION, ANIMATION_SPEED, BUTTON_SHAPE, BUTTON_TYPE, CARD_SIZE, FIT, LAYOUTPOSITION, LINK_TYPE, SPACING_TYPE, CONTENTPOSITION } from './types';
|
|
3
3
|
export interface SpacingModel {
|
|
4
4
|
top: SPACING_TYPE;
|
|
@@ -48,6 +48,8 @@ export interface BackgroundModel {
|
|
|
48
48
|
opacity: number;
|
|
49
49
|
showImage: boolean;
|
|
50
50
|
position: PositionModel;
|
|
51
|
+
blur?: keyof typeof OverlayValue;
|
|
52
|
+
overlay?: OverlayValue;
|
|
51
53
|
}
|
|
52
54
|
export interface AnimationModel {
|
|
53
55
|
type: ANIMATION_DIRECTION;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|