simpo-component-library 3.5.45 → 3.5.52

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 (226) hide show
  1. package/README.md +24 -24
  2. package/esm2022/lib/components/delete-hover-element/delete-hover-element.component.mjs +5 -5
  3. package/esm2022/lib/components/document/document.component.mjs +5 -5
  4. package/esm2022/lib/components/hover-elements/hover-elements.component.mjs +4 -4
  5. package/esm2022/lib/components/image-loading/image-loading.component.mjs +5 -5
  6. package/esm2022/lib/components/index.mjs +5 -5
  7. package/esm2022/lib/components/input-fields/input-fields.component.mjs +4 -4
  8. package/esm2022/lib/components/payment-details/payment-details.component.mjs +103 -18
  9. package/esm2022/lib/components/trasport-availability/trasport-availability.component.mjs +36 -0
  10. package/esm2022/lib/constants/business.constant.mjs +1 -1
  11. package/esm2022/lib/directive/animation-directive.mjs +4 -4
  12. package/esm2022/lib/directive/background-directive.mjs +4 -4
  13. package/esm2022/lib/directive/banner-content-fit-directive.mjs +4 -4
  14. package/esm2022/lib/directive/blur-content.directive.mjs +4 -4
  15. package/esm2022/lib/directive/border-directive.mjs +4 -4
  16. package/esm2022/lib/directive/borderlessImage.directive.mjs +4 -4
  17. package/esm2022/lib/directive/button-directive.directive.mjs +4 -4
  18. package/esm2022/lib/directive/button-editor.directive.mjs +4 -4
  19. package/esm2022/lib/directive/color.directive.mjs +4 -4
  20. package/esm2022/lib/directive/column-directive.directive.mjs +4 -4
  21. package/esm2022/lib/directive/container-alignment.directive.mjs +4 -4
  22. package/esm2022/lib/directive/container-fir.directive.mjs +4 -4
  23. package/esm2022/lib/directive/content-alignment-directive.mjs +4 -4
  24. package/esm2022/lib/directive/content-fit-directive.mjs +4 -4
  25. package/esm2022/lib/directive/content-title-spacing.directive.mjs +4 -4
  26. package/esm2022/lib/directive/contenteditable.directive.mjs +4 -4
  27. package/esm2022/lib/directive/corner-directive.mjs +4 -4
  28. package/esm2022/lib/directive/footer-layout-directive.mjs +4 -4
  29. package/esm2022/lib/directive/hover-element-directive.mjs +4 -4
  30. package/esm2022/lib/directive/hoverborder.directive.mjs +4 -4
  31. package/esm2022/lib/directive/image-container.directive.mjs +4 -4
  32. package/esm2022/lib/directive/image-directive.directive.mjs +4 -4
  33. package/esm2022/lib/directive/image-editor.directive.mjs +4 -4
  34. package/esm2022/lib/directive/image-position.directive.mjs +4 -4
  35. package/esm2022/lib/directive/overlay-directive.mjs +4 -4
  36. package/esm2022/lib/directive/position-layout-directive.directive.mjs +4 -4
  37. package/esm2022/lib/directive/removeCarousel-directive.mjs +4 -4
  38. package/esm2022/lib/directive/spacing-around.directive.mjs +4 -4
  39. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +4 -4
  40. package/esm2022/lib/directive/sticky-directive.mjs +4 -4
  41. package/esm2022/lib/directive/text-background-directive.directive.mjs +4 -4
  42. package/esm2022/lib/directive/text-size.directive.mjs +4 -4
  43. package/esm2022/lib/directive/wrap-containers.directive.mjs +4 -4
  44. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +5 -5
  45. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +5 -5
  46. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +5 -5
  47. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.model.mjs +1 -1
  48. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +5 -7
  49. package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
  50. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +5 -5
  51. package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
  52. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +5 -5
  53. package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
  54. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +5 -5
  55. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.model.mjs +1 -1
  56. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +5 -5
  57. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
  58. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +5 -5
  59. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +5 -5
  60. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
  61. package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +5 -5
  62. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +5 -5
  63. package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +5 -5
  64. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +5 -5
  65. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.model.mjs +1 -1
  66. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +10 -11
  67. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
  68. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +6 -6
  69. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  70. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +5 -5
  71. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +5 -5
  72. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +5 -5
  73. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
  74. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +5 -5
  75. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
  76. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +5 -5
  77. package/esm2022/lib/ecommerce/styles/BaseCollection.modal.mjs +1 -1
  78. package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +1 -1
  79. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
  80. package/esm2022/lib/ecommerce/styles/PincodeLocation.model.mjs +1 -1
  81. package/esm2022/lib/ecommerce/styles/PincodeLocationInter.model.mjs +1 -1
  82. package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
  83. package/esm2022/lib/ecommerce/styles/category.modal.mjs +1 -1
  84. package/esm2022/lib/ecommerce/styles/order.modal.mjs +1 -1
  85. package/esm2022/lib/ecommerce/styles/product.modal.mjs +1 -1
  86. package/esm2022/lib/ecommerce/styles/review.modal.mjs +1 -1
  87. package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
  88. package/esm2022/lib/elements/add-section/add-section.component.mjs +5 -5
  89. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +5 -5
  90. package/esm2022/lib/elements/button/button.component.mjs +5 -5
  91. package/esm2022/lib/elements/button/button.model.mjs +1 -1
  92. package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +5 -5
  93. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +5 -5
  94. package/esm2022/lib/elements/editor-service.service.mjs +18 -6
  95. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +5 -5
  96. package/esm2022/lib/elements/image-editor/image-editor.component.mjs +5 -5
  97. package/esm2022/lib/elements/index.mjs +5 -5
  98. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +5 -5
  99. package/esm2022/lib/elements/media-selector/media-selector.component.mjs +5 -5
  100. package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +4 -4
  101. package/esm2022/lib/elements/portfolio/portfolio.component.mjs +5 -5
  102. package/esm2022/lib/elements/property/property.component.mjs +5 -5
  103. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +5 -5
  104. package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +4 -4
  105. package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +5 -5
  106. package/esm2022/lib/elements/text/text.component.mjs +5 -5
  107. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +5 -5
  108. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +5 -9
  109. package/esm2022/lib/pipes/amount.pipe.mjs +4 -4
  110. package/esm2022/lib/pipes/gender.pipe.mjs +4 -4
  111. package/esm2022/lib/sections/BaseSection.mjs +1 -1
  112. package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +5 -5
  113. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +5 -5
  114. package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
  115. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +5 -5
  116. package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
  117. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +5 -5
  118. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +4 -4
  119. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +6 -6
  120. package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
  121. package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +4 -4
  122. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +5 -5
  123. package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
  124. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +4 -4
  125. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +5 -5
  126. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
  127. package/esm2022/lib/sections/features-section/features-section.component.mjs +5 -5
  128. package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
  129. package/esm2022/lib/sections/footer/footer.component.mjs +5 -5
  130. package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
  131. package/esm2022/lib/sections/footer-section/footer-section.component.mjs +4 -4
  132. package/esm2022/lib/sections/header-section/header-section.component.mjs +6 -8
  133. package/esm2022/lib/sections/header-section/header-section.model.mjs +1 -1
  134. package/esm2022/lib/sections/header-text/header-text.component.mjs +5 -5
  135. package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
  136. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +5 -5
  137. package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
  138. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +5 -5
  139. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
  140. package/esm2022/lib/sections/image-section/image-section.component.mjs +5 -5
  141. package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
  142. package/esm2022/lib/sections/location-section/location-section.component.mjs +5 -5
  143. package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
  144. package/esm2022/lib/sections/logo-gallery/logo-gallery.component.mjs +4 -4
  145. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +5 -5
  146. package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
  147. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +4 -4
  148. package/esm2022/lib/sections/new-services/new-services.component.mjs +5 -5
  149. package/esm2022/lib/sections/new-services/new-services.model.mjs +1 -1
  150. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +5 -5
  151. package/esm2022/lib/sections/new-testimonials/new-testimonials.model.mjs +1 -1
  152. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +5 -5
  153. package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
  154. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +5 -5
  155. package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
  156. package/esm2022/lib/sections/process-section/process-section.component.mjs +5 -5
  157. package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
  158. package/esm2022/lib/sections/property-component/property-component.component.mjs +5 -5
  159. package/esm2022/lib/sections/property-component/property-component.modal.mjs +1 -1
  160. package/esm2022/lib/sections/property-list/property-list.component.mjs +5 -5
  161. package/esm2022/lib/sections/property-list/property-list.modal.mjs +1 -1
  162. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +5 -5
  163. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
  164. package/esm2022/lib/sections/registration-form/registration-form.component.mjs +21 -6
  165. package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +1 -1
  166. package/esm2022/lib/sections/service-section/service-section.component.mjs +5 -5
  167. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  168. package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +5 -5
  169. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +5 -5
  170. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  171. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +5 -5
  172. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
  173. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +5 -5
  174. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  175. package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +5 -5
  176. package/esm2022/lib/sections/testimonial-video/testimonial-video.model.mjs +1 -1
  177. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +4 -4
  178. package/esm2022/lib/sections/text-section/text-section.component.mjs +4 -4
  179. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  180. package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +5 -5
  181. package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +1 -1
  182. package/esm2022/lib/sections/video-section/video-section.component.mjs +5 -5
  183. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  184. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +5 -5
  185. package/esm2022/lib/services/cart.service.mjs +4 -4
  186. package/esm2022/lib/services/endUser.service.mjs +4 -4
  187. package/esm2022/lib/services/events.service.mjs +4 -5
  188. package/esm2022/lib/services/image-upload-service.service.mjs +4 -4
  189. package/esm2022/lib/services/rest.service.mjs +4 -4
  190. package/esm2022/lib/services/sanitizeHtml.mjs +4 -4
  191. package/esm2022/lib/services/storage.service.mjs +4 -4
  192. package/esm2022/lib/styles/index.mjs +1 -7
  193. package/esm2022/lib/styles/style.model.mjs +1 -1
  194. package/esm2022/lib/styles/types.mjs +1 -1
  195. package/esm2022/lib/tokens/api-token.mjs +1 -1
  196. package/esm2022/public-api.mjs +2 -3
  197. package/fesm2022/simpo-component-library.mjs +692 -792
  198. package/fesm2022/simpo-component-library.mjs.map +1 -1
  199. package/lib/components/input-fields/input-fields.component.d.ts +1 -1
  200. package/lib/components/payment-details/payment-details.component.d.ts +6 -0
  201. package/lib/components/trasport-availability/trasport-availability.component.d.ts +14 -0
  202. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  203. package/lib/elements/editor-service.service.d.ts +5 -1
  204. package/lib/elements/top-of-image-card/top-of-image-card.component.d.ts +0 -3
  205. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +3 -3
  206. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  207. package/lib/sections/header-section/header-section.component.d.ts +0 -2
  208. package/lib/sections/header-section/header-section.model.d.ts +2 -10
  209. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  210. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
  211. package/lib/sections/service-section/service-section.model.d.ts +1 -3
  212. package/lib/services/events.service.d.ts +0 -1
  213. package/lib/styles/index.d.ts +0 -5
  214. package/lib/styles/style.model.d.ts +1 -5
  215. package/lib/styles/types.d.ts +0 -1
  216. package/package.json +1 -1
  217. package/public-api.d.ts +0 -2
  218. package/simpo-component-library-3.5.52.tgz +0 -0
  219. package/src/lib/styles/global-styles.css +191 -191
  220. package/esm2022/lib/directive/hover-animation.directive.mjs +0 -133
  221. package/esm2022/lib/sections/moving-text/moving-text.component.mjs +0 -110
  222. package/esm2022/lib/sections/moving-text/moving-text.modal.mjs +0 -2
  223. package/lib/directive/hover-animation.directive.d.ts +0 -19
  224. package/lib/sections/moving-text/moving-text.component.d.ts +0 -26
  225. package/lib/sections/moving-text/moving-text.modal.d.ts +0 -19
  226. package/simpo-component-library-3.5.45.tgz +0 -0
