simpo-component-library 3.2.46 → 3.2.48
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/hover-elements/hover-elements.component.mjs +3 -3
- package/esm2022/lib/directive/button-editor.directive.mjs +79 -0
- package/esm2022/lib/directive/image-editor.directive.mjs +56 -26
- package/esm2022/lib/elements/add-section/add-section.component.mjs +61 -10
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +2 -2
- package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +4 -3
- package/esm2022/lib/elements/editor-service.service.mjs +6 -2
- package/esm2022/lib/elements/image-editor/image-editor.component.mjs +3 -3
- package/esm2022/lib/elements/link-editor/link-editor.component.mjs +7 -7
- package/esm2022/lib/elements/media-selector/media-selector.component.mjs +3 -3
- package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +8 -4
- package/esm2022/lib/elements/text-editor/text-editor.component.mjs +7 -3
- package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +2 -2
- package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +9 -6
- package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +2 -2
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +4 -4
- package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +5 -5
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +5 -5
- package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +4 -4
- package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +1 -1
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +1 -1
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
- package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
- package/esm2022/lib/sections/footer/footer.component.mjs +2 -2
- package/esm2022/lib/sections/footer-section/footer-section.component.mjs +4 -4
- package/esm2022/lib/sections/header-text/header-text.component.mjs +4 -4
- package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
- package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/image-section/image-section.component.mjs +5 -5
- package/esm2022/lib/sections/location-section/location-section.component.mjs +5 -5
- package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +4 -4
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +4 -4
- package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
- package/esm2022/lib/sections/process-modern/process-modern.component.mjs +5 -4
- package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
- package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +1 -1
- package/esm2022/lib/sections/service-section/service-section.component.mjs +2 -2
- package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +1 -1
- package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +5 -5
- package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +5 -5
- package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +1 -1
- package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +5 -5
- package/esm2022/lib/sections/text-section/text-section.component.mjs +5 -5
- package/esm2022/lib/sections/video-section/video-section.component.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs +442 -278
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/button-editor.directive.d.ts +22 -0
- package/lib/directive/image-editor.directive.d.ts +12 -7
- package/lib/elements/add-section/add-section.component.d.ts +9 -2
- package/lib/elements/editor-service.service.d.ts +1 -0
- package/lib/elements/link-editor/link-editor.component.d.ts +3 -3
- package/lib/elements/simpo-button/simpo-button.component.d.ts +2 -1
- package/lib/elements/text-editor/text-editor.component.d.ts +3 -2
- package/lib/sections/add-new-section/add-new-section.component.d.ts +3 -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/image-section/image-section.component.d.ts +2 -2
- package/package.json +1 -1
- package/simpo-component-library-3.2.48.tgz +0 -0
- package/simpo-component-library-3.2.46.tgz +0 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import { Button } from '../styles/style.model';
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class ButtonEditorDirective {
|
6
|
+
private el;
|
7
|
+
private matDialog;
|
8
|
+
appButtonEditor: boolean;
|
9
|
+
buttonData?: Button;
|
10
|
+
private mouseEnterSub?;
|
11
|
+
private mouseLeaveSub?;
|
12
|
+
private clickSub?;
|
13
|
+
private readonly HIGHLIGHT_BORDER;
|
14
|
+
constructor(el: ElementRef, matDialog: MatDialog);
|
15
|
+
ngOnInit(): void;
|
16
|
+
ngOnChanges(): void;
|
17
|
+
private setupEventListeners;
|
18
|
+
private cleanup;
|
19
|
+
ngOnDestroy(): void;
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonEditorDirective, never>;
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonEditorDirective, "button[appButtonEditor]", never, { "appButtonEditor": { "alias": "appButtonEditor"; "required": false; }; "buttonData": { "alias": "buttonData"; "required": false; }; }, {}, never, never, true, never>;
|
22
|
+
}
|
@@ -1,18 +1,23 @@
|
|
1
|
-
import { ElementRef,
|
1
|
+
import { ElementRef, OnInit, OnDestroy } from '@angular/core';
|
2
2
|
import { Image } from '../styles/style.model';
|
3
3
|
import { MatDialog } from '@angular/material/dialog';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
export declare class ImageEditorDirective {
|
5
|
+
export declare class ImageEditorDirective implements OnInit, OnDestroy {
|
6
6
|
private el;
|
7
|
-
private renderer;
|
8
7
|
private matDialog;
|
9
8
|
appImageEditor: boolean;
|
10
9
|
imageData?: Image;
|
11
10
|
sectionId?: string;
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
11
|
+
private mouseEnterSub?;
|
12
|
+
private mouseLeaveSub?;
|
13
|
+
private clickSub?;
|
14
|
+
private readonly HIGHLIGHT_BORDER;
|
15
|
+
constructor(el: ElementRef, matDialog: MatDialog);
|
16
|
+
ngOnInit(): void;
|
17
|
+
ngOnChanges(): void;
|
18
|
+
private setupEventListeners;
|
19
|
+
private cleanup;
|
20
|
+
ngOnDestroy(): void;
|
16
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEditorDirective, never>;
|
17
22
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ImageEditorDirective, "img[appImageEditor]", never, { "appImageEditor": { "alias": "appImageEditor"; "required": false; }; "imageData": { "alias": "imageData"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; }, {}, never, never, true, never>;
|
18
23
|
}
|
@@ -8,18 +8,25 @@ export declare class AddSectionComponent {
|
|
8
8
|
data: any;
|
9
9
|
private http;
|
10
10
|
private _eventService;
|
11
|
+
private editorService;
|
11
12
|
private elementService;
|
12
|
-
constructor(dialog: MatDialogRef<AddSectionComponent>, data: any, http: HttpClient, _eventService: EventsService, elementService: ElementServiceService);
|
13
|
+
constructor(dialog: MatDialogRef<AddSectionComponent>, data: any, http: HttpClient, _eventService: EventsService, editorService: ElementServiceService, elementService: ElementServiceService);
|
13
14
|
ngOnInit(): void;
|
14
15
|
selectedTab: string;
|
15
16
|
tabs: any;
|
16
17
|
sections: any;
|
17
18
|
selectedSection: any;
|
18
19
|
selectedSectionName: any;
|
20
|
+
loader: boolean;
|
21
|
+
tabShiftLoader: boolean;
|
22
|
+
selectSection(ele: any): void;
|
19
23
|
getAllSections(): void;
|
20
24
|
getObjectKeys(obj: any): any[];
|
21
|
-
getComponentApi(): import("rxjs").Observable<Object>;
|
22
25
|
addNewSection(componentId: any, sectionType: any, event: any): void;
|
26
|
+
searchText: string;
|
27
|
+
dummySections: any;
|
28
|
+
dummy2: any;
|
29
|
+
searchSections(): void;
|
23
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddSectionComponent, never>;
|
24
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddSectionComponent, "simpo-add-section", never, {}, {}, never, never, true, never>;
|
25
32
|
}
|
@@ -8,6 +8,7 @@ export declare class ElementServiceService {
|
|
8
8
|
regenerateText(request: any): import("rxjs").Observable<Object>;
|
9
9
|
getImageLibrary(): import("rxjs").Observable<Object>;
|
10
10
|
saveImagesToBusinessLibrary(mediaRequest: any): import("rxjs").Observable<Object>;
|
11
|
+
getTemplate(): import("rxjs").Observable<Object>;
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElementServiceService, never>;
|
12
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<ElementServiceService>;
|
13
14
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { Button } from '../../styles/style.model';
|
2
2
|
import { RedirectionLinkType } from '../../styles/index';
|
3
|
-
import { RestService } from '../../services/rest.service';
|
4
3
|
import { MatDialogRef } from '@angular/material/dialog';
|
4
|
+
import { ElementServiceService } from '../editor-service.service';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare class LinkEditorComponent {
|
7
|
-
private
|
7
|
+
private editorService;
|
8
8
|
dialogRef: MatDialogRef<LinkEditorComponent>;
|
9
9
|
data: any;
|
10
10
|
link: Button;
|
@@ -14,7 +14,7 @@ export declare class LinkEditorComponent {
|
|
14
14
|
linkType: any[];
|
15
15
|
templatePage: any[];
|
16
16
|
addLink: boolean;
|
17
|
-
constructor(
|
17
|
+
constructor(editorService: ElementServiceService, dialogRef: MatDialogRef<LinkEditorComponent>, data: any);
|
18
18
|
ngOnInit(): void;
|
19
19
|
closeDialog(): void;
|
20
20
|
getTemplatePage(): void;
|
@@ -8,9 +8,10 @@ export declare class SimpoButtonComponent {
|
|
8
8
|
buttonId: string;
|
9
9
|
color?: string;
|
10
10
|
sectionId?: string;
|
11
|
+
edit?: boolean;
|
11
12
|
constructor(_eventService: EventsService);
|
12
13
|
ngOnInit(): void;
|
13
14
|
redirectTo(): void;
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimpoButtonComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimpoButtonComponent, "app-button-element", never, { "buttonContent": { "alias": "buttonContent"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "buttonId": { "alias": "buttonId"; "required": false; }; "color": { "alias": "color"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; }, {}, never, never, true, never>;
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimpoButtonComponent, "app-button-element", never, { "buttonContent": { "alias": "buttonContent"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "buttonId": { "alias": "buttonId"; "required": false; }; "color": { "alias": "color"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
16
17
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
2
2
|
import { ElementServiceService } from '../editor-service.service';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class TextEditorComponent {
|
@@ -10,6 +10,7 @@ export declare class TextEditorComponent {
|
|
10
10
|
parentElement: ElementRef;
|
11
11
|
suggestion: ElementRef;
|
12
12
|
value: string;
|
13
|
+
valueChange: EventEmitter<string>;
|
13
14
|
editable: boolean;
|
14
15
|
sectionId?: string;
|
15
16
|
label?: string;
|
@@ -34,5 +35,5 @@ export declare class TextEditorComponent {
|
|
34
35
|
reFormattingData(): void;
|
35
36
|
regenerateText(): void;
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, 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>;
|
38
|
+
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; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
38
39
|
}
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import { EventsService } from './../../services/events.service';
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
2
3
|
import * as i0 from "@angular/core";
|
3
4
|
export declare class AddNewSectionComponent {
|
4
5
|
private _eventService;
|
5
|
-
|
6
|
+
private dialog;
|
7
|
+
constructor(_eventService: EventsService, dialog: MatDialog);
|
6
8
|
index?: number;
|
7
9
|
addSection(): void;
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddNewSectionComponent, never>;
|
@@ -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.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.
|
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>;
|
@@ -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(): "0.
|
24
|
-
opacityValue(value: OverlayValue): "0.
|
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>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|