simpo-component-library 3.6.312 → 3.6.313
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/set-dynamic-background.directive.mjs +2 -2
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +26 -3
- package/esm2022/lib/elements/image-editor/image-editor.component.mjs +4 -4
- package/esm2022/lib/elements/index.mjs +2 -2
- package/esm2022/lib/elements/link-editor/link-editor.component.mjs +27 -7
- package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +3 -3
- package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +5 -3
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
- package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
- package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
- package/esm2022/lib/sections/service-section/service-section.component.mjs +12 -9
- package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs +843 -803
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/elements/below-image-card/below-image-card.component.d.ts +2 -0
- package/lib/elements/image-editor/image-editor.component.d.ts +2 -0
- package/lib/elements/link-editor/link-editor.component.d.ts +6 -2
- package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
- 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/new-testimonials/new-testimonials.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/sections/service-section/service-section.model.d.ts +2 -1
- package/lib/styles/style.model.d.ts +7 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.313.tgz +0 -0
- package/simpo-component-library-3.6.312.tgz +0 -0
@@ -19,6 +19,8 @@ export declare class BelowImageCardComponent {
|
|
19
19
|
get getIconStyls(): any;
|
20
20
|
ngOnChanges(): void;
|
21
21
|
getAlignment(): "justify-items-start" | "justify-items-end" | "justify-items-center";
|
22
|
+
getBackground(): any;
|
23
|
+
get getIconBackground(): any;
|
22
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<BelowImageCardComponent, never>;
|
23
25
|
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; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
24
26
|
}
|
@@ -3,6 +3,7 @@ import { EventsService } from '../../services/events.service';
|
|
3
3
|
import { Button, Icon, Image } from '../../styles/style.model';
|
4
4
|
import { ElementServiceService } from '../editor-service.service';
|
5
5
|
import { RedirectionLinkType } from '../../styles/index';
|
6
|
+
import { BACKGROUND_TYPE } from '@simpo-ui/styles/types';
|
6
7
|
import * as i0 from "@angular/core";
|
7
8
|
export declare class ImageEditorComponent {
|
8
9
|
private eventsService;
|
@@ -21,6 +22,7 @@ export declare class ImageEditorComponent {
|
|
21
22
|
addLink: boolean;
|
22
23
|
max: number;
|
23
24
|
min: number;
|
25
|
+
tabs: BACKGROUND_TYPE[];
|
24
26
|
imgLoader: boolean;
|
25
27
|
updateImage(): Promise<void>;
|
26
28
|
changeIconColor(): void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Button } from '../../styles/style.model';
|
2
2
|
import { RedirectionLinkType } from '../../styles/index';
|
3
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
3
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
4
4
|
import { ElementServiceService } from '../editor-service.service';
|
5
5
|
import { EventsService } from '../../services/events.service';
|
6
6
|
import * as i0 from "@angular/core";
|
@@ -9,6 +9,7 @@ export declare class LinkEditorComponent {
|
|
9
9
|
dialogRef: MatDialogRef<LinkEditorComponent>;
|
10
10
|
data: any;
|
11
11
|
private eventService;
|
12
|
+
private matDialog;
|
12
13
|
link: Button;
|
13
14
|
RedirectionLink: typeof RedirectionLinkType;
|
14
15
|
externalLinkType: Array<type>;
|
@@ -19,7 +20,7 @@ export declare class LinkEditorComponent {
|
|
19
20
|
directionType: any[];
|
20
21
|
templatePage: any[];
|
21
22
|
addLink: boolean;
|
22
|
-
constructor(editorService: ElementServiceService, dialogRef: MatDialogRef<LinkEditorComponent>, data: any, eventService: EventsService);
|
23
|
+
constructor(editorService: ElementServiceService, dialogRef: MatDialogRef<LinkEditorComponent>, data: any, eventService: EventsService, matDialog: MatDialog);
|
23
24
|
ngOnInit(): void;
|
24
25
|
closeDialog(): void;
|
25
26
|
getTemplatePage(): void;
|
@@ -33,6 +34,9 @@ export declare class LinkEditorComponent {
|
|
33
34
|
setBorder(): string;
|
34
35
|
setColor(): any;
|
35
36
|
setBackground(): any;
|
37
|
+
imgLoader: boolean;
|
38
|
+
updateImage(): Promise<void>;
|
39
|
+
deleteImage(): void;
|
36
40
|
setRedirectUrl(): void;
|
37
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinkEditorComponent, never>;
|
38
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<LinkEditorComponent, "simpo-link-editor", never, {}, {}, never, never, true, never>;
|
@@ -15,7 +15,7 @@ export declare class PricingS1Component extends BaseSection {
|
|
15
15
|
editSection(): void;
|
16
16
|
getButtonId(): string;
|
17
17
|
redirectTo(): void;
|
18
|
-
getClass(): "col-
|
18
|
+
getClass(): "col-4" | "col-3" | "col-12" | "col-5";
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingS1Component, never>;
|
20
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<PricingS1Component, "simpo-pricing-s1", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
21
21
|
}
|
@@ -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
|
29
|
-
opacityValue(value: OverlayValue): "0
|
28
|
+
get getBackgroundOpacity(): "0" | "0.2" | "0.3" | "0.5" | "0.7";
|
29
|
+
opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
|
30
30
|
editSection(): void;
|
31
31
|
getScreenSize(): number;
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, 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
|
28
|
+
opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
|
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>;
|
@@ -21,7 +21,7 @@ export declare class NewTestimonialsComponent extends BaseSection {
|
|
21
21
|
idx: number;
|
22
22
|
getImageData(): import("../../styles/style.model").Image | undefined;
|
23
23
|
getImageUrl(): string | undefined;
|
24
|
-
getImageType(): "
|
24
|
+
getImageType(): "Video" | "Image";
|
25
25
|
editSection(): void;
|
26
26
|
stopPropagation(event: any): void;
|
27
27
|
screenWidth: any;
|
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
23
23
|
getButtonId(): string;
|
24
24
|
editSection(): void;
|
25
25
|
redirectTo(): void;
|
26
|
-
getClass(): "col-
|
26
|
+
getClass(): "col-6" | "col-4" | "col-3" | "col-12";
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
28
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
29
29
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ActionModel, Button, CardStyles, contentAnimationModel, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
|
1
|
+
import { ActionModel, BackgroundModel, Button, CardStyles, contentAnimationModel, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
|
2
2
|
export interface ServiceSectionModal {
|
3
3
|
id: string;
|
4
4
|
sectionType: string;
|
@@ -25,6 +25,7 @@ export interface ServiceStylesModel extends StylesModel, CardStyles {
|
|
25
25
|
export interface ServiceItemModal {
|
26
26
|
image: Image;
|
27
27
|
icon: Icon;
|
28
|
+
background: BackgroundModel;
|
28
29
|
inputText: InputTextModel[];
|
29
30
|
button: Button;
|
30
31
|
}
|
@@ -65,6 +65,7 @@ export interface BackgroundModel {
|
|
65
65
|
secondaryColor: string;
|
66
66
|
backgroundGradientDirection: GRADIENT_DIRECTION;
|
67
67
|
backgroundAnimation?: BACKGROUND_ANIMATION;
|
68
|
+
showBackground?: boolean;
|
68
69
|
}
|
69
70
|
export interface AnimationModel {
|
70
71
|
type: ANIMATION_DIRECTION;
|
@@ -100,6 +101,8 @@ export interface Button {
|
|
100
101
|
redirectionUrl: string;
|
101
102
|
pageId: string;
|
102
103
|
newTab: boolean;
|
104
|
+
showIcon?: boolean;
|
105
|
+
icon?: Icon | any;
|
103
106
|
}
|
104
107
|
export interface NavbarButton {
|
105
108
|
label: string;
|
@@ -175,6 +178,10 @@ export interface Icon {
|
|
175
178
|
color: string;
|
176
179
|
showBackground?: boolean;
|
177
180
|
backgroundColor?: string;
|
181
|
+
backgroundType?: BACKGROUND_TYPE;
|
182
|
+
secondaryColor?: string;
|
183
|
+
backgroundGradientDirection?: GRADIENT_DIRECTION;
|
184
|
+
iconPosition?: 'left' | 'right';
|
178
185
|
}
|
179
186
|
export interface ButtonStyleModel {
|
180
187
|
type: BUTTON_TYPE;
|
package/package.json
CHANGED
Binary file
|
Binary file
|