@@ -1,110 +0,0 @@
1
- import { Component, HostListener, Input } from '@angular/core';
2
- import BaseSection from '../BaseSection';
3
- import { CommonModule } from '@angular/common';
4
- import { SimpoElementsModule } from '../../elements/index';
5
- import { SimpoComponentModule } from '../../components/index';
6
- import { BackgroundDirective } from '../../directive/background-directive';
7
- import { SimpoHoverBorderDirective } from "../../directive/hoverborder.directive";
8
- import { HoverDirective } from '../../directive/hover-element-directive';
9
- import { TextBackgroundDirectiveDirective } from '../../directive/text-background-directive.directive';
10
- import * as i0 from "@angular/core";
11
- import * as i1 from "../../services/events.service";
12
- import * as i2 from "@angular/common";
13
- import * as i3 from "../../components/hover-elements/hover-elements.component";
14
- import * as i4 from "../../components/delete-hover-element/delete-hover-element.component";
15
- export class MovingTextComponent extends BaseSection {
16
- constructor(_eventService) {
17
- super();
18
- this._eventService = _eventService;
19
- this.screenWidth = "";
20
- this.currentIndex = 0;
21
- this.isTransitioning = false;
22
- this.animationDirection = 'left';
23
- this.alternateDirection = true;
24
- }
25
- ngOnInit() {
26
- if (this.data?.styles?.headlineAnimationType === 'SoftTransition' &&
27
- this.data?.content?.listItem?.data?.length) {
28
- setTimeout(() => {
29
- this.startAnimationCycle();
30
- }, 100);
31
- }
32
- }
33
- ngOnChanges() {
34
- if (this.data?.styles?.headlineAnimationType === 'SoftTransition') {
35
- setTimeout(() => {
36
- this.startAnimationCycle();
37
- }, 100);
38
- }
39
- }
40
- editSection() {
41
- this._eventService.toggleEditorEvent.emit(false);
42
- setTimeout(() => {
43
- this._eventService.editSection.emit({ data: this.data });
44
- }, 100);
45
- }
46
- stopPropagation(event) {
47
- event.stopPropagation();
48
- }
49
- getScreenSize() {
50
- this.screenWidth = window.innerWidth;
51
- }
52
- startAnimationCycle() {
53
- if (!this.data?.content?.listItem?.data?.length) {
54
- return;
55
- }
56
- this.currentIndex = 0;
57
- this.animationDirection = 'left';
58
- this.interval = setInterval(() => {
59
- const nextIndex = (this.currentIndex + 1) % this.data.content.listItem.data.length;
60
- const currentItemIndex = this.currentIndex;
61
- setTimeout(() => {
62
- const items = document.querySelectorAll('.list-item');
63
- if (items && items.length > currentItemIndex) {
64
- const currentItem = items[currentItemIndex];
65
- if (this.animationDirection === 'left') {
66
- currentItem.classList.add('fade-out-right');
67
- }
68
- else {
69
- currentItem.classList.add('fade-out-left');
70
- }
71
- setTimeout(() => {
72
- currentItem.classList.remove('fade-out-right', 'fade-out-left');
73
- }, 800);
74
- }
75
- }, 0);
76
- this.currentIndex = nextIndex;
77
- if (this.alternateDirection) {
78
- this.animationDirection = this.animationDirection === 'left' ? 'right' : 'left';
79
- }
80
- }, 3000);
81
- }
82
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: MovingTextComponent, deps: [{ token: i1.EventsService }], target: i0.ɵɵFactoryTarget.Component }); }
83
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: MovingTextComponent, isStandalone: true, selector: "simpo-moving-text", inputs: { data: "data", edit: "edit", delete: "delete", customClass: "customClass", index: "index" }, host: { listeners: { "window: resize": "getScreenSize($event)" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<section class=\"main-container\" simpoHover (hovering)=\"showEditTabs($event)\" [id]=\"data?.id\" [attr.style]=\"customClass\">\r\n <div class=\"slider-wrapper px-2 py-2 d-flex align-items-center justify-content-between\"\r\n [style.backgroundColor]=\"data?.styles?.background?.accentColor\">\r\n <div class=\"slider-track w-100 d-flex justify-content-between align-items-center\"\r\n *ngIf=\"data?.styles?.headlineAnimationType == 'InfiniteScroll'\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data; let i = index\">\r\n <div class=\"sliding-text\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div *ngIf=\"data?.styles?.headlineAnimationType == 'SoftTransition'\" class=\"list-container\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data; let i = index\">\r\n <div class=\"list-item d-flex align-items-center justify-content-center w-100\" [ngClass]=\"{\r\n 'active': currentIndex === i,\r\n 'fade-in-left': animationDirection === 'left' && currentIndex === i,\r\n 'fade-in-right': animationDirection === 'right' && currentIndex === i\r\n }\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </div>\r\n <ng-container *ngIf=\"data?.styles?.headlineAnimationType == 'NoEffect'\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data\">\r\n <div class=\"d-flex align-items-center justify-content-center w-100\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n <!-- Your existing edit/delete elements -->\r\n <div [ngClass]=\"{'hover_effect': edit}\" *ngIf=\"showEditors\">\r\n <simpo-hover-elements [data]=\"data\" [index]=\"index\" [editOptions]=\"edit\"></simpo-hover-elements>\r\n </div>\r\n <div *ngIf=\"showDelete\" [ngClass]=\"{'hover_effect': delete}\">\r\n <simpo-delete-hover-element [data]=\"data\" [index]=\"index\"></simpo-delete-hover-element>\r\n </div>\r\n</section>", styles: [".main-container{position:relative;height:auto}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.slider-wrapper{position:relative;overflow:hidden}.slider-track{display:flex;gap:2rem;height:40px;width:max-content;animation:scrollLeft 30s linear infinite;animation-play-state:running;will-change:transform}.slider-track:hover{animation-play-state:paused}.sliding-text{flex-shrink:0;white-space:nowrap;padding:0 1rem;position:relative}@keyframes scrollLeft{0%{transform:translate(100%)}to{transform:translate(-100%)}}.list-container{position:relative;width:100%;height:40px;overflow:hidden;display:flex;align-items:center;justify-content:center}.list-item{position:absolute;width:100%;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .8s ease,transform .8s ease;text-align:center}.list-item.active{opacity:1;visibility:visible}.fade-in-left{animation:fadeInLeft .8s forwards}.fade-out-left{animation:fadeOutLeft .8s forwards}.fade-in-right{animation:fadeInRight .8s forwards}.fade-out-right{animation:fadeOutRight .8s forwards}@keyframes fadeInLeft{0%{opacity:0;transform:translate(-100px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOutLeft{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-100px)}}@keyframes fadeInRight{0%{opacity:0;transform:translate(100px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOutRight{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100px)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: SimpoElementsModule }, { kind: "ngmodule", type: SimpoComponentModule }, { kind: "component", type: i3.HoverElementsComponent, selector: "simpo-hover-elements", inputs: ["data", "index", "editOptions", "isMerged", "isEcommerce"], outputs: ["edit"] }, { kind: "component", type: i4.DeleteHoverElementComponent, selector: "simpo-delete-hover-element", inputs: ["index", "data"], outputs: ["edit"] }, { kind: "directive", type: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }] }); }
84
- }
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: MovingTextComponent, decorators: [{
86
- type: Component,
87
- args: [{ selector: 'simpo-moving-text', standalone: true, imports: [
88
- CommonModule,
89
- SimpoElementsModule,
90
- SimpoComponentModule,
91
- BackgroundDirective,
92
- SimpoHoverBorderDirective,
93
- HoverDirective,
94
- TextBackgroundDirectiveDirective,
95
- ], template: "<section class=\"main-container\" simpoHover (hovering)=\"showEditTabs($event)\" [id]=\"data?.id\" [attr.style]=\"customClass\">\r\n <div class=\"slider-wrapper px-2 py-2 d-flex align-items-center justify-content-between\"\r\n [style.backgroundColor]=\"data?.styles?.background?.accentColor\">\r\n <div class=\"slider-track w-100 d-flex justify-content-between align-items-center\"\r\n *ngIf=\"data?.styles?.headlineAnimationType == 'InfiniteScroll'\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data; let i = index\">\r\n <div class=\"sliding-text\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div *ngIf=\"data?.styles?.headlineAnimationType == 'SoftTransition'\" class=\"list-container\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data; let i = index\">\r\n <div class=\"list-item d-flex align-items-center justify-content-center w-100\" [ngClass]=\"{\r\n 'active': currentIndex === i,\r\n 'fade-in-left': animationDirection === 'left' && currentIndex === i,\r\n 'fade-in-right': animationDirection === 'right' && currentIndex === i\r\n }\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </div>\r\n <ng-container *ngIf=\"data?.styles?.headlineAnimationType == 'NoEffect'\">\r\n <ng-container *ngFor=\"let item of data?.content?.listItem?.data\">\r\n <div class=\"d-flex align-items-center justify-content-center w-100\">\r\n {{item.inputText[0].value}}\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n <!-- Your existing edit/delete elements -->\r\n <div [ngClass]=\"{'hover_effect': edit}\" *ngIf=\"showEditors\">\r\n <simpo-hover-elements [data]=\"data\" [index]=\"index\" [editOptions]=\"edit\"></simpo-hover-elements>\r\n </div>\r\n <div *ngIf=\"showDelete\" [ngClass]=\"{'hover_effect': delete}\">\r\n <simpo-delete-hover-element [data]=\"data\" [index]=\"index\"></simpo-delete-hover-element>\r\n </div>\r\n</section>", styles: [".main-container{position:relative;height:auto}.hover_effect{position:unset;width:100%;top:0;left:0;height:100%}.slider-wrapper{position:relative;overflow:hidden}.slider-track{display:flex;gap:2rem;height:40px;width:max-content;animation:scrollLeft 30s linear infinite;animation-play-state:running;will-change:transform}.slider-track:hover{animation-play-state:paused}.sliding-text{flex-shrink:0;white-space:nowrap;padding:0 1rem;position:relative}@keyframes scrollLeft{0%{transform:translate(100%)}to{transform:translate(-100%)}}.list-container{position:relative;width:100%;height:40px;overflow:hidden;display:flex;align-items:center;justify-content:center}.list-item{position:absolute;width:100%;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .8s ease,transform .8s ease;text-align:center}.list-item.active{opacity:1;visibility:visible}.fade-in-left{animation:fadeInLeft .8s forwards}.fade-out-left{animation:fadeOutLeft .8s forwards}.fade-in-right{animation:fadeInRight .8s forwards}.fade-out-right{animation:fadeOutRight .8s forwards}@keyframes fadeInLeft{0%{opacity:0;transform:translate(-100px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOutLeft{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-100px)}}@keyframes fadeInRight{0%{opacity:0;transform:translate(100px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOutRight{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100px)}}\n"] }]
96
- }], ctorParameters: () => [{ type: i1.EventsService }], propDecorators: { data: [{
97
- type: Input
98
- }], edit: [{
99
- type: Input
100
- }], delete: [{
101
- type: Input
102
- }], customClass: [{
103
- type: Input
104
- }], index: [{
105
- type: Input
106
- }], getScreenSize: [{
107
- type: HostListener,
108
- args: ["window: resize", ["$event"]]
109
- }] } });
110
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW92aW5nLXRleHQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9zZWN0aW9ucy9tb3ZpbmctdGV4dC9tb3ZpbmctdGV4dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZW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MvaW5kZXhcIlxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBNb3ZpbmdUZXh0TW9kYWwge1xyXG4gICAgaWQ6IHN0cmluZztcclxuICAgIHNlY3Rpb25UeXBlOiBzdHJpbmc7XHJcbiAgICBzZWN0aW9uTmFtZTogc3RyaW5nO1xyXG4gICAgY29udGVudDogTW92aW5nVGV4dENvbnRlbnRNb2RhbDtcclxuICAgIHN0eWxlczogTW92aW5nVGV4dFN0eWxlc01vZGFsOyAgXHJcbn1cclxuZXhwb3J0IGludGVyZmFjZSBNb3ZpbmdUZXh0Q29udGVudE1vZGFsIHtcclxuICAgIGxpc3RJdGVtOiBMaXN0SXRlbU1vZGFsPE5ld1NlcnZpY2VzSXRlbU1vZGVsPjtcclxufVxyXG5leHBvcnQgaW50ZXJmYWNlIE5ld1NlcnZpY2VzSXRlbU1vZGVsIHtcclxuICAgIGlucHV0VGV4dDogSW5wdXRUZXh0TW9kZWxbXTtcclxufVxyXG5leHBvcnQgaW50ZXJmYWNlIE1vdmluZ1RleHRTdHlsZXNNb2RhbHsgXHJcbiAgICBiYWNrZ3JvdW5kIDogQmFja2dyb3VuZE1vZGVsXHJcbiAgICBoZWFkbGluZUFuaW1hdGlvblR5cGUgOiBhbmltYXRpb25UeXBlXHJcbn0iXX0=
@@ -1,19 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import { contentAnimationModel } from '../styles/style.model';
3
- import { EventsService } from '../services/events.service';
4
- import * as i0 from "@angular/core";
5
- export declare class HoverAnimationDirective {
6
- private el;
7
- private renderer;
8
- private eventService;
9
- animationData?: contentAnimationModel;
10
- eventServiceSubscription: any;
11
- constructor(el: ElementRef, renderer: Renderer2, eventService: EventsService);
12
- ngOnInit(): void;
13
- mouseEnterListener?: () => void;
14
- mouseLeaveListener?: () => void;
15
- setupAnimation(): void;
16
- ngOnDestroy(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<HoverAnimationDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<HoverAnimationDirective, "[simpoHoverAnimation]", never, { "animationData": { "alias": "simpoHoverAnimation"; "required": false; }; }, {}, never, never, true, never>;
19
- }
@@ -1,26 +0,0 @@
1
- import BaseSection from '../BaseSection';
2
- import { EventsService } from '../../services/events.service';
3
- import * as i0 from "@angular/core";
4
- export declare class MovingTextComponent extends BaseSection {
5
- private _eventService;
6
- data?: any;
7
- edit?: boolean;
8
- delete?: boolean;
9
- customClass?: string;
10
- index?: number;
11
- constructor(_eventService: EventsService);
12
- ngOnInit(): void;
13
- ngOnChanges(): void;
14
- editSection(): void;
15
- stopPropagation(event: any): void;
16
- screenWidth: any;
17
- getScreenSize(): void;
18
- currentIndex: number;
19
- isTransitioning: boolean;
20
- animationDirection: string;
21
- private interval;
22
- private alternateDirection;
23
- startAnimationCycle(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<MovingTextComponent, never>;
25
- 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>;
26
- }
@@ -1,19 +0,0 @@
1
- import { ListItemModal, InputTextModel, BackgroundModel } from './../../styles/style.model';
2
- import { animationType } from "./../../styles/index";
3
- export interface MovingTextModal {
4
- id: string;
5
- sectionType: string;
6
- sectionName: string;
7
- content: MovingTextContentModal;
8
- styles: MovingTextStylesModal;
9
- }
10
- export interface MovingTextContentModal {
11
- listItem: ListItemModal<NewServicesItemModel>;
12
- }
13
- export interface NewServicesItemModel {
14
- inputText: InputTextModel[];
15
- }
16
- export interface MovingTextStylesModal {
17
- background: BackgroundModel;
18
- headlineAnimationType: animationType;
19
- }
Binary file