simpo-component-library 3.6.989 → 3.6.991
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/button-editor.directive.mjs +1 -1
- package/esm2022/lib/directive/image-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/image-editor.directive.mjs +1 -1
- package/esm2022/lib/directive/image-position.directive.mjs +1 -1
- package/esm2022/lib/directive/merge-header.directive.mjs +1 -1
- package/esm2022/lib/directive/spacing-around.directive.mjs +1 -1
- package/esm2022/lib/directive/video-directive.directive.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/brands-with-image-background-columns/brands-with-image-background-columns.component.mjs +35 -0
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/categories-with-image-background-columns/categories-with-image-background-columns.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/featured-brand/featured-brand.component.mjs +168 -0
- package/esm2022/lib/ecommerce/sections/featured-brand/featured-brand.modal.mjs +2 -0
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +7 -8
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +34 -10
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
- package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
- package/esm2022/lib/elements/add-section/add-section.component.mjs +3 -3
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +1 -1
- package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +1 -1
- package/esm2022/lib/elements/editor-service.service.mjs +1 -1
- package/esm2022/lib/elements/link-editor/link-editor.component.mjs +3 -3
- package/esm2022/lib/elements/media-selector/media-selector.component.mjs +3 -3
- package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +3 -3
- package/esm2022/lib/elements/text-editor/text-editor.component.mjs +9 -9
- package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +1 -1
- package/esm2022/lib/pipes/gender.pipe.mjs +1 -1
- package/esm2022/lib/sections/BaseSection.mjs +1 -1
- package/esm2022/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.mjs +3 -3
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
- package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/brand-story-section/brand-story-section.component.mjs +3 -3
- package/esm2022/lib/sections/brand-story-section/brand-story-section.modal.mjs +1 -1
- package/esm2022/lib/sections/button-grid-section/button-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
- package/esm2022/lib/sections/condensed-and-gradient/condensed-and-gradient.component.mjs +3 -3
- package/esm2022/lib/sections/countdown-banner/countdown-banner.component.model.mjs +1 -1
- package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.component.mjs +3 -3
- package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.modal.mjs +1 -1
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
- package/esm2022/lib/sections/feature-experience-section/feature-experience-section.component.mjs +3 -3
- package/esm2022/lib/sections/feature-experience-section/feature-experience-section.modal.mjs +1 -1
- package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
- package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
- package/esm2022/lib/sections/four-features-centered-image/four-features-centered-image.component.mjs +3 -3
- package/esm2022/lib/sections/four-features-centered-image/four-features-centered-image.modal.mjs +1 -1
- package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
- package/esm2022/lib/sections/image-background/image-background/image-background.component.mjs +3 -3
- package/esm2022/lib/sections/image-background/image-background/image-background.component.model.mjs +1 -1
- package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
- package/esm2022/lib/sections/image-grid-hotspot/image-grid-hotspot.component.mjs +3 -3
- package/esm2022/lib/sections/image-grid-hotspot/image-grid-hotspot.model.mjs +1 -1
- package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
- package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
- package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
- package/esm2022/lib/sections/new-services/new-services.component.mjs +3 -3
- package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
- package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +3 -3
- package/esm2022/lib/sections/overlapping-image/overlapping-image.component.mjs +3 -3
- package/esm2022/lib/sections/overlapping-image/overlapping-image.component.modal.mjs +1 -1
- package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
- package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
- package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
- package/esm2022/lib/sections/product-info-section/product-info-section.component.mjs +3 -3
- package/esm2022/lib/sections/product-info-section/product-info-section.component.modal.mjs +1 -1
- package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +3 -3
- package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
- package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
- 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.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-masonry/testimonial-masonry.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-masonry/testimonial-masonry.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-slider/testimonial-slider.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-slider/testimonial-slider.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +3 -3
- package/esm2022/lib/sections/video-carousel-section/video-carousel-section.component.mjs +3 -3
- package/esm2022/lib/sections/video-carousel-section/video-carousel.model.mjs +1 -1
- package/esm2022/lib/sections/video-grid-section/video-grid-section.model.mjs +1 -1
- package/esm2022/lib/sections/video-showcase/video-showcase.component.mjs +3 -3
- package/esm2022/lib/services/events.service.mjs +2 -1
- package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
- package/esm2022/lib/services/storage.service.mjs +5 -9
- package/esm2022/lib/styles/gradient-extension.mjs +1 -1
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/esm2022/lib/styles/text-size.extension.mjs +1 -1
- package/esm2022/lib/styles/types.mjs +1 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/simpo-component-library.mjs +325 -135
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/brands-with-image-background-columns/brands-with-image-background-columns.component.d.ts +17 -0
- package/lib/ecommerce/sections/featured-brand/featured-brand.component.d.ts +42 -0
- package/lib/ecommerce/sections/featured-brand/featured-brand.modal.d.ts +25 -0
- package/lib/services/events.service.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/simpo-component-library-3.6.991.tgz +0 -0
- package/simpo-component-library-3.6.989.tgz +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Brand } from '../../styles/Brand.modal';
|
|
2
|
+
import { FeaturedBrandContentModal, FeaturedBrandStylesModel } from '../featured-brand/featured-brand.modal';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BrandsWithImageBackgroundColumnsComponent {
|
|
6
|
+
private readonly router;
|
|
7
|
+
responseData?: Brand[];
|
|
8
|
+
styles?: FeaturedBrandStylesModel;
|
|
9
|
+
content?: FeaturedBrandContentModal;
|
|
10
|
+
constructor(router: Router);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
hover: boolean;
|
|
13
|
+
hoveredIndex: number | null;
|
|
14
|
+
redirectToListPage(brand: any): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrandsWithImageBackgroundColumnsComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrandsWithImageBackgroundColumnsComponent, "simpo-brands-with-image-background-columns", never, { "responseData": { "alias": "responseData"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { EventsService } from '.././../../services/events.service';
|
|
3
|
+
import BaseSection from '../../../sections/BaseSection';
|
|
4
|
+
import { FeaturedBrandContentModal, FeaturedBrandModal, FeaturedBrandStylesModel } from './featured-brand.modal';
|
|
5
|
+
import { Brand } from '../../styles/Brand.modal';
|
|
6
|
+
import { RestService } from '../../../services/rest.service';
|
|
7
|
+
import { Router } from '@angular/router';
|
|
8
|
+
import { BackgroundModel, LayOutModel } from '../../../styles/style.model';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class FeaturedBrandComponent extends BaseSection {
|
|
11
|
+
private platformId;
|
|
12
|
+
private readonly router;
|
|
13
|
+
private readonly restService;
|
|
14
|
+
private readonly _eventService;
|
|
15
|
+
brandParent: ElementRef<HTMLElement>;
|
|
16
|
+
data?: FeaturedBrandModal | any;
|
|
17
|
+
responseData?: Brand[] | any[];
|
|
18
|
+
index?: number;
|
|
19
|
+
edit?: boolean;
|
|
20
|
+
delete?: boolean;
|
|
21
|
+
customClass?: string;
|
|
22
|
+
isLoading: boolean;
|
|
23
|
+
nextComponentColor?: BackgroundModel;
|
|
24
|
+
content?: FeaturedBrandContentModal;
|
|
25
|
+
styles?: FeaturedBrandStylesModel;
|
|
26
|
+
constructor(platformId: Object, router: Router, restService: RestService, _eventService: EventsService);
|
|
27
|
+
ngOnInit(): Promise<void>;
|
|
28
|
+
allBrands: any[];
|
|
29
|
+
getAllBrands(): void;
|
|
30
|
+
allBrandsSelected(): void;
|
|
31
|
+
getBrandsById(): void;
|
|
32
|
+
dropBrand(startIdx: number, endIdx: number): void;
|
|
33
|
+
getSliceParameters(): number[];
|
|
34
|
+
redirectToListPage(brand: any): void;
|
|
35
|
+
editSection(): void;
|
|
36
|
+
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
37
|
+
get stylesLayout(): LayOutModel;
|
|
38
|
+
get isMobile(): boolean;
|
|
39
|
+
getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedBrandComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedBrandComponent, "simpo-featured-brand", 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>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { InputTextModel, StylesModel } from "../../../styles/style.model";
|
|
2
|
+
import { Corners } from "../../.././styles/index";
|
|
3
|
+
import { Display } from "../featured-products/featured-products.modal";
|
|
4
|
+
export interface FeaturedBrandModal {
|
|
5
|
+
id: string;
|
|
6
|
+
sectionType: string;
|
|
7
|
+
sectionName: string;
|
|
8
|
+
content: FeaturedBrandContentModal;
|
|
9
|
+
styles: FeaturedBrandStylesModel;
|
|
10
|
+
}
|
|
11
|
+
export interface FeaturedBrandContentModal {
|
|
12
|
+
inputText: InputTextModel[];
|
|
13
|
+
collectionId?: string;
|
|
14
|
+
collectionIds?: string[];
|
|
15
|
+
display: Display;
|
|
16
|
+
brandsIds: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface FeaturedBrandStylesModel extends StylesModel {
|
|
19
|
+
maximumProduct: number;
|
|
20
|
+
direction: "ROW" | "COLUMN";
|
|
21
|
+
containerHeight: number;
|
|
22
|
+
containerWidth: number;
|
|
23
|
+
corners: Corners;
|
|
24
|
+
componentStyle: string;
|
|
25
|
+
}
|
|
@@ -42,6 +42,7 @@ export declare class EventsService implements OnInit {
|
|
|
42
42
|
categoryProductList: EventEmitter<string>;
|
|
43
43
|
collectionsListEvent: EventEmitter<string[]>;
|
|
44
44
|
categoryListEvent: EventEmitter<string>;
|
|
45
|
+
brandListEvent: EventEmitter<string>;
|
|
45
46
|
activateSmartSearch: EventEmitter<boolean>;
|
|
46
47
|
showLoadingScreen: EventEmitter<boolean>;
|
|
47
48
|
environmentType: EventEmitter<string>;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export * from './lib/sections/testimonial-masonry/testimonial-masonry.component'
|
|
|
53
53
|
export * from './lib/sections/testimonial-masonry/testimonial-masonry.model';
|
|
54
54
|
export * from './lib/ecommerce/sections/featured-products/featured-products.component';
|
|
55
55
|
export * from './lib/ecommerce/sections/featured-category/featured-category.component';
|
|
56
|
+
export * from './lib/ecommerce/sections/featured-brand/featured-brand.component';
|
|
56
57
|
export * from './lib/ecommerce/sections/product-desc/product-desc.component';
|
|
57
58
|
export * from './lib/ecommerce/sections/product-list/product-list.component';
|
|
58
59
|
export * from './lib/ecommerce/sections/cart/cart.component';
|
|
Binary file
|
|
Binary file
|