simpo-component-library 3.1.31 → 3.2.4
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/image-editor.directive.mjs +2 -2
- package/esm2022/lib/directive/spacing-around.directive.mjs +2 -2
- package/esm2022/lib/elements/add-section/add-section.component.mjs +12 -10
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +8 -4
- package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +6 -3
- package/esm2022/lib/elements/editor-service.service.mjs +24 -0
- package/esm2022/lib/elements/image-editor/image-editor.component.mjs +13 -7
- package/esm2022/lib/elements/link-editor/link-editor.component.mjs +3 -3
- package/esm2022/lib/elements/media-selector/media-selector.component.mjs +4 -4
- package/esm2022/lib/elements/text-editor/text-editor.component.mjs +83 -37
- package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +6 -3
- package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +6 -4
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +6 -4
- package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +6 -4
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +6 -4
- package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +6 -4
- package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +6 -4
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +5 -3
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +5 -3
- package/esm2022/lib/sections/features-section/features-section.component.mjs +6 -4
- package/esm2022/lib/sections/footer/footer.component.mjs +18 -4
- package/esm2022/lib/sections/header-text/header-text.component.mjs +6 -4
- package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +5 -3
- package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +5 -3
- package/esm2022/lib/sections/location-section/location-section.component.mjs +6 -4
- package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +4 -3
- package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +5 -3
- package/esm2022/lib/sections/process-modern/process-modern.component.mjs +5 -3
- package/esm2022/lib/sections/process-section/process-section.component.mjs +5 -3
- package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +6 -4
- package/esm2022/lib/sections/service-section/service-section.component.mjs +6 -4
- package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +6 -4
- package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +6 -4
- package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +7 -5
- package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +6 -4
- package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +6 -4
- package/esm2022/lib/sections/text-section/text-section.component.mjs +9 -8
- package/esm2022/lib/sections/video-section/video-section.component.mjs +5 -3
- package/esm2022/lib/services/rest.service.mjs +4 -1
- package/fesm2022/simpo-component-library.mjs +799 -677
- 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/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/elements/add-section/add-section.component.d.ts +3 -1
- package/lib/elements/below-image-card/below-image-card.component.d.ts +2 -1
- package/lib/elements/covering-image-card/covering-image-card.component.d.ts +2 -1
- package/lib/elements/editor-service.service.d.ts +11 -0
- package/lib/elements/image-editor/image-editor.component.d.ts +4 -1
- package/lib/elements/media-selector/media-selector.component.d.ts +1 -1
- package/lib/elements/text-editor/text-editor.component.d.ts +13 -3
- package/lib/elements/top-of-image-card/top-of-image-card.component.d.ts +2 -1
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +3 -3
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/sections/footer/footer.component.d.ts +1 -0
- package/lib/sections/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-3.2.4.tgz +0 -0
- package/simpo-component-library-3.1.31.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): "#ffffff" | "#000000" | "#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): "#ffffff" | "#000000" | "#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(): "#ffffff" | "#000000" | "#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
|
}
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
@@ -45,7 +45,7 @@ export declare class AuthenticationRequiredComponent {
|
|
45
45
|
validateNumber(event: KeyboardEvent): void;
|
46
46
|
validateOTP(event: KeyboardEvent): void;
|
47
47
|
checkStrength(): void;
|
48
|
-
getStrengthColor(index: number): "
|
48
|
+
getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
|
49
49
|
get isEmailValid(): boolean;
|
50
50
|
get isPasswordValid(): boolean;
|
51
51
|
get isMobile(): boolean;
|
@@ -1,13 +1,15 @@
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
3
3
|
import { EventsService } from '../../services/events.service';
|
4
|
+
import { ElementServiceService } from '../editor-service.service';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
export declare class AddSectionComponent {
|
6
7
|
dialog: MatDialogRef<AddSectionComponent>;
|
7
8
|
data: any;
|
8
9
|
private http;
|
9
10
|
private _eventService;
|
10
|
-
|
11
|
+
private elementService;
|
12
|
+
constructor(dialog: MatDialogRef<AddSectionComponent>, data: any, http: HttpClient, _eventService: EventsService, elementService: ElementServiceService);
|
11
13
|
ngOnInit(): void;
|
12
14
|
selectedTab: string;
|
13
15
|
tabs: any;
|
@@ -8,10 +8,11 @@ export declare class BelowImageCardComponent {
|
|
8
8
|
content: any;
|
9
9
|
componentId?: string;
|
10
10
|
button?: ButtonModel;
|
11
|
+
edit?: boolean;
|
11
12
|
constructor(_eventService: EventsService);
|
12
13
|
ngOnInit(): void;
|
13
14
|
redirectTo(): void;
|
14
15
|
get getAspectRatio(): any;
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<BelowImageCardComponent, never>;
|
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>;
|
17
|
+
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>;
|
17
18
|
}
|
@@ -8,9 +8,10 @@ export declare class CoveringImageCardComponent {
|
|
8
8
|
content: any;
|
9
9
|
componentId?: string;
|
10
10
|
button?: ButtonModel;
|
11
|
+
edit?: boolean;
|
11
12
|
constructor(_eventService: EventsService);
|
12
13
|
ngOnInit(): void;
|
13
14
|
redirectTo(): void;
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoveringImageCardComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CoveringImageCardComponent, "simpo-covering-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
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CoveringImageCardComponent, "simpo-covering-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>;
|
16
17
|
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class ElementServiceService {
|
4
|
+
private http;
|
5
|
+
private BASE_URL;
|
6
|
+
constructor(http: HttpClient);
|
7
|
+
getComponentApi(): import("rxjs").Observable<Object>;
|
8
|
+
regenerateText(request: any): import("rxjs").Observable<Object>;
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementServiceService, never>;
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ElementServiceService>;
|
11
|
+
}
|
@@ -1,15 +1,18 @@
|
|
1
1
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
2
2
|
import { EventsService } from '../../services/events.service';
|
3
3
|
import { Image } from '../../styles/style.model';
|
4
|
+
import { Renderer2 } from '@angular/core';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
export declare class ImageEditorComponent {
|
6
7
|
private eventsService;
|
7
8
|
dialogRef: MatDialogRef<ImageEditorComponent>;
|
8
9
|
data: any;
|
9
10
|
private matDialog;
|
10
|
-
|
11
|
+
private render;
|
12
|
+
constructor(eventsService: EventsService, dialogRef: MatDialogRef<ImageEditorComponent>, data: any, matDialog: MatDialog, render: Renderer2);
|
11
13
|
imageData: Image;
|
12
14
|
sectionId: string;
|
15
|
+
private backDrop;
|
13
16
|
ngOnInit(): void;
|
14
17
|
max: number;
|
15
18
|
min: number;
|
@@ -8,7 +8,7 @@ import { RestService } from '../../services/rest.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
export declare class MediaSelectorComponent implements AfterViewInit {
|
10
10
|
private imageUploadService;
|
11
|
-
|
11
|
+
_dialogRef: MatDialogRef<MediaSelectorComponent>;
|
12
12
|
private dialogData;
|
13
13
|
private snackBar;
|
14
14
|
private restService;
|
@@ -1,16 +1,25 @@
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
2
|
+
import { ElementServiceService } from '../editor-service.service';
|
2
3
|
import * as i0 from "@angular/core";
|
3
4
|
export declare class TextEditorComponent {
|
5
|
+
private editorService;
|
6
|
+
private platformId;
|
4
7
|
toolbar: ElementRef;
|
5
8
|
editor: ElementRef;
|
6
9
|
colorPicker: ElementRef;
|
10
|
+
parentElement: ElementRef;
|
11
|
+
suggestion: ElementRef;
|
7
12
|
value: string;
|
8
13
|
editable: boolean;
|
14
|
+
sectionId?: string;
|
15
|
+
label?: string;
|
9
16
|
show: boolean;
|
10
|
-
toolbarX: number;
|
11
17
|
toolbarY: number;
|
18
|
+
suggestionY: number;
|
19
|
+
rightZero: boolean;
|
20
|
+
showSuggestion: boolean;
|
12
21
|
toolbarData: any;
|
13
|
-
constructor();
|
22
|
+
constructor(editorService: ElementServiceService, platformId: Object);
|
14
23
|
ngOnInit(): void;
|
15
24
|
ngOnDestroy(): void;
|
16
25
|
showToolbar(event: MouseEvent): void;
|
@@ -23,6 +32,7 @@ export declare class TextEditorComponent {
|
|
23
32
|
openColorPicker(): void;
|
24
33
|
readFormattingProperties(): void;
|
25
34
|
reFormattingData(): void;
|
35
|
+
regenerateText(): void;
|
26
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, never>;
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "simpo-text-editor", never, { "value": { "alias": "value"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; }, {}, never, never, true, never>;
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "simpo-text-editor", never, { "value": { "alias": "value"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
|
28
38
|
}
|
@@ -8,9 +8,10 @@ export declare class TopOfImageCardComponent {
|
|
8
8
|
content: any;
|
9
9
|
componentId?: string;
|
10
10
|
button?: ButtonModel;
|
11
|
+
edit?: boolean;
|
11
12
|
constructor(_eventService: EventsService);
|
12
13
|
ngOnInit(): void;
|
13
14
|
redirectTo(): void;
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TopOfImageCardComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TopOfImageCardComponent, "simpo-top-of-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
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TopOfImageCardComponent, "simpo-top-of-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>;
|
16
17
|
}
|
@@ -23,10 +23,10 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
23
23
|
constructor(_eventService: EventsService);
|
24
24
|
ngOnInit(): void;
|
25
25
|
get stylesLayout(): LayOutModel;
|
26
|
-
get getBlurValue(): "
|
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.7" | "0.5" | "0.3" | "0.2";
|
29
|
+
opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
|
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
|
28
|
+
opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
|
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>;
|
@@ -32,6 +32,7 @@ export declare class FooterComponent extends BaseSection {
|
|
32
32
|
getPages(): void;
|
33
33
|
redirectToPage(pageData: any): void;
|
34
34
|
createNewLink(folderIndex: number): void;
|
35
|
+
createNewFolder(): void;
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
36
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "simpo-footer", 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>;
|
37
38
|
}
|
@@ -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(): "1" | "0.
|
24
|
-
opacityValue(value: OverlayValue): "1" | "0.
|
23
|
+
get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
|
24
|
+
opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
|
25
25
|
editSection(): void;
|
26
26
|
redirectTo(): void;
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
|
@@ -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(): "#ffffff" | "#000000";
|
21
21
|
get headingSpace(): SPACING;
|
22
22
|
editSection(): void;
|
23
23
|
redirectTo(): void;
|
@@ -83,6 +83,7 @@ export declare class RestService implements OnDestroy {
|
|
83
83
|
getTemplate(): Observable<Object>;
|
84
84
|
getImageLibrary(): Observable<Object>;
|
85
85
|
saveImagesToBusinessLibrary(mediaRequest: any): Observable<Object>;
|
86
|
+
regenerateText(request: any): Observable<Object>;
|
86
87
|
getFieldsToDisplay(fieldsList: any[]): any;
|
87
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
88
89
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|