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.
Files changed (115) hide show
  1. package/esm2022/lib/directive/button-editor.directive.mjs +1 -1
  2. package/esm2022/lib/directive/image-directive.directive.mjs +1 -1
  3. package/esm2022/lib/directive/image-editor.directive.mjs +1 -1
  4. package/esm2022/lib/directive/image-position.directive.mjs +1 -1
  5. package/esm2022/lib/directive/merge-header.directive.mjs +1 -1
  6. package/esm2022/lib/directive/spacing-around.directive.mjs +1 -1
  7. package/esm2022/lib/directive/video-directive.directive.mjs +1 -1
  8. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -3
  9. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +3 -3
  10. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.model.mjs +1 -1
  11. package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +3 -3
  12. package/esm2022/lib/ecommerce/sections/brands-with-image-background-columns/brands-with-image-background-columns.component.mjs +35 -0
  13. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
  14. package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
  15. package/esm2022/lib/ecommerce/sections/categories-with-image-background-columns/categories-with-image-background-columns.component.mjs +3 -3
  16. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
  17. package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
  18. package/esm2022/lib/ecommerce/sections/featured-brand/featured-brand.component.mjs +168 -0
  19. package/esm2022/lib/ecommerce/sections/featured-brand/featured-brand.modal.mjs +2 -0
  20. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +1 -1
  21. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
  22. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +1 -1
  23. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +7 -8
  24. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
  25. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
  26. package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.component.mjs +3 -3
  27. package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.modal.mjs +1 -1
  28. package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +1 -1
  29. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +5 -5
  30. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +34 -10
  31. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  32. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
  33. package/esm2022/lib/elements/add-section/add-section.component.mjs +3 -3
  34. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +1 -1
  35. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +1 -1
  36. package/esm2022/lib/elements/editor-service.service.mjs +1 -1
  37. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +3 -3
  38. package/esm2022/lib/elements/media-selector/media-selector.component.mjs +3 -3
  39. package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +3 -3
  40. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +9 -9
  41. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +1 -1
  42. package/esm2022/lib/pipes/gender.pipe.mjs +1 -1
  43. package/esm2022/lib/sections/BaseSection.mjs +1 -1
  44. package/esm2022/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.mjs +3 -3
  45. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
  46. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  47. package/esm2022/lib/sections/brand-story-section/brand-story-section.component.mjs +3 -3
  48. package/esm2022/lib/sections/brand-story-section/brand-story-section.modal.mjs +1 -1
  49. package/esm2022/lib/sections/button-grid-section/button-grid-section.component.mjs +3 -3
  50. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
  51. package/esm2022/lib/sections/condensed-and-gradient/condensed-and-gradient.component.mjs +3 -3
  52. package/esm2022/lib/sections/countdown-banner/countdown-banner.component.model.mjs +1 -1
  53. package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.component.mjs +3 -3
  54. package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.modal.mjs +1 -1
  55. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  56. package/esm2022/lib/sections/feature-experience-section/feature-experience-section.component.mjs +3 -3
  57. package/esm2022/lib/sections/feature-experience-section/feature-experience-section.modal.mjs +1 -1
  58. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  59. package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
  60. package/esm2022/lib/sections/four-features-centered-image/four-features-centered-image.component.mjs +3 -3
  61. package/esm2022/lib/sections/four-features-centered-image/four-features-centered-image.modal.mjs +1 -1
  62. package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
  63. package/esm2022/lib/sections/image-background/image-background/image-background.component.mjs +3 -3
  64. package/esm2022/lib/sections/image-background/image-background/image-background.component.model.mjs +1 -1
  65. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  66. package/esm2022/lib/sections/image-grid-hotspot/image-grid-hotspot.component.mjs +3 -3
  67. package/esm2022/lib/sections/image-grid-hotspot/image-grid-hotspot.model.mjs +1 -1
  68. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  69. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
  70. package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
  71. package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
  72. package/esm2022/lib/sections/new-services/new-services.component.mjs +3 -3
  73. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
  74. package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +3 -3
  75. package/esm2022/lib/sections/overlapping-image/overlapping-image.component.mjs +3 -3
  76. package/esm2022/lib/sections/overlapping-image/overlapping-image.component.modal.mjs +1 -1
  77. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  78. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
  79. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  80. package/esm2022/lib/sections/product-info-section/product-info-section.component.mjs +3 -3
  81. package/esm2022/lib/sections/product-info-section/product-info-section.component.modal.mjs +1 -1
  82. package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +3 -3
  83. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  84. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  85. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  86. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  87. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
  88. package/esm2022/lib/sections/testimonial-masonry/testimonial-masonry.component.mjs +3 -3
  89. package/esm2022/lib/sections/testimonial-masonry/testimonial-masonry.model.mjs +1 -1
  90. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  91. package/esm2022/lib/sections/testimonial-slider/testimonial-slider.component.mjs +3 -3
  92. package/esm2022/lib/sections/testimonial-slider/testimonial-slider.model.mjs +1 -1
  93. package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +3 -3
  94. package/esm2022/lib/sections/video-carousel-section/video-carousel-section.component.mjs +3 -3
  95. package/esm2022/lib/sections/video-carousel-section/video-carousel.model.mjs +1 -1
  96. package/esm2022/lib/sections/video-grid-section/video-grid-section.model.mjs +1 -1
  97. package/esm2022/lib/sections/video-showcase/video-showcase.component.mjs +3 -3
  98. package/esm2022/lib/services/events.service.mjs +2 -1
  99. package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
  100. package/esm2022/lib/services/storage.service.mjs +5 -9
  101. package/esm2022/lib/styles/gradient-extension.mjs +1 -1
  102. package/esm2022/lib/styles/style.model.mjs +1 -1
  103. package/esm2022/lib/styles/text-size.extension.mjs +1 -1
  104. package/esm2022/lib/styles/types.mjs +1 -1
  105. package/esm2022/public-api.mjs +2 -1
  106. package/fesm2022/simpo-component-library.mjs +325 -135
  107. package/fesm2022/simpo-component-library.mjs.map +1 -1
  108. package/lib/ecommerce/sections/brands-with-image-background-columns/brands-with-image-background-columns.component.d.ts +17 -0
  109. package/lib/ecommerce/sections/featured-brand/featured-brand.component.d.ts +42 -0
  110. package/lib/ecommerce/sections/featured-brand/featured-brand.modal.d.ts +25 -0
  111. package/lib/services/events.service.d.ts +1 -0
  112. package/package.json +1 -1
  113. package/public-api.d.ts +1 -0
  114. package/simpo-component-library-3.6.991.tgz +0 -0
  115. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.989",
3
+ "version": "3.6.991",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
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