simpo-component-library 3.6.873 → 3.6.875
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/README.md +24 -24
- package/esm2022/lib/components/delete-hover-element/delete-hover-element.component.mjs +3 -3
- package/esm2022/lib/components/document/document.component.mjs +3 -3
- package/esm2022/lib/components/image-loading/image-loading.component.mjs +3 -3
- package/esm2022/lib/components/payment-details/payment-details.component.mjs +3 -3
- package/esm2022/lib/constants/business.constant.mjs +1 -1
- package/esm2022/lib/directive/alignment.directive.mjs +1 -1
- package/esm2022/lib/directive/blur-content.directive.mjs +1 -1
- package/esm2022/lib/directive/borderlessImage.directive.mjs +1 -1
- package/esm2022/lib/directive/button-editor.directive.mjs +23 -11
- package/esm2022/lib/directive/color.directive.mjs +1 -1
- package/esm2022/lib/directive/column-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/container-alignment.directive.mjs +1 -1
- package/esm2022/lib/directive/container-fir.directive.mjs +1 -1
- package/esm2022/lib/directive/content-title-spacing.directive.mjs +1 -1
- package/esm2022/lib/directive/contenteditable.directive.mjs +1 -1
- package/esm2022/lib/directive/corner-directive.mjs +1 -1
- package/esm2022/lib/directive/height.directive.mjs +1 -1
- package/esm2022/lib/directive/hover-animation.directive.mjs +1 -1
- package/esm2022/lib/directive/hoverborder.directive.mjs +1 -1
- package/esm2022/lib/directive/icon-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/image-container.directive.mjs +1 -1
- package/esm2022/lib/directive/image-editor.directive.mjs +21 -8
- package/esm2022/lib/directive/letters-only.directive.mjs +1 -1
- package/esm2022/lib/directive/numbers-only.directive.mjs +1 -1
- package/esm2022/lib/directive/position-layout-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/set-dynamic-background.directive.mjs +1 -1
- package/esm2022/lib/directive/spacing-horizontal.directive.mjs +1 -1
- package/esm2022/lib/directive/spacing.directive.mjs +1 -1
- package/esm2022/lib/directive/text-background-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/text-size.directive.mjs +1 -1
- package/esm2022/lib/directive/translate-onhover.directive.mjs +1 -1
- package/esm2022/lib/directive/wrap-containers.directive.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/customer-review/customer-review.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/new-collection/new-collection.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/scheme-selection/scheme-selection.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/store-list/store-list.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/store-page/store-page.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/BaseCollection.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/PincodeLocation.model.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/PincodeLocationInter.model.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/category.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/order.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/review.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
- package/esm2022/lib/elements/add-section/add-section.component.mjs +163 -16
- package/esm2022/lib/elements/address-list/address-list.component.mjs +3 -3
- package/esm2022/lib/elements/button/button.component.mjs +3 -3
- package/esm2022/lib/elements/button/button.model.mjs +1 -1
- package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +3 -3
- package/esm2022/lib/elements/editor-service.service.mjs +7 -1
- package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
- package/esm2022/lib/elements/image-editor/image-editor.component.mjs +234 -0
- package/esm2022/lib/elements/index.mjs +1 -1
- package/esm2022/lib/elements/list-home-appointment/list-home-appointment.component.mjs +3 -3
- package/esm2022/lib/elements/media-selector/media-selector.component.mjs +1 -1
- package/esm2022/lib/elements/portfolio/portfolio.component.mjs +3 -3
- package/esm2022/lib/elements/property/property.component.mjs +3 -3
- package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +3 -3
- package/esm2022/lib/elements/text/text.component.mjs +3 -3
- package/esm2022/lib/pipes/amount.pipe.mjs +1 -1
- package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +3 -3
- package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +3 -3
- package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
- package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
- package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/blog-list/blog-list.component.mjs +1 -1
- package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
- package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +1 -1
- package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
- package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
- package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
- package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
- package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
- package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +1 -1
- package/esm2022/lib/sections/image-section/image-section.component.mjs +1 -1
- package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
- package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
- package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
- package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
- package/esm2022/lib/sections/moving-text/moving-text.component.mjs +3 -3
- package/esm2022/lib/sections/moving-text/moving-text.modal.mjs +1 -1
- package/esm2022/lib/sections/new-services/new-services.component.mjs +3 -3
- package/esm2022/lib/sections/new-services/new-services.model.mjs +1 -1
- package/esm2022/lib/sections/new-testimonials/new-testimonials.model.mjs +1 -1
- package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +3 -3
- package/esm2022/lib/sections/news-letter-component/news-letter.modal.mjs +1 -1
- package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
- package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
- package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
- package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
- package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
- package/esm2022/lib/sections/property-component/property-component.component.mjs +3 -3
- package/esm2022/lib/sections/property-component/property-component.modal.mjs +1 -1
- package/esm2022/lib/sections/property-list/property-list.component.mjs +3 -3
- package/esm2022/lib/sections/property-list/property-list.modal.mjs +1 -1
- package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
- package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
- package/esm2022/lib/sections/registration-form/registration-form.component.mjs +3 -3
- package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +1 -1
- package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +3 -3
- package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +1 -1
- package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +3 -3
- package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
- package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-video/testimonial-video.model.mjs +1 -1
- package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
- package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +3 -3
- package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +1 -1
- package/esm2022/lib/sections/video-section/video-section.component.mjs +1 -1
- package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
- package/esm2022/lib/sections/view-blog/view-blog.component.mjs +1 -1
- package/esm2022/lib/services/endUser.service.mjs +1 -1
- package/esm2022/lib/services/events.service.mjs +1 -4
- package/esm2022/lib/services/image-upload-service.service.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs +15149 -14760
- 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/button-editor.directive.d.ts +3 -3
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/directive/image-editor.directive.d.ts +7 -2
- package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -1
- package/lib/ecommerce/sections/store-list/store-list.component.d.ts +1 -1
- package/lib/ecommerce/sections/store-page/store-page.component.d.ts +1 -1
- package/lib/elements/add-section/add-section.component.d.ts +22 -1
- package/lib/elements/editor-service.service.d.ts +2 -0
- package/lib/elements/image-editor/image-editor.component.d.ts +54 -0
- package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
- package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
- package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +1 -1
- package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/events.service.d.ts +0 -3
- package/package.json +1 -1
- package/simpo-component-library-3.6.875.tgz +0 -0
- package/simpo-component-library-3.6.873.tgz +0 -0
|
@@ -19,7 +19,7 @@ export declare class BackgroundDirective implements OnChanges, OnDestroy {
|
|
|
19
19
|
private applyVideo;
|
|
20
20
|
/** Sets a GIF animation as the background image */
|
|
21
21
|
private applyAnimationBackground;
|
|
22
|
-
getTextColor(bgColor: string): "#
|
|
22
|
+
getTextColor(bgColor: string): "#ffffff" | "#000000";
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
|
24
24
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
25
|
}
|
|
@@ -16,7 +16,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
|
16
16
|
applyButtonStyleChanges(): void;
|
|
17
17
|
applyButtonType(style: ButtonStyleModel, backgroundInfo?: BackgroundModel): void;
|
|
18
18
|
applyButtonShape(style: ButtonStyleModel): void;
|
|
19
|
-
getTextColor(bgColor: string): "#
|
|
19
|
+
getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
|
|
20
20
|
buttonStyleSubscription?: Subscription;
|
|
21
21
|
buttonStyleChangeCheck(): void;
|
|
22
22
|
changeButtonStyle(id: any, style: ButtonStyleModel, backgroundInfo: BackgroundModel): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { BackgroundModel, Button, ButtonStyleModel } from '../styles/style.model';
|
|
3
|
-
import {
|
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ButtonEditorDirective {
|
|
6
6
|
private el;
|
|
7
|
-
private
|
|
7
|
+
private matDialog;
|
|
8
8
|
appButtonEditor: boolean;
|
|
9
9
|
buttonData?: Button;
|
|
10
10
|
buttonStyle?: ButtonStyleModel;
|
|
@@ -15,7 +15,7 @@ export declare class ButtonEditorDirective {
|
|
|
15
15
|
private mouseLeaveSub?;
|
|
16
16
|
private clickSub?;
|
|
17
17
|
private readonly HIGHLIGHT_BORDER;
|
|
18
|
-
constructor(el: ElementRef,
|
|
18
|
+
constructor(el: ElementRef, matDialog: MatDialog);
|
|
19
19
|
ngOnInit(): void;
|
|
20
20
|
ngOnChanges(): void;
|
|
21
21
|
private setupEventListeners;
|
|
@@ -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
|
}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { ElementRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Image
|
|
2
|
+
import { Image } from '../styles/style.model';
|
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
4
|
import { EventsService } from '../services/events.service';
|
|
5
|
+
import { Router } from '@angular/router';
|
|
6
|
+
import { Icon } from '../styles/style.model';
|
|
4
7
|
import * as i0 from "@angular/core";
|
|
5
8
|
export declare class ImageEditorDirective implements OnInit, OnDestroy {
|
|
6
9
|
private el;
|
|
10
|
+
private matDialog;
|
|
7
11
|
private _eventService;
|
|
12
|
+
private router;
|
|
8
13
|
appImageEditor: boolean;
|
|
9
14
|
imageData?: Image;
|
|
10
15
|
sectionId?: string;
|
|
@@ -14,7 +19,7 @@ export declare class ImageEditorDirective implements OnInit, OnDestroy {
|
|
|
14
19
|
private mouseLeaveSub?;
|
|
15
20
|
private clickSub?;
|
|
16
21
|
private readonly HIGHLIGHT_BORDER;
|
|
17
|
-
constructor(el: ElementRef, _eventService: EventsService);
|
|
22
|
+
constructor(el: ElementRef, matDialog: MatDialog, _eventService: EventsService, router: Router);
|
|
18
23
|
ngOnInit(): void;
|
|
19
24
|
ngOnChanges(): void;
|
|
20
25
|
private setupEventListeners;
|
|
@@ -32,7 +32,7 @@ export declare class NewCollectionComponent extends BaseSection {
|
|
|
32
32
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
33
33
|
get isMobile(): boolean;
|
|
34
34
|
editSection(): void;
|
|
35
|
-
getColor(color: any): "#
|
|
35
|
+
getColor(color: any): "#ffffff" | "#000000";
|
|
36
36
|
getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
|
|
38
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "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>;
|
|
@@ -122,7 +122,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
122
122
|
getDifference(sellingPrice: any, mrp: any): number;
|
|
123
123
|
getBackgroundColor(type: string): string;
|
|
124
124
|
getHeaderColor(type: string): string;
|
|
125
|
-
getTextColor(color: any): "#
|
|
125
|
+
getTextColor(color: any): "#ffffff" | "#000000";
|
|
126
126
|
languages: string[];
|
|
127
127
|
selectedLang: string;
|
|
128
128
|
getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
|
|
@@ -220,7 +220,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
|
220
220
|
closeModal(): void;
|
|
221
221
|
languages: string[];
|
|
222
222
|
selectedLang: string;
|
|
223
|
-
getTextColor(color: any): "#
|
|
223
|
+
getTextColor(color: any): "#ffffff" | "#000000";
|
|
224
224
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
|
|
225
225
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "simpo-product-list", never, { "responseData": { "alias": "responseData"; "required": false; }; "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>;
|
|
226
226
|
}
|
|
@@ -34,7 +34,7 @@ export declare class StoreListComponent extends BaseSection {
|
|
|
34
34
|
showState: boolean;
|
|
35
35
|
selectedState: string;
|
|
36
36
|
setStateData(stateData: any): void;
|
|
37
|
-
getTextColor(bgColor: any): "#
|
|
37
|
+
getTextColor(bgColor: any): "#ffffff" | "#000000" | "#ffffff;";
|
|
38
38
|
openWhatsapp(phone: string): void;
|
|
39
39
|
viewStore(storeId: string): void;
|
|
40
40
|
getTime(storeHours: any, type: string): any;
|
|
@@ -18,7 +18,7 @@ export declare class StorePageComponent extends BaseSection {
|
|
|
18
18
|
storeData: any;
|
|
19
19
|
loading: boolean;
|
|
20
20
|
getStoreDetails(storeId: string): void;
|
|
21
|
-
getTextColor(bgColor: any): "#
|
|
21
|
+
getTextColor(bgColor: any): "#ffffff" | "#000000" | "#ffffff;";
|
|
22
22
|
getTime(storeHours: any): string | undefined;
|
|
23
23
|
removeUnderScore(text: string): string;
|
|
24
24
|
openWhatsapp(phone: string): void;
|
|
@@ -15,6 +15,15 @@ export declare class AddSectionComponent {
|
|
|
15
15
|
Object?: Object;
|
|
16
16
|
constructor(dialog: MatDialogRef<AddSectionComponent>, data: any, http: HttpClient, _eventService: EventsService, editorService: ElementServiceService, restService: RestService, elementService: ElementServiceService);
|
|
17
17
|
businessType: 'STATIC' | 'E_COMMERCE';
|
|
18
|
+
expandedApps: {
|
|
19
|
+
[key: string]: boolean;
|
|
20
|
+
};
|
|
21
|
+
selectedApp: string;
|
|
22
|
+
selectedAppSections: any[];
|
|
23
|
+
selectedAppComponent: any;
|
|
24
|
+
appIconMap: {
|
|
25
|
+
[key: string]: string;
|
|
26
|
+
};
|
|
18
27
|
ngOnInit(): void;
|
|
19
28
|
selectedTab: string;
|
|
20
29
|
businessId: string | null;
|
|
@@ -33,24 +42,36 @@ export declare class AddSectionComponent {
|
|
|
33
42
|
savedCategoryKeys: string[];
|
|
34
43
|
savedLoader: boolean;
|
|
35
44
|
selectedSavedCategory: string;
|
|
45
|
+
selectedSavedComponent: any;
|
|
36
46
|
categoryEmojiMap: {
|
|
37
47
|
[key: string]: string;
|
|
38
48
|
};
|
|
39
49
|
getCategoryEmoji(category: string): string;
|
|
40
50
|
getFirstSectionName(category: string): string;
|
|
41
51
|
onTabSelect(value: string): void;
|
|
52
|
+
appsList: any[];
|
|
53
|
+
appsLoader: boolean;
|
|
54
|
+
getAllApps(): void;
|
|
55
|
+
toggleAppCategory(appName: string): void;
|
|
56
|
+
installApp(app: any, event: any): void;
|
|
57
|
+
selectAppComponent(secData: any, appName: string): void;
|
|
58
|
+
selectAppComponentAndHighlight(ele: any): void;
|
|
59
|
+
getSelectedAppObj(): any;
|
|
42
60
|
toggleCategory(category: string): void;
|
|
43
61
|
getSavedSections(): void;
|
|
44
62
|
selectSavedCategory(categoryKey: string): void;
|
|
63
|
+
selectSavedComponent(comp: any): void;
|
|
64
|
+
addSavedSection(component: any, event: any): void;
|
|
45
65
|
selectComponent(sec: any, category: string): void;
|
|
46
66
|
selectComponentAndHighlight(ele: any): void;
|
|
47
67
|
selectSection(ele: any): void;
|
|
48
68
|
getAllSections(): void;
|
|
49
|
-
getAllSavedSections(): void;
|
|
50
69
|
checkAppInstalled(): void;
|
|
51
70
|
getObjectKeys(obj: any): any[];
|
|
52
71
|
getSectionLength(section: any): number;
|
|
53
72
|
addNewSection(componentId: any, sectionType: any, event: any): void;
|
|
73
|
+
addAppSection(component: any, event: any): void;
|
|
74
|
+
handleAddSection(event: any): void;
|
|
54
75
|
searchText: string;
|
|
55
76
|
dummySections: any;
|
|
56
77
|
dummy2: any;
|
|
@@ -10,6 +10,8 @@ export declare class ElementServiceService {
|
|
|
10
10
|
openSocialBrand(componentName: any, height: any, width: any, data: any): void;
|
|
11
11
|
getComponentApi(businessType?: 'STATIC' | 'E_COMMERCE'): import("rxjs").Observable<Object>;
|
|
12
12
|
getAllSavedSectionsApi(businessId: any): import("rxjs").Observable<Object>;
|
|
13
|
+
getAllapps(businessId: any): import("rxjs").Observable<Object>;
|
|
14
|
+
installApp(appId: any, businessId: any): import("rxjs").Observable<Object>;
|
|
13
15
|
regenerateText(request: any): import("rxjs").Observable<Object>;
|
|
14
16
|
getImageLibrary(): import("rxjs").Observable<Object>;
|
|
15
17
|
saveImagesToBusinessLibrary(mediaRequest: any): import("rxjs").Observable<Object>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { EventsService } from '../../services/events.service';
|
|
3
|
+
import { Button, Icon, Image } from '../../styles/style.model';
|
|
4
|
+
import { ElementServiceService } from '../editor-service.service';
|
|
5
|
+
import { RedirectionLinkType } from '../../styles/index';
|
|
6
|
+
import { BACKGROUND_TYPE } from '@simpo-ui/styles/types';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ImageEditorComponent {
|
|
9
|
+
private eventsService;
|
|
10
|
+
private editorService;
|
|
11
|
+
dialogRef: MatDialogRef<ImageEditorComponent>;
|
|
12
|
+
data: any;
|
|
13
|
+
private matDialog;
|
|
14
|
+
constructor(eventsService: EventsService, editorService: ElementServiceService, dialogRef: MatDialogRef<ImageEditorComponent>, data: any, matDialog: MatDialog);
|
|
15
|
+
imageData: Image;
|
|
16
|
+
iconData: Icon;
|
|
17
|
+
sectionId: string;
|
|
18
|
+
private backDrop;
|
|
19
|
+
link: Button;
|
|
20
|
+
ngOnInit(): Promise<void>;
|
|
21
|
+
RedirectionLink: typeof RedirectionLinkType;
|
|
22
|
+
addLink: boolean;
|
|
23
|
+
max: number;
|
|
24
|
+
min: number;
|
|
25
|
+
tabs: BACKGROUND_TYPE[];
|
|
26
|
+
imgLoader: boolean;
|
|
27
|
+
updateImage(): Promise<void>;
|
|
28
|
+
changeIconColor(): void;
|
|
29
|
+
horizontalPosition(): void;
|
|
30
|
+
deleteImage(): void;
|
|
31
|
+
linkType: any[];
|
|
32
|
+
selectedType: RedirectionLinkType;
|
|
33
|
+
changeType(type: RedirectionLinkType): void;
|
|
34
|
+
templatePage: any[];
|
|
35
|
+
getTemplatePage(): void;
|
|
36
|
+
externalLinkType: Array<type>;
|
|
37
|
+
collectionList: any;
|
|
38
|
+
categoryList: any;
|
|
39
|
+
collectionPath: any;
|
|
40
|
+
getCollectionList(): void;
|
|
41
|
+
getCategoryList(): void;
|
|
42
|
+
pageName: string;
|
|
43
|
+
addCollectionToPath(): void;
|
|
44
|
+
categoryPath: any;
|
|
45
|
+
addCategoryToPath(): void;
|
|
46
|
+
onPageChange(event: any): void;
|
|
47
|
+
imageHelperFunction(): Promise<void>;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEditorComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEditorComponent, "simpo-image-editor", never, {}, {}, never, never, true, never>;
|
|
50
|
+
}
|
|
51
|
+
interface type {
|
|
52
|
+
type: string;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -31,7 +31,7 @@ export declare class LinkEditorComponent {
|
|
|
31
31
|
changeButtonStyle(): void;
|
|
32
32
|
getContrastTextColor(backgroundHex: any): void;
|
|
33
33
|
backgroundType: string[];
|
|
34
|
-
setBorderRadius(): "0px" | "
|
|
34
|
+
setBorderRadius(): "0px" | "7px" | "99px";
|
|
35
35
|
setBorder(): string;
|
|
36
36
|
setColor(): any;
|
|
37
37
|
setBackground(): any;
|
|
@@ -27,7 +27,7 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
|
|
|
27
27
|
get spacingLayout(): SpacingModel;
|
|
28
28
|
get alignmentLayout(): import("simpo-component-library").ALIGN | undefined;
|
|
29
29
|
get fitLayout(): import("simpo-component-library").FIT | undefined;
|
|
30
|
-
getTextColor(bgColor: string): "#
|
|
30
|
+
getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
|
|
32
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<BannerGridSectionComponent, "simpo-banner-grid-section", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
33
|
}
|
|
@@ -29,7 +29,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
|
|
|
29
29
|
canShowContactField(field: any): any;
|
|
30
30
|
shouldShowDropdown(field: any): boolean;
|
|
31
31
|
getCardStyle(): {};
|
|
32
|
-
getTextColor(bgColor: string): "#
|
|
32
|
+
getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
|
|
33
33
|
getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
|
|
35
35
|
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; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -107,7 +107,7 @@ export declare class HeaderSectionComponent implements OnInit, AfterViewInit, On
|
|
|
107
107
|
get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
|
|
108
108
|
get getNavbarButton(): any[];
|
|
109
109
|
isScrolled: boolean;
|
|
110
|
-
setColor(): "#
|
|
110
|
+
setColor(): "#ffffff" | "#000000";
|
|
111
111
|
showList: boolean;
|
|
112
112
|
dropdownLeft: number;
|
|
113
113
|
dropdownTop: number;
|
|
@@ -22,7 +22,7 @@ export declare class MovingTextComponent extends BaseSection {
|
|
|
22
22
|
private transitionToNext;
|
|
23
23
|
isItemVisible(index: number): boolean;
|
|
24
24
|
getItemClass(index: number): string;
|
|
25
|
-
getTextColor(bgColor: string): "#
|
|
25
|
+
getTextColor(bgColor: string): "#ffffff" | "#000000";
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<MovingTextComponent, never>;
|
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<MovingTextComponent, "simpo-moving-text", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
28
|
}
|
|
@@ -18,7 +18,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
|
18
18
|
constructor(_eventService: EventsService);
|
|
19
19
|
ngOnInit(): void;
|
|
20
20
|
get stylesLayout(): LayOutModel;
|
|
21
|
-
getTextColor(): "#
|
|
21
|
+
getTextColor(): "#ffffff" | "#000000";
|
|
22
22
|
get headingSpace(): SPACING;
|
|
23
23
|
getButtonId(): string;
|
|
24
24
|
editSection(): void;
|
|
@@ -53,9 +53,6 @@ export declare class EventsService implements OnInit {
|
|
|
53
53
|
emitCountDownDate: EventEmitter<any>;
|
|
54
54
|
showDummyCartItems: EventEmitter<boolean>;
|
|
55
55
|
menuList: EventEmitter<unknown>;
|
|
56
|
-
openButtonEditor: EventEmitter<unknown>;
|
|
57
|
-
openImageEditor: EventEmitter<unknown>;
|
|
58
|
-
openTextEditor: EventEmitter<unknown>;
|
|
59
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventsService, never>;
|
|
60
57
|
static ɵprov: i0.ɵɵInjectableDeclaration<EventsService>;
|
|
61
58
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|