simpo-component-library 3.6.880 → 3.6.882

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 (76) hide show
  1. package/esm2022/lib/directive/button-editor.directive.mjs +1 -1
  2. package/esm2022/lib/directive/image-editor.directive.mjs +1 -1
  3. package/esm2022/lib/directive/sticky-directive.mjs +30 -30
  4. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +4 -4
  5. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
  6. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +4 -4
  7. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +4 -4
  8. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +4 -4
  9. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +4 -4
  10. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +3 -3
  11. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +3 -3
  12. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +3 -3
  13. package/esm2022/lib/elements/add-section/add-section.component.mjs +163 -16
  14. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  15. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  16. package/esm2022/lib/elements/editor-service.service.mjs +7 -1
  17. package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +3 -3
  18. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +36 -16
  19. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  20. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +3 -3
  21. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
  22. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  23. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
  24. package/esm2022/lib/sections/brand-story-section/brand-story-section.component.mjs +3 -3
  25. package/esm2022/lib/sections/button-grid-section/button-grid-section.component.mjs +3 -3
  26. package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +3 -3
  27. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
  28. package/esm2022/lib/sections/condensed-and-gradient/condensed-and-gradient.component.mjs +3 -3
  29. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -3
  30. package/esm2022/lib/sections/countdown-banner/countdown-banner.component.mjs +2 -2
  31. package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.component.mjs +3 -3
  32. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  33. package/esm2022/lib/sections/feature-experience-section/feature-experience-section.component.mjs +3 -3
  34. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  35. package/esm2022/lib/sections/footer/footer.component.mjs +2 -2
  36. package/esm2022/lib/sections/four-features-centered-image/four-features-centered-image.component.mjs +2 -2
  37. package/esm2022/lib/sections/header-section/header-section.component.mjs +3 -3
  38. package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
  39. package/esm2022/lib/sections/image-background/image-background/image-background.component.mjs +3 -3
  40. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  41. package/esm2022/lib/sections/image-grid-hotspot/image-grid-hotspot.component.mjs +3 -3
  42. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  43. package/esm2022/lib/sections/image-section/image-section.component.mjs +4 -4
  44. package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
  45. package/esm2022/lib/sections/logo-gallery/logo-gallery.component.mjs +4 -4
  46. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
  47. package/esm2022/lib/sections/new-services/new-services.component.mjs +4 -4
  48. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +4 -4
  49. package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +3 -3
  50. package/esm2022/lib/sections/overlapping-image/overlapping-image.component.mjs +3 -3
  51. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  52. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
  53. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  54. package/esm2022/lib/sections/product-info-section/product-info-section.component.mjs +3 -3
  55. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
  56. package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +2 -2
  57. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  58. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  59. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
  60. package/esm2022/lib/sections/testimonial-masonry/testimonial-masonry.component.mjs +3 -3
  61. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +4 -4
  62. package/esm2022/lib/sections/testimonial-slider/testimonial-slider.component.mjs +4 -4
  63. package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +3 -3
  64. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +3 -3
  65. package/esm2022/lib/sections/text-section/text-section.component.mjs +3 -3
  66. package/esm2022/lib/sections/video-carousel-section/video-carousel-section.component.mjs +3 -3
  67. package/esm2022/lib/sections/video-grid-section/video-grid-section.component.mjs +3 -3
  68. package/fesm2022/simpo-component-library.mjs +362 -189
  69. package/fesm2022/simpo-component-library.mjs.map +1 -1
  70. package/lib/directive/sticky-directive.d.ts +0 -2
  71. package/lib/elements/add-section/add-section.component.d.ts +22 -1
  72. package/lib/elements/editor-service.service.d.ts +2 -0
  73. package/lib/elements/text-editor/text-editor.component.d.ts +3 -2
  74. package/package.json +1 -1
  75. package/simpo-component-library-3.6.882.tgz +0 -0
  76. package/simpo-component-library-3.6.880.tgz +0 -0
@@ -12,8 +12,6 @@ export declare class SimpoStickyDirective {
12
12
  constructor(el: ElementRef, router: Router, platformId: object);
13
13
  ngOnChanges(): void;
14
14
  ngAfterViewInit(): void;
15
- private addParentMargin;
16
- private removeParentMargin;
17
15
  ngOnDestroy(): void;
18
16
  static ɵfac: i0.ɵɵFactoryDeclaration<SimpoStickyDirective, never>;
19
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<SimpoStickyDirective, "[simpoSticky]", never, { "simpoSticky": { "alias": "simpoSticky"; "required": false; }; "categoryHeader": { "alias": "categoryHeader"; "required": false; }; }, {}, never, never, true, never>;
@@ -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>;
@@ -5,6 +5,7 @@ export declare class TextEditorComponent implements OnDestroy, AfterViewInit, On
5
5
  value: string;
6
6
  valueChange: EventEmitter<string>;
7
7
  editable: boolean;
8
+ isRTE: boolean | undefined;
8
9
  sectionId?: string;
9
10
  label?: string;
10
11
  type?: string;
@@ -50,8 +51,8 @@ export declare class TextEditorComponent implements OnDestroy, AfterViewInit, On
50
51
  changeColor(): void;
51
52
  applyGradient(): void;
52
53
  onHostClick(): void;
53
- onMouseDown(): void;
54
+ onMouseDown(event: MouseEvent): void;
54
55
  changeFontSize(fontSize: string): void;
55
56
  static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, never>;
56
- 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; }; "inputTextIndex": { "alias": "inputTextIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "simpo-text-editor", never, { "value": { "alias": "value"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "isRTE": { "alias": "isRTE"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "inputTextIndex": { "alias": "inputTextIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
57
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.880",
3
+ "version": "3.6.882",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file