simpo-component-library 3.6.846 → 3.6.847
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/hover-elements/hover-elements.component.mjs +17 -6
- 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 +1 -1
- 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/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-desc/product-desc.component.mjs +3 -3
- 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/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 +1 -1
- package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
- 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 +3 -3
- 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/elements/text-editor/text-editor.component.mjs +281 -500
- 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-masonry/testimonial-masonry.component.mjs +110 -0
- package/esm2022/lib/sections/testimonial-masonry/testimonial-masonry.model.mjs +2 -0
- 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/image-upload-service.service.mjs +1 -1
- package/esm2022/lib/styles/gradient-extension.mjs +38 -0
- package/esm2022/lib/styles/text-size.extension.mjs +44 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/simpo-component-library.mjs +590 -641
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/hover-elements/hover-elements.component.d.ts +3 -0
- package/lib/components/input-fields/input-fields.component.d.ts +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
- package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
- package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
- package/lib/elements/text-editor/text-editor.component.d.ts +35 -50
- 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/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/logo-showcase/logo-showcase.component.d.ts +2 -2
- 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/testimonial-masonry/testimonial-masonry.component.d.ts +30 -0
- package/lib/sections/testimonial-masonry/testimonial-masonry.model.d.ts +24 -0
- package/lib/styles/gradient-extension.d.ts +2 -0
- package/lib/styles/text-size.extension.d.ts +10 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/simpo-component-library-3.6.847.tgz +0 -0
- package/simpo-component-library-3.6.846.tgz +0 -0
|
@@ -14,6 +14,9 @@ export declare class HoverElementsComponent implements OnInit {
|
|
|
14
14
|
isMerged: boolean;
|
|
15
15
|
isEcommerce: boolean;
|
|
16
16
|
ngOnInit(): void;
|
|
17
|
+
isMenuOpen: boolean;
|
|
18
|
+
toggleMenu(event: Event): void;
|
|
19
|
+
onDocumentClick(): void;
|
|
17
20
|
editSection(): void;
|
|
18
21
|
restyleSection(event: any): void;
|
|
19
22
|
changeContent(event: any): void;
|
|
@@ -13,7 +13,7 @@ export declare class InputFieldsComponent implements OnChanges {
|
|
|
13
13
|
constructor(elementRef: ElementRef);
|
|
14
14
|
ngOnChanges(changes: SimpleChanges): void;
|
|
15
15
|
handleMoneyInput(event: any): void;
|
|
16
|
-
get getTextColor(): "#
|
|
16
|
+
get getTextColor(): "#000" | "#FFF";
|
|
17
17
|
interpolateColor(color1: string, color2: string, factor: number): string;
|
|
18
18
|
padZero(str: string, length: number): string;
|
|
19
19
|
generateColorBasedOnNumber(number: number): string;
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
|
94
94
|
validateNumber(event: KeyboardEvent): void;
|
|
95
95
|
validateOTP(event: KeyboardEvent): void;
|
|
96
96
|
checkStrength(): void;
|
|
97
|
-
getStrengthColor(index: number): "
|
|
97
|
+
getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
|
|
98
98
|
emailDebounceTimer: any;
|
|
99
99
|
onEmailChange(): void;
|
|
100
100
|
emailCheck: boolean;
|
|
@@ -124,7 +124,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
124
124
|
getTextColor(color: any): "#000000" | "#ffffff";
|
|
125
125
|
languages: string[];
|
|
126
126
|
selectedLang: string;
|
|
127
|
-
getClass(map: any): "col-
|
|
127
|
+
getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
|
|
128
128
|
onFindInStore(id: string): void;
|
|
129
129
|
onBookAppointment(): void;
|
|
130
130
|
isDetails: boolean;
|
|
@@ -21,7 +21,7 @@ export declare class SchemesComponent extends BaseSection {
|
|
|
21
21
|
get stylesLayout(): LayOutModel;
|
|
22
22
|
get spacingLayout(): SpacingModel;
|
|
23
23
|
getParentClass(): "" | "overflow-scroll flex-nowrap";
|
|
24
|
-
getClass(index: number): "col-12" | "col-6" | "col-
|
|
24
|
+
getClass(index: number): "col-12" | "col-6 mb-2" | "col-12 mb-2" | "col-6";
|
|
25
25
|
showSchemeDetails(scheme: any): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
|
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<SchemesComponent, "simpo-schemes", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, 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(data: any): void;
|
|
18
|
-
getClass(): "col-
|
|
18
|
+
getClass(): "col-12" | "col-4" | "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
|
}
|
|
@@ -1,65 +1,50 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter,
|
|
2
|
-
import {
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { Editor } from '@tiptap/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TextEditorComponent {
|
|
5
|
-
private editorService;
|
|
6
|
-
private platformId;
|
|
7
|
-
private ngZone;
|
|
8
|
-
toolbar: ElementRef;
|
|
9
|
-
editor: ElementRef;
|
|
10
|
-
colorPicker: ElementRef;
|
|
11
|
-
parentElement: ElementRef;
|
|
12
|
-
suggestion: ElementRef;
|
|
13
|
-
private lastGradientSpan;
|
|
4
|
+
export declare class TextEditorComponent implements OnDestroy, AfterViewInit {
|
|
14
5
|
value: string;
|
|
15
6
|
valueChange: EventEmitter<string>;
|
|
16
7
|
editable: boolean;
|
|
17
8
|
sectionId?: string;
|
|
18
9
|
label?: string;
|
|
19
10
|
type?: string;
|
|
20
|
-
|
|
11
|
+
editorElement: ElementRef;
|
|
12
|
+
editor: Editor;
|
|
13
|
+
selectedFontSize: string;
|
|
14
|
+
showToolbar: boolean;
|
|
15
|
+
toolbarX: number;
|
|
21
16
|
toolbarY: number;
|
|
22
|
-
|
|
23
|
-
rightZero: boolean;
|
|
24
|
-
showSuggestion: boolean;
|
|
25
|
-
toolbarData: any;
|
|
26
|
-
selectedColorType: 'SOLID' | 'GRADIENT';
|
|
17
|
+
selectedColor: string;
|
|
27
18
|
primaryColor: string;
|
|
28
|
-
secondaryColor:
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
secondaryColor: string;
|
|
20
|
+
isColorPickerOpen: boolean;
|
|
21
|
+
selectedColorType: 'SOLID' | 'GRADIENT';
|
|
31
22
|
ngOnDestroy(): void;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
showToolbar(event: MouseEvent): void;
|
|
36
|
-
rememberSelection(e: MouseEvent): void;
|
|
37
|
-
private getActiveRange;
|
|
38
|
-
setColorMode(mode: 'SOLID' | 'GRADIENT'): void;
|
|
39
|
-
private wrapRangeWithGradient;
|
|
40
|
-
private unwrapGradientInRange;
|
|
41
|
-
hideToolbar(event: MouseEvent): void;
|
|
42
|
-
formatText(command: string, value?: string): void;
|
|
43
|
-
updateFSforOL(): void;
|
|
44
|
-
private setStyleWithCSS;
|
|
45
|
-
private toLegacyFontStep;
|
|
46
|
-
private normalizeFontSizeToCss;
|
|
47
|
-
changeFontSize(event: any): void;
|
|
48
|
-
changeColor(event: any): void;
|
|
49
|
-
updateText(event: Event): void;
|
|
50
|
-
onFormatChange(event: Event): void;
|
|
51
|
-
openColorPicker(): void;
|
|
52
|
-
readFormattingProperties(): void;
|
|
53
|
-
reFormattingData(): void;
|
|
54
|
-
changeGradientColor(): void;
|
|
55
|
-
applyGradientToText(gradientValue: string): void;
|
|
56
|
-
regenerateText(): void;
|
|
57
|
-
private savedRange;
|
|
23
|
+
ngAfterViewInit(): void;
|
|
24
|
+
initializeEditor(): void;
|
|
25
|
+
savedSelection: any;
|
|
58
26
|
saveSelection(): void;
|
|
59
27
|
restoreSelection(): void;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
28
|
+
switchToSolid(event: Event): void;
|
|
29
|
+
switchToGradient(event: Event): void;
|
|
30
|
+
openColorPicker(): void;
|
|
31
|
+
handleWindowFocus: () => void;
|
|
32
|
+
handleSelection(): void;
|
|
33
|
+
toggleBold(): void;
|
|
34
|
+
toggleItalic(): void;
|
|
35
|
+
toggleUnderline(): void;
|
|
36
|
+
toggleOrderedList(): void;
|
|
37
|
+
toggleBulletList(): void;
|
|
38
|
+
setAlign(alignment: 'left' | 'center' | 'right'): void;
|
|
39
|
+
onMouseDown(): void;
|
|
40
|
+
isFontSizeMenuOpen: boolean;
|
|
41
|
+
toolbarData: any;
|
|
42
|
+
toggleFontSizeMenu(event: Event): void;
|
|
43
|
+
getDisplayFontSize(): string;
|
|
44
|
+
selectCustomFontSize(cssSize: string, event: Event): void;
|
|
45
|
+
changeFontSize(fontSize: string): void;
|
|
46
|
+
changeColor(): void;
|
|
47
|
+
applyGradient(): void;
|
|
63
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, never>;
|
|
64
49
|
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; }; "type": { "alias": "type"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
65
50
|
}
|
|
@@ -33,8 +33,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
|
33
33
|
get stylesLayout(): LayOutModel;
|
|
34
34
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
|
35
35
|
get getBackgroundColor(): BackgroundModel;
|
|
36
|
-
get getBackgroundOpacity(): "
|
|
37
|
-
opacityValue(value: OverlayValue): "
|
|
36
|
+
get getBackgroundOpacity(): "0.5" | "0.7" | "0" | "0.6" | "0.8" | "1";
|
|
37
|
+
opacityValue(value: OverlayValue): "0.5" | "0.7" | "0.6" | "0.8" | "1";
|
|
38
38
|
editSection(): void;
|
|
39
39
|
getScreenSize(): number;
|
|
40
40
|
getSectionMinHeight(): string;
|
|
@@ -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" | "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,9 +20,9 @@ export declare class ImageSectionComponent extends BaseSection {
|
|
|
20
20
|
constructor(_eventService: EventsService);
|
|
21
21
|
ngOnInit(): void;
|
|
22
22
|
get canMergeNavbar(): boolean | undefined;
|
|
23
|
-
get getBackgroundOpacity(): "
|
|
23
|
+
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
|
|
24
24
|
get stylesLayout(): LayOutModel;
|
|
25
|
-
opacityValue(value: OverlayValue): "
|
|
25
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
|
|
26
26
|
editSection(): void;
|
|
27
27
|
redirectTo(): void;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
|
|
@@ -23,8 +23,8 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
|
|
|
23
23
|
constructor(_eventService: EventsService);
|
|
24
24
|
ngOnInit(): void;
|
|
25
25
|
get stylesLayout(): LayOutModel;
|
|
26
|
-
get animationDuration(): "
|
|
27
|
-
get animationDirection():
|
|
26
|
+
get animationDuration(): "18s" | "6s" | "5s" | "4s" | "3s" | logoSpeed.Normal;
|
|
27
|
+
get animationDirection(): "reverse" | "normal" | logoDirection.Left;
|
|
28
28
|
get isMobile(): boolean;
|
|
29
29
|
get getPositionLayout(): PositionLayoutModal;
|
|
30
30
|
screenWidth: number;
|
|
@@ -24,7 +24,7 @@ export declare class NewTestimonialsComponent extends BaseSection {
|
|
|
24
24
|
idx: number;
|
|
25
25
|
getImageData(): import("../../styles/style.model").Image | undefined;
|
|
26
26
|
getImageUrl(): string | undefined;
|
|
27
|
-
getImageType(): "
|
|
27
|
+
getImageType(): "Video" | "Image";
|
|
28
28
|
getLength(): number;
|
|
29
29
|
editSection(): void;
|
|
30
30
|
stopPropagation(event: any): void;
|
|
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
|
23
23
|
getButtonId(): string;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
redirectTo(data: any): void;
|
|
26
|
-
getClass(): "col-
|
|
26
|
+
getClass(): "col-12" | "col-6" | "col-4" | "col-3";
|
|
27
27
|
getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
|
29
29
|
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>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BackgroundModel, LayOutModel } from '../../styles/style.model';
|
|
3
|
+
import { EventsService } from '../../services/events.service';
|
|
4
|
+
import BaseSection from '../BaseSection';
|
|
5
|
+
import { TestimonialMasonryContentModel, TestimonialMasonryModel, TestimonialMasonryStyleModel } from './testimonial-masonry.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TestimonialMasonryComponent extends BaseSection implements OnInit {
|
|
8
|
+
private _eventService;
|
|
9
|
+
data?: TestimonialMasonryModel | any;
|
|
10
|
+
edit?: boolean;
|
|
11
|
+
delete?: boolean;
|
|
12
|
+
customClass?: string;
|
|
13
|
+
nextComponentColor?: BackgroundModel;
|
|
14
|
+
index?: number;
|
|
15
|
+
content?: TestimonialMasonryContentModel;
|
|
16
|
+
styles?: TestimonialMasonryStyleModel;
|
|
17
|
+
screenWidth: number;
|
|
18
|
+
constructor(_eventService: EventsService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
get stylesLayout(): LayOutModel;
|
|
21
|
+
get activeItems(): import("./testimonial-masonry.model").TestimonialMasonryItemModel[];
|
|
22
|
+
getQuote(item: any): string;
|
|
23
|
+
getAuthor(item: any): string;
|
|
24
|
+
getRole(item: any): string;
|
|
25
|
+
getAvatarUrl(item: any): string;
|
|
26
|
+
editSection(): void;
|
|
27
|
+
getScreenSize(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TestimonialMasonryComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TestimonialMasonryComponent, "simpo-testimonial-masonry", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Image, InputTextModel, ListItemModal, StylesModel, BannerStylesModel, ActionModel } from '../../styles/style.model';
|
|
2
|
+
export interface TestimonialMasonryModel {
|
|
3
|
+
id: string;
|
|
4
|
+
sectionType: string;
|
|
5
|
+
sectionName: string;
|
|
6
|
+
content: TestimonialMasonryContentModel;
|
|
7
|
+
styles: TestimonialMasonryStyleModel;
|
|
8
|
+
action?: ActionModel;
|
|
9
|
+
}
|
|
10
|
+
export interface TestimonialMasonryContentModel {
|
|
11
|
+
inputText: InputTextModel[];
|
|
12
|
+
display?: {
|
|
13
|
+
showImage?: boolean;
|
|
14
|
+
showCard?: boolean;
|
|
15
|
+
};
|
|
16
|
+
listItem: ListItemModal<TestimonialMasonryItemModel>;
|
|
17
|
+
}
|
|
18
|
+
export interface TestimonialMasonryItemModel {
|
|
19
|
+
status: boolean;
|
|
20
|
+
image: Image;
|
|
21
|
+
inputText: InputTextModel[];
|
|
22
|
+
}
|
|
23
|
+
export interface TestimonialMasonryStyleModel extends StylesModel, BannerStylesModel {
|
|
24
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
declare module '@tiptap/core' {
|
|
3
|
+
interface Commands<ReturnType> {
|
|
4
|
+
fontSize: {
|
|
5
|
+
setFontSize: (size: string) => ReturnType;
|
|
6
|
+
unsetFontSize: () => ReturnType;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare const FontSize: Extension<any, any>;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -49,6 +49,8 @@ export * from './lib/sections/scheme-detail/scheme-detail.component';
|
|
|
49
49
|
export * from './lib/ecommerce/sections/schemes/schemes.component';
|
|
50
50
|
export * from './lib/sections/image-grid-hotspot/image-grid-hotspot.component';
|
|
51
51
|
export * from './lib/sections/testimonial-slider/testimonial-slider.component';
|
|
52
|
+
export * from './lib/sections/testimonial-masonry/testimonial-masonry.component';
|
|
53
|
+
export * from './lib/sections/testimonial-masonry/testimonial-masonry.model';
|
|
52
54
|
export * from './lib/ecommerce/sections/featured-products/featured-products.component';
|
|
53
55
|
export * from './lib/ecommerce/sections/featured-category/featured-category.component';
|
|
54
56
|
export * from './lib/ecommerce/sections/product-desc/product-desc.component';
|
|
Binary file
|
|
Binary file
|