@blinkpage/composer-tools 1.0.0

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 (709) hide show
  1. package/EventEmitter.ts +40 -0
  2. package/InlineEditorProvider.tsx +30 -0
  3. package/composer-base-components/base/base.module.scss +638 -0
  4. package/composer-base-components/base/base.tsx +692 -0
  5. package/composer-base-components/base/utitilities/iconList.ts +65 -0
  6. package/composer-base-components/base/utitilities/viewports.module.scss +2 -0
  7. package/composer-base-components/close/close.module.scss +16 -0
  8. package/composer-base-components/close/close.tsx +14 -0
  9. package/composer-base-components/embeded-link/embeded-link.tsx +38 -0
  10. package/composer-base-components/map/map.tsx +267 -0
  11. package/composer-base-components/media/media.tsx +0 -0
  12. package/composer-base-components/modal/index.ts +4 -0
  13. package/composer-base-components/modal/modal.module.scss +19 -0
  14. package/composer-base-components/modal/modal.service.ts +27 -0
  15. package/composer-base-components/modal/modal.tsx +22 -0
  16. package/composer-base-components/slider/slider.tsx +120 -0
  17. package/composer-base-components/ui/accordion/Accordion.module.scss +46 -0
  18. package/composer-base-components/ui/accordion/Accordion.tsx +48 -0
  19. package/composer-base-components/ui/cookie/Cookie.module.scss +473 -0
  20. package/composer-base-components/ui/cookie/Cookie.tsx +69 -0
  21. package/composer-base-components/ui/dropdown/Dropdown.module.scss +79 -0
  22. package/composer-base-components/ui/dropdown/Dropdown.tsx +133 -0
  23. package/context/DataContext.tsx +79 -0
  24. package/custom-component-loader.ts +84 -0
  25. package/custom-hooks/hex-to-rgb.tsx +6 -0
  26. package/custom-hooks/input-templates.tsx +243 -0
  27. package/custom-hooks/load-font.tsx +9 -0
  28. package/custom-hooks/placeholder-filler.tsx +23 -0
  29. package/custom-hooks/project.ts +9 -0
  30. package/editor-components/ComponentRegistery.tsx +42 -0
  31. package/editor-components/EditorComponent.tsx +1103 -0
  32. package/editor-components/Image_gallery/image_gallery_1/image-gallery1.module.scss +130 -0
  33. package/editor-components/Image_gallery/image_gallery_1/image-gallery1.tsx +619 -0
  34. package/editor-components/Image_gallery/image_gallery_10/image-gallery10.module.scss +179 -0
  35. package/editor-components/Image_gallery/image_gallery_10/image-gallery10.tsx +682 -0
  36. package/editor-components/Image_gallery/image_gallery_11/image-gallery11.module.scss +394 -0
  37. package/editor-components/Image_gallery/image_gallery_11/image-gallery11.tsx +595 -0
  38. package/editor-components/Image_gallery/image_gallery_2/image-gallery2.module.scss +267 -0
  39. package/editor-components/Image_gallery/image_gallery_2/image-gallery2.tsx +1028 -0
  40. package/editor-components/Image_gallery/image_gallery_3/image-gallery3.module.scss +158 -0
  41. package/editor-components/Image_gallery/image_gallery_3/image-gallery3.tsx +320 -0
  42. package/editor-components/Image_gallery/image_gallery_4/image-gallery4.module.scss +264 -0
  43. package/editor-components/Image_gallery/image_gallery_4/image-gallery4.tsx +787 -0
  44. package/editor-components/Image_gallery/image_gallery_5/image-gallery5.module.scss +216 -0
  45. package/editor-components/Image_gallery/image_gallery_5/image-gallery5.tsx +404 -0
  46. package/editor-components/Image_gallery/image_gallery_6/image-gallery6.module.scss +359 -0
  47. package/editor-components/Image_gallery/image_gallery_6/image-gallery6.tsx +824 -0
  48. package/editor-components/Image_gallery/image_gallery_7/image-gallery7.module.scss +142 -0
  49. package/editor-components/Image_gallery/image_gallery_7/image-gallery7.tsx +515 -0
  50. package/editor-components/Image_gallery/image_gallery_8/image-gallery8.module.scss +96 -0
  51. package/editor-components/Image_gallery/image_gallery_8/image-gallery8.tsx +443 -0
  52. package/editor-components/Image_gallery/image_gallery_9/image-gallery9.module.scss +196 -0
  53. package/editor-components/Image_gallery/image_gallery_9/image-gallery9.tsx +627 -0
  54. package/editor-components/about/about1/about1.module.scss +162 -0
  55. package/editor-components/about/about1/about1.tsx +343 -0
  56. package/editor-components/about/about10/about10.module.scss +273 -0
  57. package/editor-components/about/about10/about10.tsx +297 -0
  58. package/editor-components/about/about11/about11.module.scss +191 -0
  59. package/editor-components/about/about11/about11.tsx +267 -0
  60. package/editor-components/about/about12/about12.module.scss +195 -0
  61. package/editor-components/about/about12/about12.tsx +204 -0
  62. package/editor-components/about/about13/about13.module.scss +144 -0
  63. package/editor-components/about/about13/about13.tsx +118 -0
  64. package/editor-components/about/about14/about14.module.scss +193 -0
  65. package/editor-components/about/about14/about14.tsx +183 -0
  66. package/editor-components/about/about15/about15.module.scss +190 -0
  67. package/editor-components/about/about15/about15.tsx +194 -0
  68. package/editor-components/about/about16/about16.module.scss +198 -0
  69. package/editor-components/about/about16/about16.tsx +280 -0
  70. package/editor-components/about/about2/about2.module.scss +139 -0
  71. package/editor-components/about/about2/about2.tsx +121 -0
  72. package/editor-components/about/about3/about3.module.scss +249 -0
  73. package/editor-components/about/about3/about3.tsx +270 -0
  74. package/editor-components/about/about4/about4.module.scss +50 -0
  75. package/editor-components/about/about4/about4.tsx +88 -0
  76. package/editor-components/about/about5/about5.module.scss +188 -0
  77. package/editor-components/about/about5/about5.tsx +187 -0
  78. package/editor-components/about/about6/about6.module.scss +84 -0
  79. package/editor-components/about/about6/about6.tsx +141 -0
  80. package/editor-components/about/about7/about7.module.scss +268 -0
  81. package/editor-components/about/about7/about7.tsx +272 -0
  82. package/editor-components/about/about8/about8.module.scss +159 -0
  83. package/editor-components/about/about8/about8.tsx +240 -0
  84. package/editor-components/about/about9/about9.module.scss +79 -0
  85. package/editor-components/about/about9/about9.tsx +142 -0
  86. package/editor-components/blog/blog1/blog1.module.scss +542 -0
  87. package/editor-components/blog/blog1/blog1.tsx +540 -0
  88. package/editor-components/blog/blog2/blog2.module.scss +377 -0
  89. package/editor-components/blog/blog2/blog2.tsx +317 -0
  90. package/editor-components/blog/blog3/blog3.module.scss +477 -0
  91. package/editor-components/blog/blog3/blog3.tsx +709 -0
  92. package/editor-components/breadcrumb/breadcrumb1/breadcrumb1.module.scss +142 -0
  93. package/editor-components/breadcrumb/breadcrumb1/breadcrumb1.tsx +236 -0
  94. package/editor-components/breadcrumb/breadcrumb2/breadcrumb2.module.scss +139 -0
  95. package/editor-components/breadcrumb/breadcrumb2/breadcrumb2.tsx +224 -0
  96. package/editor-components/breadcrumb/breadcrumb3/breadcrumb3.module.scss +193 -0
  97. package/editor-components/breadcrumb/breadcrumb3/breadcrumb3.tsx +218 -0
  98. package/editor-components/breadcrumb/breadcrumb4/breadcrumb4.module.scss +201 -0
  99. package/editor-components/breadcrumb/breadcrumb4/breadcrumb4.tsx +297 -0
  100. package/editor-components/breadcrumb/breadcrumb5/breadcrumb5.module.scss +90 -0
  101. package/editor-components/breadcrumb/breadcrumb5/breadcrumb5.tsx +161 -0
  102. package/editor-components/breadcrumb/breadcrumb6/breadcrumb6.module.scss +168 -0
  103. package/editor-components/breadcrumb/breadcrumb6/breadcrumb6.tsx +235 -0
  104. package/editor-components/call_to_action/call_to_action1/call_to_action1.module.scss +41 -0
  105. package/editor-components/call_to_action/call_to_action1/call_to_action1.tsx +84 -0
  106. package/editor-components/call_to_action/call_to_action10/call_to_action10.module.scss +96 -0
  107. package/editor-components/call_to_action/call_to_action10/call_to_action10.tsx +233 -0
  108. package/editor-components/call_to_action/call_to_action11/call_to_action11.module.scss +99 -0
  109. package/editor-components/call_to_action/call_to_action11/call_to_action11.tsx +73 -0
  110. package/editor-components/call_to_action/call_to_action12/call_to_action12.module.scss +146 -0
  111. package/editor-components/call_to_action/call_to_action12/call_to_action12.tsx +147 -0
  112. package/editor-components/call_to_action/call_to_action13/call_to_action13.module.scss +149 -0
  113. package/editor-components/call_to_action/call_to_action13/call_to_action13.tsx +127 -0
  114. package/editor-components/call_to_action/call_to_action14/call_to_action14.module.scss +176 -0
  115. package/editor-components/call_to_action/call_to_action14/call_to_action14.tsx +99 -0
  116. package/editor-components/call_to_action/call_to_action15/call_to_action15.module.scss +32 -0
  117. package/editor-components/call_to_action/call_to_action15/call_to_action15.tsx +87 -0
  118. package/editor-components/call_to_action/call_to_action16/call_to_action16.module.scss +54 -0
  119. package/editor-components/call_to_action/call_to_action16/call_to_action16.tsx +95 -0
  120. package/editor-components/call_to_action/call_to_action17/call_to_action17.module.scss +43 -0
  121. package/editor-components/call_to_action/call_to_action17/call_to_action17.tsx +80 -0
  122. package/editor-components/call_to_action/call_to_action18/call_to_action18.module.scss +88 -0
  123. package/editor-components/call_to_action/call_to_action18/call_to_action18.tsx +104 -0
  124. package/editor-components/call_to_action/call_to_action2/call_to_action2.module.scss +271 -0
  125. package/editor-components/call_to_action/call_to_action2/call_to_action2.tsx +221 -0
  126. package/editor-components/call_to_action/call_to_action20/call_to_action20.module.scss +89 -0
  127. package/editor-components/call_to_action/call_to_action20/call_to_action20.tsx +96 -0
  128. package/editor-components/call_to_action/call_to_action21/call_to_action21.module.scss +84 -0
  129. package/editor-components/call_to_action/call_to_action21/call_to_action21.tsx +111 -0
  130. package/editor-components/call_to_action/call_to_action22/call_to_action22.module.scss +83 -0
  131. package/editor-components/call_to_action/call_to_action22/call_to_action22.tsx +118 -0
  132. package/editor-components/call_to_action/call_to_action3/call_to_action3.module.scss +94 -0
  133. package/editor-components/call_to_action/call_to_action3/call_to_action3.tsx +121 -0
  134. package/editor-components/call_to_action/call_to_action4/call_to_action4.module.scss +96 -0
  135. package/editor-components/call_to_action/call_to_action4/call_to_action4.tsx +253 -0
  136. package/editor-components/call_to_action/call_to_action5/call_to_action5.module.scss +185 -0
  137. package/editor-components/call_to_action/call_to_action5/call_to_action5.tsx +168 -0
  138. package/editor-components/call_to_action/call_to_action6/call_to_action6.module.scss +188 -0
  139. package/editor-components/call_to_action/call_to_action6/call_to_action6.tsx +230 -0
  140. package/editor-components/call_to_action/call_to_action7/call_to_action7.module.scss +158 -0
  141. package/editor-components/call_to_action/call_to_action7/call_to_action7.tsx +193 -0
  142. package/editor-components/call_to_action/call_to_action8/call_to_action8.module.scss +75 -0
  143. package/editor-components/call_to_action/call_to_action8/call_to_action8.tsx +113 -0
  144. package/editor-components/call_to_action/call_to_action9/call_to_action9.module.scss +71 -0
  145. package/editor-components/call_to_action/call_to_action9/call_to_action9.tsx +258 -0
  146. package/editor-components/coming-soon/coming-soon1/coming-soon1.module.scss +100 -0
  147. package/editor-components/coming-soon/coming-soon1/coming-soon1.tsx +200 -0
  148. package/editor-components/coming-soon/coming-soon2/coming-soon2.module.scss +230 -0
  149. package/editor-components/coming-soon/coming-soon2/coming-soon2.tsx +355 -0
  150. package/editor-components/coming-soon/coming-soon3/coming-soon3.module.scss +205 -0
  151. package/editor-components/coming-soon/coming-soon3/coming-soon3.tsx +250 -0
  152. package/editor-components/coming-soon/coming-soon4/coming-soon4.module.scss +139 -0
  153. package/editor-components/coming-soon/coming-soon4/coming-soon4.tsx +228 -0
  154. package/editor-components/comparison/comparison1/comparison1.module.scss +320 -0
  155. package/editor-components/comparison/comparison1/comparison1.tsx +315 -0
  156. package/editor-components/contacts/form1/form1.module.scss +77 -0
  157. package/editor-components/contacts/form1/form1.tsx +300 -0
  158. package/editor-components/contacts/form2/form2.module.scss +183 -0
  159. package/editor-components/contacts/form2/form2.tsx +425 -0
  160. package/editor-components/contacts/form3/form3.module.scss +496 -0
  161. package/editor-components/contacts/form3/form3.tsx +782 -0
  162. package/editor-components/contacts/form4/form4.module.scss +192 -0
  163. package/editor-components/contacts/form4/form4.tsx +593 -0
  164. package/editor-components/contacts/form5/form5.module.scss +159 -0
  165. package/editor-components/contacts/form5/form5.tsx +615 -0
  166. package/editor-components/contacts/form6/form6.module.scss +177 -0
  167. package/editor-components/contacts/form6/form6.tsx +580 -0
  168. package/editor-components/contacts/form7/form7.module.scss +167 -0
  169. package/editor-components/contacts/form7/form7.tsx +417 -0
  170. package/editor-components/contacts/form8/form8.module.scss +151 -0
  171. package/editor-components/contacts/form8/form8.tsx +506 -0
  172. package/editor-components/contacts/form9/form9.module.scss +314 -0
  173. package/editor-components/contacts/form9/form9.tsx +923 -0
  174. package/editor-components/download/download1/download1.module.scss +109 -0
  175. package/editor-components/download/download1/download1.tsx +119 -0
  176. package/editor-components/download/download10/download10.module.scss +142 -0
  177. package/editor-components/download/download10/download10.tsx +254 -0
  178. package/editor-components/download/download11/download11.module.scss +201 -0
  179. package/editor-components/download/download11/download11.tsx +253 -0
  180. package/editor-components/download/download2/download2.module.scss +95 -0
  181. package/editor-components/download/download2/download2.tsx +249 -0
  182. package/editor-components/download/download3/download3.module.scss +359 -0
  183. package/editor-components/download/download3/download3.tsx +185 -0
  184. package/editor-components/download/download4/download4.module.scss +102 -0
  185. package/editor-components/download/download4/download4.tsx +119 -0
  186. package/editor-components/download/download5/download5.module.scss +135 -0
  187. package/editor-components/download/download5/download5.tsx +135 -0
  188. package/editor-components/download/download6/download6.module.scss +83 -0
  189. package/editor-components/download/download6/download6.tsx +122 -0
  190. package/editor-components/download/download7/download7.module.scss +136 -0
  191. package/editor-components/download/download7/download7.tsx +135 -0
  192. package/editor-components/download/download8/download8.module.scss +316 -0
  193. package/editor-components/download/download8/download8.tsx +248 -0
  194. package/editor-components/download/download9/download9.module.scss +284 -0
  195. package/editor-components/download/download9/download9.tsx +154 -0
  196. package/editor-components/e-commerce/e-commerce1/e-commerce1.module.scss +459 -0
  197. package/editor-components/e-commerce/e-commerce1/e-commerce1.tsx +809 -0
  198. package/editor-components/e-commerce/e-commerce2/e-commerce2.module.scss +318 -0
  199. package/editor-components/e-commerce/e-commerce2/e-commerce2.tsx +3361 -0
  200. package/editor-components/e-commerce/e-commerce3/e-commerce3.module.scss +94 -0
  201. package/editor-components/e-commerce/e-commerce3/e-commerce3.tsx +350 -0
  202. package/editor-components/e-commerce/e-commerce4/e-commerce4.module.scss +289 -0
  203. package/editor-components/e-commerce/e-commerce4/e-commerce4.tsx +2234 -0
  204. package/editor-components/e-commerce/e-commerce5/e-commerce5.module.scss +264 -0
  205. package/editor-components/e-commerce/e-commerce5/e-commerce5.tsx +542 -0
  206. package/editor-components/e-commerce/e-commerce6/e-commerce6.module.scss +489 -0
  207. package/editor-components/e-commerce/e-commerce6/e-commerce6.tsx +518 -0
  208. package/editor-components/e-commerce/e-commerce7/e-commerce7.module.scss +688 -0
  209. package/editor-components/e-commerce/e-commerce7/e-commerce7.tsx +1442 -0
  210. package/editor-components/e-commerce/e-commerce8/e-commerce8.module.scss +310 -0
  211. package/editor-components/e-commerce/e-commerce8/e-commerce8.tsx +957 -0
  212. package/editor-components/faq/faq1/faq1.module.scss +93 -0
  213. package/editor-components/faq/faq1/faq1.tsx +195 -0
  214. package/editor-components/faq/faq10/faq10.module.scss +153 -0
  215. package/editor-components/faq/faq10/faq10.tsx +452 -0
  216. package/editor-components/faq/faq2/faq2.module.scss +123 -0
  217. package/editor-components/faq/faq2/faq2.tsx +374 -0
  218. package/editor-components/faq/faq3/faq3.module.scss +144 -0
  219. package/editor-components/faq/faq3/faq3.tsx +407 -0
  220. package/editor-components/faq/faq4/faq4.module.scss +124 -0
  221. package/editor-components/faq/faq4/faq4.tsx +303 -0
  222. package/editor-components/faq/faq5/faq5.module.scss +151 -0
  223. package/editor-components/faq/faq5/faq5.tsx +614 -0
  224. package/editor-components/faq/faq6/faq6.module.scss +116 -0
  225. package/editor-components/faq/faq6/faq6.tsx +241 -0
  226. package/editor-components/faq/faq7/faq7.module.scss +98 -0
  227. package/editor-components/faq/faq7/faq7.tsx +298 -0
  228. package/editor-components/faq/faq8/faq8.module.scss +217 -0
  229. package/editor-components/faq/faq8/faq8.tsx +796 -0
  230. package/editor-components/faq/faq9/faq9.module.scss +137 -0
  231. package/editor-components/faq/faq9/faq9.tsx +466 -0
  232. package/editor-components/feature/feature1/feature1.module.scss +115 -0
  233. package/editor-components/feature/feature1/feature1.tsx +148 -0
  234. package/editor-components/feature/feature10/feature10.module.scss +191 -0
  235. package/editor-components/feature/feature10/feature10.tsx +468 -0
  236. package/editor-components/feature/feature11/feature11.module.scss +99 -0
  237. package/editor-components/feature/feature11/feature11.tsx +337 -0
  238. package/editor-components/feature/feature12/feature12.module.scss +169 -0
  239. package/editor-components/feature/feature12/feature12.tsx +325 -0
  240. package/editor-components/feature/feature13/feature13.module.scss +151 -0
  241. package/editor-components/feature/feature13/feature13.tsx +680 -0
  242. package/editor-components/feature/feature14/feature14.module.scss +119 -0
  243. package/editor-components/feature/feature14/feature14.tsx +284 -0
  244. package/editor-components/feature/feature15/feature15.module.scss +214 -0
  245. package/editor-components/feature/feature15/feature15.tsx +344 -0
  246. package/editor-components/feature/feature16/feature16.module.scss +234 -0
  247. package/editor-components/feature/feature16/feature16.tsx +527 -0
  248. package/editor-components/feature/feature17/feature17.module.scss +187 -0
  249. package/editor-components/feature/feature17/feature17.tsx +527 -0
  250. package/editor-components/feature/feature18/feature18.module.scss +213 -0
  251. package/editor-components/feature/feature18/feature18.tsx +405 -0
  252. package/editor-components/feature/feature19/feature19.module.scss +212 -0
  253. package/editor-components/feature/feature19/feature19.tsx +239 -0
  254. package/editor-components/feature/feature2/feature2.module.scss +120 -0
  255. package/editor-components/feature/feature2/feature2.tsx +246 -0
  256. package/editor-components/feature/feature20/feature20.module.scss +239 -0
  257. package/editor-components/feature/feature20/feature20.tsx +238 -0
  258. package/editor-components/feature/feature21/feature21.module.scss +268 -0
  259. package/editor-components/feature/feature21/feature21.tsx +352 -0
  260. package/editor-components/feature/feature22/feature22.module.scss +191 -0
  261. package/editor-components/feature/feature22/feature22.tsx +266 -0
  262. package/editor-components/feature/feature24/feature24.module.scss +121 -0
  263. package/editor-components/feature/feature24/feature24.tsx +381 -0
  264. package/editor-components/feature/feature25/feature25.module.scss +213 -0
  265. package/editor-components/feature/feature25/feature25.tsx +398 -0
  266. package/editor-components/feature/feature26/feature26.module.scss +188 -0
  267. package/editor-components/feature/feature26/feature26.tsx +139 -0
  268. package/editor-components/feature/feature27/feature27.module.scss +155 -0
  269. package/editor-components/feature/feature27/feature27.tsx +164 -0
  270. package/editor-components/feature/feature28/feature28.module.scss +89 -0
  271. package/editor-components/feature/feature28/feature28.tsx +123 -0
  272. package/editor-components/feature/feature29/feature29.module.scss +285 -0
  273. package/editor-components/feature/feature29/feature29.tsx +482 -0
  274. package/editor-components/feature/feature3/feature3.module.scss +335 -0
  275. package/editor-components/feature/feature3/feature3.tsx +418 -0
  276. package/editor-components/feature/feature30/feature30.module.scss +85 -0
  277. package/editor-components/feature/feature30/feature30.tsx +316 -0
  278. package/editor-components/feature/feature31/feature31.module.scss +101 -0
  279. package/editor-components/feature/feature31/feature31.tsx +315 -0
  280. package/editor-components/feature/feature32/feature32.module.scss +131 -0
  281. package/editor-components/feature/feature32/feature32.tsx +226 -0
  282. package/editor-components/feature/feature33/feature33.module.scss +168 -0
  283. package/editor-components/feature/feature33/feature33.tsx +285 -0
  284. package/editor-components/feature/feature34/feature34.module.scss +151 -0
  285. package/editor-components/feature/feature34/feature34.tsx +207 -0
  286. package/editor-components/feature/feature35/feature35.module.scss +145 -0
  287. package/editor-components/feature/feature35/feature35.tsx +422 -0
  288. package/editor-components/feature/feature36/feature36.module.scss +106 -0
  289. package/editor-components/feature/feature36/feature36.tsx +194 -0
  290. package/editor-components/feature/feature37/feature37.module.scss +145 -0
  291. package/editor-components/feature/feature37/feature37.tsx +249 -0
  292. package/editor-components/feature/feature38/feature38.module.scss +174 -0
  293. package/editor-components/feature/feature38/feature38.tsx +402 -0
  294. package/editor-components/feature/feature39/feature39.module.scss +198 -0
  295. package/editor-components/feature/feature39/feature39.tsx +367 -0
  296. package/editor-components/feature/feature4/feature4.module.scss +220 -0
  297. package/editor-components/feature/feature4/feature4.tsx +543 -0
  298. package/editor-components/feature/feature40/feature40.module.scss +211 -0
  299. package/editor-components/feature/feature40/feature40.tsx +424 -0
  300. package/editor-components/feature/feature41/feature41.module.scss +142 -0
  301. package/editor-components/feature/feature41/feature41.tsx +255 -0
  302. package/editor-components/feature/feature43/feature43.module.scss +133 -0
  303. package/editor-components/feature/feature43/feature43.tsx +305 -0
  304. package/editor-components/feature/feature44/feature44.module.scss +211 -0
  305. package/editor-components/feature/feature44/feature44.tsx +331 -0
  306. package/editor-components/feature/feature45/feature45.module.scss +144 -0
  307. package/editor-components/feature/feature45/feature45.tsx +482 -0
  308. package/editor-components/feature/feature46/feature46.module.scss +131 -0
  309. package/editor-components/feature/feature46/feature46.tsx +352 -0
  310. package/editor-components/feature/feature47/feature47.module.scss +88 -0
  311. package/editor-components/feature/feature47/feature47.tsx +356 -0
  312. package/editor-components/feature/feature48/feature48.module.scss +143 -0
  313. package/editor-components/feature/feature48/feature48.tsx +302 -0
  314. package/editor-components/feature/feature49/feature49.module.scss +141 -0
  315. package/editor-components/feature/feature49/feature49.tsx +294 -0
  316. package/editor-components/feature/feature5/feature5.module.scss +534 -0
  317. package/editor-components/feature/feature5/feature5.tsx +509 -0
  318. package/editor-components/feature/feature6/feature6.module.scss +150 -0
  319. package/editor-components/feature/feature6/feature6.tsx +268 -0
  320. package/editor-components/feature/feature7/feature7.module.scss +159 -0
  321. package/editor-components/feature/feature7/feature7.tsx +263 -0
  322. package/editor-components/feature/feature8/feature8.module.scss +106 -0
  323. package/editor-components/feature/feature8/feature8.tsx +474 -0
  324. package/editor-components/feature/feature9/feature9.module.scss +172 -0
  325. package/editor-components/feature/feature9/feature9.tsx +377 -0
  326. package/editor-components/feedback/feedbackmodal1/feedbackmodal1.module.scss +305 -0
  327. package/editor-components/feedback/feedbackmodal1/feedbackmodal1.tsx +386 -0
  328. package/editor-components/footer/footer1/footer1.module.scss +445 -0
  329. package/editor-components/footer/footer1/footer1.tsx +474 -0
  330. package/editor-components/footer/footer10/footer10.module.scss +391 -0
  331. package/editor-components/footer/footer10/footer10.tsx +371 -0
  332. package/editor-components/footer/footer11/footer11.module.scss +143 -0
  333. package/editor-components/footer/footer11/footer11.tsx +196 -0
  334. package/editor-components/footer/footer12/footer12.module.scss +293 -0
  335. package/editor-components/footer/footer12/footer12.tsx +568 -0
  336. package/editor-components/footer/footer2/footer2.module.scss +154 -0
  337. package/editor-components/footer/footer2/footer2.tsx +385 -0
  338. package/editor-components/footer/footer3/footer3.module.scss +420 -0
  339. package/editor-components/footer/footer3/footer3.tsx +875 -0
  340. package/editor-components/footer/footer4/footer4.module.scss +477 -0
  341. package/editor-components/footer/footer4/footer4.tsx +703 -0
  342. package/editor-components/footer/footer5/footer5.module.scss +283 -0
  343. package/editor-components/footer/footer5/footer5.tsx +208 -0
  344. package/editor-components/footer/footer6/footer6.module.scss +155 -0
  345. package/editor-components/footer/footer6/footer6.tsx +372 -0
  346. package/editor-components/footer/footer7/footer7.module.scss +197 -0
  347. package/editor-components/footer/footer7/footer7.tsx +190 -0
  348. package/editor-components/footer/footer8/footer8.module.scss +456 -0
  349. package/editor-components/footer/footer8/footer8.tsx +715 -0
  350. package/editor-components/footer/footer9/footer9.module.scss +386 -0
  351. package/editor-components/footer/footer9/footer9.tsx +514 -0
  352. package/editor-components/hero-section/hero-section1/hero-section1.module.scss +578 -0
  353. package/editor-components/hero-section/hero-section1/hero-section1.tsx +493 -0
  354. package/editor-components/hero-section/hero-section10/hero-section10.module.scss +492 -0
  355. package/editor-components/hero-section/hero-section10/hero-section10.tsx +611 -0
  356. package/editor-components/hero-section/hero-section11/hero-section11.module.scss +295 -0
  357. package/editor-components/hero-section/hero-section11/hero-section11.tsx +224 -0
  358. package/editor-components/hero-section/hero-section12/hero-section12.module.scss +504 -0
  359. package/editor-components/hero-section/hero-section12/hero-section12.tsx +974 -0
  360. package/editor-components/hero-section/hero-section13/hero-section13.module.scss +171 -0
  361. package/editor-components/hero-section/hero-section13/hero-section13.tsx +417 -0
  362. package/editor-components/hero-section/hero-section14/hero-section14.module.scss +210 -0
  363. package/editor-components/hero-section/hero-section14/hero-section14.tsx +333 -0
  364. package/editor-components/hero-section/hero-section15/hero-section15.module.scss +330 -0
  365. package/editor-components/hero-section/hero-section15/hero-section15.tsx +254 -0
  366. package/editor-components/hero-section/hero-section16/hero-section16.module.scss +392 -0
  367. package/editor-components/hero-section/hero-section16/hero-section16.tsx +369 -0
  368. package/editor-components/hero-section/hero-section17/hero-section17.module.scss +240 -0
  369. package/editor-components/hero-section/hero-section17/hero-section17.tsx +263 -0
  370. package/editor-components/hero-section/hero-section18/hero-section18.module.scss +403 -0
  371. package/editor-components/hero-section/hero-section18/hero-section18.tsx +569 -0
  372. package/editor-components/hero-section/hero-section19/hero-section19.module.scss +333 -0
  373. package/editor-components/hero-section/hero-section19/hero-section19.tsx +384 -0
  374. package/editor-components/hero-section/hero-section2/hero-section2.module.scss +329 -0
  375. package/editor-components/hero-section/hero-section2/hero-section2.tsx +393 -0
  376. package/editor-components/hero-section/hero-section20/hero-section20.module.scss +475 -0
  377. package/editor-components/hero-section/hero-section20/hero-section20.tsx +994 -0
  378. package/editor-components/hero-section/hero-section21/hero-section21.module.scss +264 -0
  379. package/editor-components/hero-section/hero-section21/hero-section21.tsx +249 -0
  380. package/editor-components/hero-section/hero-section22/hero-section22.module.scss +394 -0
  381. package/editor-components/hero-section/hero-section22/hero-section22.tsx +421 -0
  382. package/editor-components/hero-section/hero-section23/hero-section23.module.scss +573 -0
  383. package/editor-components/hero-section/hero-section23/hero-section23.tsx +592 -0
  384. package/editor-components/hero-section/hero-section24/hero-section24.module.scss +531 -0
  385. package/editor-components/hero-section/hero-section24/hero-section24.tsx +462 -0
  386. package/editor-components/hero-section/hero-section25/hero-section25.module.scss +538 -0
  387. package/editor-components/hero-section/hero-section25/hero-section25.tsx +656 -0
  388. package/editor-components/hero-section/hero-section26/hero-section26.module.scss +242 -0
  389. package/editor-components/hero-section/hero-section26/hero-section26.tsx +441 -0
  390. package/editor-components/hero-section/hero-section27/hero-section27.module.scss +684 -0
  391. package/editor-components/hero-section/hero-section27/hero-section27.tsx +717 -0
  392. package/editor-components/hero-section/hero-section28/hero-section28.module.scss +368 -0
  393. package/editor-components/hero-section/hero-section28/hero-section28.tsx +477 -0
  394. package/editor-components/hero-section/hero-section29/hero-section29.module.scss +298 -0
  395. package/editor-components/hero-section/hero-section29/hero-section29.tsx +334 -0
  396. package/editor-components/hero-section/hero-section3/hero-section3.module.scss +810 -0
  397. package/editor-components/hero-section/hero-section3/hero-section3.tsx +468 -0
  398. package/editor-components/hero-section/hero-section30/hero-section30.module.scss +234 -0
  399. package/editor-components/hero-section/hero-section30/hero-section30.tsx +208 -0
  400. package/editor-components/hero-section/hero-section31/hero-section31.module.scss +468 -0
  401. package/editor-components/hero-section/hero-section31/hero-section31.tsx +1083 -0
  402. package/editor-components/hero-section/hero-section32/hero-section32.module.scss +488 -0
  403. package/editor-components/hero-section/hero-section32/hero-section32.tsx +530 -0
  404. package/editor-components/hero-section/hero-section33/hero-section33.module.scss +401 -0
  405. package/editor-components/hero-section/hero-section33/hero-section33.tsx +471 -0
  406. package/editor-components/hero-section/hero-section34/hero-section34.module.scss +384 -0
  407. package/editor-components/hero-section/hero-section34/hero-section34.tsx +465 -0
  408. package/editor-components/hero-section/hero-section35/hero-section35.module.scss +522 -0
  409. package/editor-components/hero-section/hero-section35/hero-section35.tsx +441 -0
  410. package/editor-components/hero-section/hero-section38/hero-section38.module.scss +617 -0
  411. package/editor-components/hero-section/hero-section38/hero-section38.tsx +458 -0
  412. package/editor-components/hero-section/hero-section4/hero-section4.module.scss +283 -0
  413. package/editor-components/hero-section/hero-section4/hero-section4.tsx +292 -0
  414. package/editor-components/hero-section/hero-section5/hero-section5.module.scss +178 -0
  415. package/editor-components/hero-section/hero-section5/hero-section5.tsx +159 -0
  416. package/editor-components/hero-section/hero-section6/hero-section6.module.scss +339 -0
  417. package/editor-components/hero-section/hero-section6/hero-section6.tsx +244 -0
  418. package/editor-components/hero-section/hero-section7/hero-section7.module.scss +117 -0
  419. package/editor-components/hero-section/hero-section7/hero-section7.tsx +277 -0
  420. package/editor-components/hero-section/hero-section8/hero-section8.module.scss +296 -0
  421. package/editor-components/hero-section/hero-section8/hero-section8.tsx +500 -0
  422. package/editor-components/hero-section/hero-section9/hero-section9.module.scss +292 -0
  423. package/editor-components/hero-section/hero-section9/hero-section9.tsx +536 -0
  424. package/editor-components/intro-section/intro-section1/intro-section1.module.scss +392 -0
  425. package/editor-components/intro-section/intro-section1/intro-section1.tsx +263 -0
  426. package/editor-components/intro-section/intro-section10/intro-section10.module.scss +182 -0
  427. package/editor-components/intro-section/intro-section10/intro-section10.tsx +167 -0
  428. package/editor-components/intro-section/intro-section11/intro-section11.module.scss +121 -0
  429. package/editor-components/intro-section/intro-section11/intro-section11.tsx +142 -0
  430. package/editor-components/intro-section/intro-section2/intro-section2.module.scss +125 -0
  431. package/editor-components/intro-section/intro-section2/intro-section2.tsx +147 -0
  432. package/editor-components/intro-section/intro-section3/intro-section3.module.scss +106 -0
  433. package/editor-components/intro-section/intro-section3/intro-section3.tsx +140 -0
  434. package/editor-components/intro-section/intro-section4/intro-section4.module.scss +102 -0
  435. package/editor-components/intro-section/intro-section4/intro-section4.tsx +128 -0
  436. package/editor-components/intro-section/intro-section5/intro-section5.module.scss +185 -0
  437. package/editor-components/intro-section/intro-section5/intro-section5.tsx +142 -0
  438. package/editor-components/intro-section/intro-section6/intro-section6.module.scss +219 -0
  439. package/editor-components/intro-section/intro-section6/intro-section6.tsx +269 -0
  440. package/editor-components/intro-section/intro-section7/intro-section7.module.scss +147 -0
  441. package/editor-components/intro-section/intro-section7/intro-section7.tsx +161 -0
  442. package/editor-components/intro-section/intro-section8/intro-section8.module.scss +151 -0
  443. package/editor-components/intro-section/intro-section8/intro-section8.tsx +182 -0
  444. package/editor-components/intro-section/intro-section9/intro-section9.module.scss +66 -0
  445. package/editor-components/intro-section/intro-section9/intro-section9.tsx +132 -0
  446. package/editor-components/legal/privacy-policy.module.scss +19 -0
  447. package/editor-components/legal/privacy-policy.tsx +126 -0
  448. package/editor-components/list/list1/list1.module.scss +224 -0
  449. package/editor-components/list/list1/list1.tsx +386 -0
  450. package/editor-components/list/list10/list10.module.scss +293 -0
  451. package/editor-components/list/list10/list10.tsx +240 -0
  452. package/editor-components/list/list11/list11.module.scss +164 -0
  453. package/editor-components/list/list11/list11.tsx +277 -0
  454. package/editor-components/list/list12/list12.module.scss +207 -0
  455. package/editor-components/list/list12/list12.tsx +241 -0
  456. package/editor-components/list/list2/list2.module.scss +178 -0
  457. package/editor-components/list/list2/list2.tsx +416 -0
  458. package/editor-components/list/list3/list3.module.scss +239 -0
  459. package/editor-components/list/list3/list3.tsx +337 -0
  460. package/editor-components/list/list4/list4.module.scss +243 -0
  461. package/editor-components/list/list4/list4.tsx +221 -0
  462. package/editor-components/list/list5/list5.module.scss +183 -0
  463. package/editor-components/list/list5/list5.tsx +323 -0
  464. package/editor-components/list/list6/list6.module.scss +230 -0
  465. package/editor-components/list/list6/list6.tsx +263 -0
  466. package/editor-components/list/list7/list7.module.scss +127 -0
  467. package/editor-components/list/list7/list7.tsx +178 -0
  468. package/editor-components/list/list8/list8.module.scss +146 -0
  469. package/editor-components/list/list8/list8.tsx +256 -0
  470. package/editor-components/list/list9/list9.module.scss +320 -0
  471. package/editor-components/list/list9/list9.tsx +265 -0
  472. package/editor-components/location/location1/location1.module.scss +218 -0
  473. package/editor-components/location/location1/location1.tsx +387 -0
  474. package/editor-components/location/location2/location2.module.scss +181 -0
  475. package/editor-components/location/location2/location2.tsx +507 -0
  476. package/editor-components/location/location3/location3.module.scss +118 -0
  477. package/editor-components/location/location3/location3.tsx +347 -0
  478. package/editor-components/location/location4/location4.module.scss +138 -0
  479. package/editor-components/location/location4/location4.tsx +221 -0
  480. package/editor-components/location/location5/location5.module.scss +89 -0
  481. package/editor-components/location/location5/location5.tsx +258 -0
  482. package/editor-components/location/location6/location6.module.scss +211 -0
  483. package/editor-components/location/location6/location6.tsx +476 -0
  484. package/editor-components/location/location7/location7.module.scss +245 -0
  485. package/editor-components/location/location7/location7.tsx +347 -0
  486. package/editor-components/location/themes.tsx +229 -0
  487. package/editor-components/logo-clouds/logo-comp1/logo-comp1.module.scss +36 -0
  488. package/editor-components/logo-clouds/logo-comp1/logo-comp1.tsx +119 -0
  489. package/editor-components/logo-clouds/logo-comp10/logo-comp10.module.scss +83 -0
  490. package/editor-components/logo-clouds/logo-comp10/logo-comp10.tsx +336 -0
  491. package/editor-components/logo-clouds/logo-comp2/logo-comp2.module.scss +90 -0
  492. package/editor-components/logo-clouds/logo-comp2/logo-comp2.tsx +139 -0
  493. package/editor-components/logo-clouds/logo-comp3/logo-comp3.module.scss +110 -0
  494. package/editor-components/logo-clouds/logo-comp3/logo-comp3.tsx +144 -0
  495. package/editor-components/logo-clouds/logo-comp4/logo-comp4.module.scss +96 -0
  496. package/editor-components/logo-clouds/logo-comp4/logo-comp4.tsx +151 -0
  497. package/editor-components/logo-clouds/logo-comp5/logo-comp5.module.scss +70 -0
  498. package/editor-components/logo-clouds/logo-comp5/logo-comp5.tsx +116 -0
  499. package/editor-components/logo-clouds/logo-comp6/logo-comp6.module.scss +58 -0
  500. package/editor-components/logo-clouds/logo-comp6/logo-comp6.tsx +245 -0
  501. package/editor-components/logo-clouds/logo-comp7/logo-comp7.module.scss +114 -0
  502. package/editor-components/logo-clouds/logo-comp7/logo-comp7.tsx +100 -0
  503. package/editor-components/logo-clouds/logo-comp8/logo-comp8.module.scss +116 -0
  504. package/editor-components/logo-clouds/logo-comp8/logo-comp8.tsx +275 -0
  505. package/editor-components/logo-clouds/logo-comp9/logo-comp9.module.scss +130 -0
  506. package/editor-components/logo-clouds/logo-comp9/logo-comp9.tsx +206 -0
  507. package/editor-components/modal/confirmation-modal-2/confirmation-modal-2.module.scss +384 -0
  508. package/editor-components/modal/confirmation-modal-2/confirmation-modal-2.tsx +355 -0
  509. package/editor-components/modal/confirmation-modal1/confirmationmodal1.module.scss +113 -0
  510. package/editor-components/modal/confirmation-modal1/confirmationmodal1.tsx +106 -0
  511. package/editor-components/modal/formmodal1/formmodal1.module.scss +156 -0
  512. package/editor-components/modal/formmodal1/formmodal1.tsx +563 -0
  513. package/editor-components/modal/notice-modal/notice.module.scss +92 -0
  514. package/editor-components/modal/notice-modal/notice.tsx +97 -0
  515. package/editor-components/modal/notification-modal1/notificationmodal1.module.scss +166 -0
  516. package/editor-components/modal/notification-modal1/notificationmodal1.tsx +136 -0
  517. package/editor-components/modal/notificationmodal2/notificationmodal2.module.scss +134 -0
  518. package/editor-components/modal/notificationmodal2/notificationmodal2.tsx +170 -0
  519. package/editor-components/modal/subscription-modal/subscription-modal.module.scss +151 -0
  520. package/editor-components/modal/subscription-modal/subscription-modal.tsx +141 -0
  521. package/editor-components/modal/survey-modal/survey-modal.module.scss +277 -0
  522. package/editor-components/modal/survey-modal/survey-modal.tsx +327 -0
  523. package/editor-components/modal/terms-of-use/terms-of-use.module.scss +214 -0
  524. package/editor-components/modal/terms-of-use/terms-of-use.tsx +142 -0
  525. package/editor-components/navigators/navbar1/navbar1.module.scss +633 -0
  526. package/editor-components/navigators/navbar1/navbar1.tsx +1644 -0
  527. package/editor-components/navigators/navbar10/navbar10.module.scss +961 -0
  528. package/editor-components/navigators/navbar10/navbar10.tsx +3070 -0
  529. package/editor-components/navigators/navbar2/navbar2.module.scss +559 -0
  530. package/editor-components/navigators/navbar2/navbar2.tsx +1009 -0
  531. package/editor-components/navigators/navbar3/navbar3.module.scss +583 -0
  532. package/editor-components/navigators/navbar3/navbar3.tsx +1790 -0
  533. package/editor-components/navigators/navbar4/navbar4.module.scss +708 -0
  534. package/editor-components/navigators/navbar4/navbar4.tsx +1864 -0
  535. package/editor-components/navigators/navbar5/navbar5.module.scss +415 -0
  536. package/editor-components/navigators/navbar5/navbar5.tsx +639 -0
  537. package/editor-components/navigators/navbar6/navbar6.module.scss +586 -0
  538. package/editor-components/navigators/navbar6/navbar6.tsx +1613 -0
  539. package/editor-components/navigators/navbar7/navbar7.module.scss +598 -0
  540. package/editor-components/navigators/navbar7/navbar7.tsx +1638 -0
  541. package/editor-components/navigators/navbar8/navbar8.module.scss +444 -0
  542. package/editor-components/navigators/navbar8/navbar8.tsx +637 -0
  543. package/editor-components/navigators/navbar9/navbar9.module.scss +604 -0
  544. package/editor-components/navigators/navbar9/navbar9.tsx +1610 -0
  545. package/editor-components/portfolio/portfolio1/portfolio1.module.scss +333 -0
  546. package/editor-components/portfolio/portfolio1/portfolio1.tsx +815 -0
  547. package/editor-components/portfolio/portfolio2/portfolio2.module.scss +164 -0
  548. package/editor-components/portfolio/portfolio2/portfolio2.tsx +332 -0
  549. package/editor-components/portfolio/portfolio3/portfolio3.module.scss +438 -0
  550. package/editor-components/portfolio/portfolio3/portfolio3.tsx +915 -0
  551. package/editor-components/pricing-table/pricing-table1/pricing-table1.module.scss +204 -0
  552. package/editor-components/pricing-table/pricing-table1/pricing-table1.tsx +698 -0
  553. package/editor-components/pricing-table/pricing-table2/pricing-table2.module.scss +142 -0
  554. package/editor-components/pricing-table/pricing-table2/pricing-table2.tsx +703 -0
  555. package/editor-components/pricing-table/pricing-table3/pricing-table3.module.scss +210 -0
  556. package/editor-components/pricing-table/pricing-table3/pricing-table3.tsx +430 -0
  557. package/editor-components/pricing-table/pricing-table4/pricing-table4.module.scss +170 -0
  558. package/editor-components/pricing-table/pricing-table4/pricing-table4.tsx +594 -0
  559. package/editor-components/pricing-table/pricing-table5/pricing-table5.module.scss +316 -0
  560. package/editor-components/pricing-table/pricing-table5/pricing-table5.tsx +267 -0
  561. package/editor-components/pricing-table/pricing-table6/pricing-table6.module.scss +409 -0
  562. package/editor-components/pricing-table/pricing-table6/pricing-table6.tsx +1189 -0
  563. package/editor-components/pricing-table/pricing-table7/pricing-table7.module.scss +269 -0
  564. package/editor-components/pricing-table/pricing-table7/pricing-table7.tsx +1161 -0
  565. package/editor-components/pricing-table/pricing-table8/pricing-table8.module.scss +366 -0
  566. package/editor-components/pricing-table/pricing-table8/pricing-table8.tsx +574 -0
  567. package/editor-components/pricing-table/pricing-table9/pricing-table9.module.scss +357 -0
  568. package/editor-components/pricing-table/pricing-table9/pricing-table9.tsx +857 -0
  569. package/editor-components/registerables.tsx +681 -0
  570. package/editor-components/slider/slider1/slider1.module.scss +324 -0
  571. package/editor-components/slider/slider1/slider1.tsx +254 -0
  572. package/editor-components/slider/slider10/slider10.module.scss +287 -0
  573. package/editor-components/slider/slider10/slider10.tsx +446 -0
  574. package/editor-components/slider/slider11/slider11.module.scss +216 -0
  575. package/editor-components/slider/slider11/slider11.tsx +366 -0
  576. package/editor-components/slider/slider12/slider12.module.scss +273 -0
  577. package/editor-components/slider/slider12/slider12.tsx +535 -0
  578. package/editor-components/slider/slider2/slider2.module.scss +213 -0
  579. package/editor-components/slider/slider2/slider2.tsx +331 -0
  580. package/editor-components/slider/slider3/slider3.module.scss +227 -0
  581. package/editor-components/slider/slider3/slider3.tsx +280 -0
  582. package/editor-components/slider/slider4/slider4.module.scss +221 -0
  583. package/editor-components/slider/slider4/slider4.tsx +334 -0
  584. package/editor-components/slider/slider5/slider5.module.scss +39 -0
  585. package/editor-components/slider/slider5/slider5.tsx +106 -0
  586. package/editor-components/slider/slider6/slider6.module.scss +205 -0
  587. package/editor-components/slider/slider6/slider6.tsx +337 -0
  588. package/editor-components/slider/slider7/slider7.module.scss +134 -0
  589. package/editor-components/slider/slider7/slider7.tsx +270 -0
  590. package/editor-components/slider/slider8/slider8.module.scss +580 -0
  591. package/editor-components/slider/slider8/slider8.tsx +350 -0
  592. package/editor-components/slider/slider9/slider9.module.scss +1160 -0
  593. package/editor-components/slider/slider9/slider9.tsx +556 -0
  594. package/editor-components/social/social1/social1.module.scss +229 -0
  595. package/editor-components/social/social1/social1.tsx +726 -0
  596. package/editor-components/social/social2/social2.module.scss +299 -0
  597. package/editor-components/social/social2/social2.tsx +1086 -0
  598. package/editor-components/social/social3/social3.module.scss +131 -0
  599. package/editor-components/social/social3/social3.tsx +296 -0
  600. package/editor-components/social/social4/social4.module.scss +405 -0
  601. package/editor-components/social/social4/social4.tsx +1940 -0
  602. package/editor-components/social_widget/social_widget1/social_widget1.module.scss +10 -0
  603. package/editor-components/social_widget/social_widget1/social_widget1.tsx +31 -0
  604. package/editor-components/social_widget/social_widget2/social_widget2.module.scss +10 -0
  605. package/editor-components/social_widget/social_widget2/social_widget2.tsx +35 -0
  606. package/editor-components/social_widget/social_widget3/social_widget3.module.scss +10 -0
  607. package/editor-components/social_widget/social_widget3/social_widget3.tsx +32 -0
  608. package/editor-components/social_widget/social_widget4/social_widget4.module.scss +10 -0
  609. package/editor-components/social_widget/social_widget4/social_widget4.tsx +32 -0
  610. package/editor-components/social_widget/social_widget5/social_widget5.module.scss +10 -0
  611. package/editor-components/social_widget/social_widget5/social_widget5.tsx +32 -0
  612. package/editor-components/stats/stats1/stats1.module.scss +153 -0
  613. package/editor-components/stats/stats1/stats1.tsx +279 -0
  614. package/editor-components/stats/stats10/stats10.module.scss +346 -0
  615. package/editor-components/stats/stats10/stats10.tsx +364 -0
  616. package/editor-components/stats/stats11/stats11.module.scss +167 -0
  617. package/editor-components/stats/stats11/stats11.tsx +242 -0
  618. package/editor-components/stats/stats12/stats12.module.scss +244 -0
  619. package/editor-components/stats/stats12/stats12.tsx +174 -0
  620. package/editor-components/stats/stats13/stats13.module.scss +311 -0
  621. package/editor-components/stats/stats13/stats13.tsx +432 -0
  622. package/editor-components/stats/stats14/stats14.module.scss +192 -0
  623. package/editor-components/stats/stats14/stats14.tsx +222 -0
  624. package/editor-components/stats/stats15/stats15.module.scss +174 -0
  625. package/editor-components/stats/stats15/stats15.tsx +242 -0
  626. package/editor-components/stats/stats2/stats2.module.scss +243 -0
  627. package/editor-components/stats/stats2/stats2.tsx +333 -0
  628. package/editor-components/stats/stats3/stats3.module.scss +302 -0
  629. package/editor-components/stats/stats3/stats3.tsx +212 -0
  630. package/editor-components/stats/stats4/stats4.module.scss +133 -0
  631. package/editor-components/stats/stats4/stats4.tsx +467 -0
  632. package/editor-components/stats/stats5/stats5.module.scss +104 -0
  633. package/editor-components/stats/stats5/stats5.tsx +257 -0
  634. package/editor-components/stats/stats6/stats6.module.scss +76 -0
  635. package/editor-components/stats/stats6/stats6.tsx +241 -0
  636. package/editor-components/stats/stats7/stats7.module.scss +101 -0
  637. package/editor-components/stats/stats7/stats7.tsx +184 -0
  638. package/editor-components/stats/stats8/stats8.module.scss +321 -0
  639. package/editor-components/stats/stats8/stats8.tsx +358 -0
  640. package/editor-components/stats/stats9/stats9.module.scss +282 -0
  641. package/editor-components/stats/stats9/stats9.tsx +330 -0
  642. package/editor-components/team/team-1/team1.module.scss +247 -0
  643. package/editor-components/team/team-1/team1.tsx +357 -0
  644. package/editor-components/team/team-10/team10.module.scss +307 -0
  645. package/editor-components/team/team-10/team10.tsx +510 -0
  646. package/editor-components/team/team-11/team11.module.scss +245 -0
  647. package/editor-components/team/team-11/team11.tsx +435 -0
  648. package/editor-components/team/team-12/team12.module.scss +186 -0
  649. package/editor-components/team/team-12/team12.tsx +305 -0
  650. package/editor-components/team/team-13/team13.module.scss +271 -0
  651. package/editor-components/team/team-13/team13.tsx +255 -0
  652. package/editor-components/team/team-14/team14.module.scss +203 -0
  653. package/editor-components/team/team-14/team14.tsx +202 -0
  654. package/editor-components/team/team-15/team15.module.scss +275 -0
  655. package/editor-components/team/team-15/team15.tsx +417 -0
  656. package/editor-components/team/team-16/team16.module.scss +145 -0
  657. package/editor-components/team/team-16/team16.tsx +219 -0
  658. package/editor-components/team/team-2/team2.module.scss +175 -0
  659. package/editor-components/team/team-2/team2.tsx +397 -0
  660. package/editor-components/team/team-3/team3.module.scss +251 -0
  661. package/editor-components/team/team-3/team3.tsx +380 -0
  662. package/editor-components/team/team-4/team4.module.scss +66 -0
  663. package/editor-components/team/team-4/team4.tsx +194 -0
  664. package/editor-components/team/team-5/team5.module.scss +219 -0
  665. package/editor-components/team/team-5/team5.tsx +492 -0
  666. package/editor-components/team/team-6/team6.module.scss +157 -0
  667. package/editor-components/team/team-6/team6.tsx +620 -0
  668. package/editor-components/team/team-7/team7.module.scss +211 -0
  669. package/editor-components/team/team-7/team7.tsx +333 -0
  670. package/editor-components/team/team-8/team8.module.scss +214 -0
  671. package/editor-components/team/team-8/team8.tsx +349 -0
  672. package/editor-components/team/team-9/team9.module.scss +307 -0
  673. package/editor-components/team/team-9/team9.tsx +363 -0
  674. package/editor-components/testimonials/testimonials1/testimonials1.module.scss +156 -0
  675. package/editor-components/testimonials/testimonials1/testimonials1.tsx +190 -0
  676. package/editor-components/testimonials/testimonials10/testimonials10.module.scss +281 -0
  677. package/editor-components/testimonials/testimonials10/testimonials10.tsx +360 -0
  678. package/editor-components/testimonials/testimonials11/testimonials11.module.scss +78 -0
  679. package/editor-components/testimonials/testimonials11/testimonials11.tsx +267 -0
  680. package/editor-components/testimonials/testimonials12/testimonials12.module.scss +115 -0
  681. package/editor-components/testimonials/testimonials12/testimonials12.tsx +293 -0
  682. package/editor-components/testimonials/testimonials13/testimonials13.module.scss +220 -0
  683. package/editor-components/testimonials/testimonials13/testimonials13.tsx +357 -0
  684. package/editor-components/testimonials/testimonials14/testimonials14.module.scss +216 -0
  685. package/editor-components/testimonials/testimonials14/testimonials14.tsx +364 -0
  686. package/editor-components/testimonials/testimonials15/testimonials15.module.scss +685 -0
  687. package/editor-components/testimonials/testimonials15/testimonials15.tsx +422 -0
  688. package/editor-components/testimonials/testimonials16/testimonials16.module.scss +754 -0
  689. package/editor-components/testimonials/testimonials16/testimonials16.tsx +625 -0
  690. package/editor-components/testimonials/testimonials2/testimonials2.module.scss +100 -0
  691. package/editor-components/testimonials/testimonials2/testimonials2.tsx +301 -0
  692. package/editor-components/testimonials/testimonials3/testimonials3.module.scss +37 -0
  693. package/editor-components/testimonials/testimonials3/testimonials3.tsx +148 -0
  694. package/editor-components/testimonials/testimonials4/testimonials4.module.scss +205 -0
  695. package/editor-components/testimonials/testimonials4/testimonials4.tsx +266 -0
  696. package/editor-components/testimonials/testimonials5/testimonials5.module.scss +221 -0
  697. package/editor-components/testimonials/testimonials5/testimonials5.tsx +319 -0
  698. package/editor-components/testimonials/testimonials6/testimonials6.module.scss +82 -0
  699. package/editor-components/testimonials/testimonials6/testimonials6.tsx +344 -0
  700. package/editor-components/testimonials/testimonials7/testimonials7.module.scss +316 -0
  701. package/editor-components/testimonials/testimonials7/testimonials7.tsx +248 -0
  702. package/editor-components/testimonials/testimonials8/testimonials8.module.scss +197 -0
  703. package/editor-components/testimonials/testimonials8/testimonials8.tsx +287 -0
  704. package/editor-components/testimonials/testimonials9/testimonials9.module.scss +137 -0
  705. package/editor-components/testimonials/testimonials9/testimonials9.tsx +372 -0
  706. package/index.ts +103 -0
  707. package/package.json +40 -0
  708. package/utils/css-processor.ts +131 -0
  709. package/utils/currency.ts +89 -0
@@ -0,0 +1,1442 @@
1
+ import * as React from "react";
2
+ import { BaseECommerce, TypeMediaInputValue } from "../../EditorComponent";
3
+ import styles from "./e-commerce7.module.scss";
4
+ import { Base } from "composer-tools/composer-base-components/base/base";
5
+ import { INPUTS } from "composer-tools/custom-hooks/input-templates";
6
+ import ComposerLink from "custom-hooks/composer-base-components/Link/link";
7
+ import ComposerSlider from "composer-tools/composer-base-components/slider/slider";
8
+ import { CurrencyCode, getCurrencyInfo } from "composer-tools/utils/currency";
9
+
10
+ type Images = {
11
+ item: TypeMediaInputValue;
12
+ };
13
+
14
+ type ShareSection = {
15
+ title: React.JSX.Element;
16
+ shareIcon: TypeMediaInputValue;
17
+ socials: Socials[];
18
+ shareCopyLink: ShareCopyLink;
19
+ };
20
+
21
+ type SizeSections = {
22
+ size: number;
23
+ type: React.JSX.Element;
24
+ cost: { value: React.JSX.Element; currency: CurrencyCode };
25
+ };
26
+
27
+ type CountSections = {
28
+ count: number;
29
+ minusIcon: TypeMediaInputValue;
30
+ addIcon: TypeMediaInputValue;
31
+ };
32
+
33
+ type ItemDetails = {
34
+ title: React.JSX.Element;
35
+ description: React.JSX.Element;
36
+ };
37
+
38
+ type DeliveryType = {
39
+ description: React.JSX.Element;
40
+ isRadioButtonActive: boolean;
41
+ };
42
+ type Socials = {
43
+ value: {
44
+ icon: TypeMediaInputValue;
45
+ text: React.JSX.Element;
46
+ link: string;
47
+ };
48
+ };
49
+
50
+ type ShareCopyLink = {
51
+ text: React.JSX.Element;
52
+ copiedText: React.JSX.Element;
53
+ isActive: boolean;
54
+ icon: TypeMediaInputValue;
55
+ };
56
+
57
+ class ECommerce7 extends BaseECommerce {
58
+ constructor(props?: any) {
59
+ super(props, styles);
60
+ this.addProp({
61
+ type: "array",
62
+ key: "images",
63
+ displayer: "Images",
64
+ value: [
65
+ {
66
+ type: "object",
67
+ key: "image",
68
+ displayer: "Media",
69
+ value: [
70
+ {
71
+ type: "media",
72
+ key: "item",
73
+ displayer: "Media",
74
+ additionalParams: {
75
+ availableTypes: ["image", "video"],
76
+ },
77
+ value: {
78
+ type: "image",
79
+ url: "https://storage.googleapis.com/download/storage/v1/b/hq-blinkpage-staging-bbc49/o/67ed385afb049c002cc52e87?alt=media",
80
+ },
81
+ },
82
+ ],
83
+ },
84
+ {
85
+ type: "object",
86
+ key: "image",
87
+ displayer: "Media",
88
+ value: [
89
+ {
90
+ type: "media",
91
+ key: "item",
92
+ displayer: "Media",
93
+ additionalParams: {
94
+ availableTypes: ["image", "video"],
95
+ },
96
+ value: {
97
+ type: "image",
98
+ url: "https://storage.googleapis.com/download/storage/v1/b/hq-blinkpage-staging-bbc49/o/67ed3888fb049c002cc52e92?alt=media",
99
+ },
100
+ },
101
+ ],
102
+ },
103
+ {
104
+ type: "object",
105
+ key: "image",
106
+ displayer: "Media",
107
+ value: [
108
+ {
109
+ type: "media",
110
+ key: "item",
111
+ displayer: "Media",
112
+ additionalParams: {
113
+ availableTypes: ["image", "video"],
114
+ },
115
+ value: {
116
+ type: "image",
117
+ url: "https://storage.googleapis.com/download/storage/v1/b/hq-blinkpage-staging-bbc49/o/67ed38c0fb049c002cc52e9e?alt=media",
118
+ },
119
+ },
120
+ ],
121
+ },
122
+ {
123
+ type: "object",
124
+ key: "image",
125
+ displayer: "Media",
126
+ value: [
127
+ {
128
+ type: "media",
129
+ key: "item",
130
+ displayer: "Media",
131
+ additionalParams: {
132
+ availableTypes: ["image", "video"],
133
+ },
134
+ value: {
135
+ type: "image",
136
+ url: "https://storage.googleapis.com/download/storage/v1/b/hq-blinkpage-staging-bbc49/o/67f628bffb049c002cc648d6?alt=media",
137
+ },
138
+ },
139
+ ],
140
+ },
141
+ ],
142
+ });
143
+ this.addProp({
144
+ type: "object",
145
+ key: "icons",
146
+ displayer: "Icons",
147
+ value: [
148
+ {
149
+ type: "media",
150
+ key: "closeIcon",
151
+ displayer: "Close Icon",
152
+ additionalParams: { availableTypes: ["icon"] },
153
+ value: { type: "icon", name: "IoMdClose" },
154
+ },
155
+ {
156
+ type: "media",
157
+ key: "sliderDotIcon",
158
+ displayer: "Slider Dot Icon",
159
+ additionalParams: { availableTypes: ["icon"] },
160
+ value: { type: "icon", name: "GoDotFill" },
161
+ },
162
+ {
163
+ type: "media",
164
+ key: "imageDownArrow",
165
+ displayer: "Image Down Arrow",
166
+ additionalParams: { availableTypes: ["icon"] },
167
+ value: { type: "icon", name: "MdKeyboardArrowDown" },
168
+ },
169
+ {
170
+ type: "media",
171
+ key: "imageUpArrow",
172
+ displayer: "Image Up Arrow",
173
+ additionalParams: { availableTypes: ["icon"] },
174
+ value: { type: "icon", name: "MdKeyboardArrowUp" },
175
+ },
176
+ {
177
+ type: "media",
178
+ key: "leftArrow",
179
+ displayer: "Left Arrow",
180
+ additionalParams: { availableTypes: ["icon"] },
181
+ value: { type: "icon", name: "MdKeyboardArrowLeft" },
182
+ },
183
+ {
184
+ type: "media",
185
+ key: "rightArrow",
186
+ displayer: "Right Arrow",
187
+ additionalParams: { availableTypes: ["icon"] },
188
+ value: { type: "icon", name: "MdKeyboardArrowRight" },
189
+ },
190
+ {
191
+ type: "media",
192
+ key: "downArrowIcon",
193
+ displayer: "Accordion Down Icon",
194
+ additionalParams: { availableTypes: ["icon"] },
195
+ value: { type: "icon", name: "MdKeyboardArrowDown" },
196
+ },
197
+ {
198
+ type: "media",
199
+ key: "upArrowIcon",
200
+ displayer: "Accordion Up Icon",
201
+ additionalParams: { availableTypes: ["icon"] },
202
+ value: { type: "icon", name: "MdKeyboardArrowUp" },
203
+ },
204
+ ],
205
+ });
206
+
207
+ this.addProp({
208
+ type: "boolean",
209
+ key: "dividerActive",
210
+ displayer: "Divider Active",
211
+ value: true,
212
+ });
213
+ this.addProp({
214
+ type: "string",
215
+ key: "title",
216
+ displayer: "Title",
217
+ value: "Bendigo Billy Tea Bags",
218
+ });
219
+ this.addProp({
220
+ type: "object",
221
+ key: "share",
222
+ displayer: "Share Menu",
223
+ value: [
224
+ {
225
+ type: "string",
226
+ key: "title",
227
+ displayer: "Menu Title",
228
+ value: "Share",
229
+ },
230
+ {
231
+ type: "media",
232
+ key: "shareIcon",
233
+ displayer: "Menu Icon",
234
+ additionalParams: {
235
+ availableTypes: ["icon"],
236
+ },
237
+ value: {
238
+ type: "icon",
239
+ name: "CiShare2",
240
+ },
241
+ },
242
+ {
243
+ type: "object",
244
+ key: "shareCopyLink",
245
+ displayer: "Copy Section",
246
+ value: [
247
+ {
248
+ type: "string",
249
+ key: "text",
250
+ displayer: "Text",
251
+ value: "Copy Link",
252
+ },
253
+ {
254
+ type: "string",
255
+ key: "copiedText",
256
+ displayer: "Copied Text",
257
+ value: "Copied!",
258
+ },
259
+ {
260
+ type: "boolean",
261
+ key: "isActive",
262
+ displayer: "Is Active",
263
+ value: true,
264
+ },
265
+ {
266
+ type: "media",
267
+ key: "icon",
268
+ displayer: "Icon",
269
+ additionalParams: {
270
+ availableTypes: ["icon"],
271
+ },
272
+ value: {
273
+ type: "icon",
274
+ name: "MdContentCopy",
275
+ },
276
+ },
277
+ ],
278
+ },
279
+ {
280
+ type: "array",
281
+ key: "socials",
282
+ displayer: "Options",
283
+ value: [
284
+ {
285
+ type: "object",
286
+ key: "social",
287
+ displayer: "Option",
288
+ value: [
289
+ {
290
+ type: "media",
291
+ key: "icon",
292
+ displayer: "Option Icon",
293
+ additionalParams: {
294
+ availableTypes: ["icon"],
295
+ },
296
+ value: {
297
+ type: "icon",
298
+ name: "MdOutlineFacebook",
299
+ },
300
+ },
301
+ {
302
+ type: "string",
303
+ key: "text",
304
+ displayer: "Option Label",
305
+ value: "Facebook",
306
+ },
307
+ {
308
+ type: "page",
309
+ key: "link",
310
+ displayer: "Link",
311
+ value: "",
312
+ },
313
+ ],
314
+ },
315
+ {
316
+ type: "object",
317
+ key: "social",
318
+ displayer: "Option",
319
+ value: [
320
+ {
321
+ type: "media",
322
+ key: "icon",
323
+ displayer: "Option Icon",
324
+ additionalParams: {
325
+ availableTypes: ["icon"],
326
+ },
327
+ value: {
328
+ type: "icon",
329
+ name: "FaXTwitter",
330
+ },
331
+ },
332
+ {
333
+ type: "string",
334
+ key: "text",
335
+ displayer: "Option Label",
336
+ value: "Twitter",
337
+ },
338
+ {
339
+ type: "page",
340
+ key: "link",
341
+ displayer: "Link",
342
+ value: "",
343
+ },
344
+ ],
345
+ },
346
+ {
347
+ type: "object",
348
+ key: "social",
349
+ displayer: "Option",
350
+ value: [
351
+ {
352
+ type: "media",
353
+ key: "icon",
354
+ displayer: "Option Icon",
355
+ additionalParams: {
356
+ availableTypes: ["icon"],
357
+ },
358
+ value: {
359
+ type: "icon",
360
+ name: "FaPinterest",
361
+ },
362
+ },
363
+ {
364
+ type: "string",
365
+ key: "text",
366
+ displayer: "Option Label",
367
+ value: "Pinterest",
368
+ },
369
+ {
370
+ type: "page",
371
+ key: "link",
372
+ displayer: "Link",
373
+ value: "",
374
+ },
375
+ ],
376
+ },
377
+ ],
378
+ },
379
+ ],
380
+ });
381
+ this.addProp({
382
+ type: "string",
383
+ key: "sizeLabel",
384
+ displayer: "Size Label",
385
+ value: "Size",
386
+ });
387
+ this.addProp({
388
+ type: "array",
389
+ key: "sizeSections",
390
+ displayer: "Size Sections",
391
+ value: [
392
+ {
393
+ type: "object",
394
+ key: "sizeSection",
395
+ displayer: "Size Section",
396
+ value: [
397
+ {
398
+ type: "number",
399
+ key: "size",
400
+ displayer: "Size",
401
+ value: 30,
402
+ },
403
+ {
404
+ type: "string",
405
+ key: "type",
406
+ displayer: "Type",
407
+ value: "BAGS",
408
+ },
409
+ {
410
+ type: "currency",
411
+ key: "cost",
412
+ displayer: "Cost",
413
+ value: { value: "25", currency: "USD" },
414
+ },
415
+ ],
416
+ },
417
+ {
418
+ type: "object",
419
+ key: "sizeSection",
420
+ displayer: "Size Section",
421
+ value: [
422
+ {
423
+ type: "number",
424
+ key: "size",
425
+ displayer: "Size",
426
+ value: 100,
427
+ },
428
+ {
429
+ type: "string",
430
+ key: "type",
431
+ displayer: "Type",
432
+ value: "BAGS",
433
+ },
434
+ {
435
+ type: "currency",
436
+ key: "cost",
437
+ displayer: "Cost",
438
+ value: { value: "75", currency: "USD" },
439
+ },
440
+ ],
441
+ },
442
+ {
443
+ type: "object",
444
+ key: "sizeSection",
445
+ displayer: "Size Section",
446
+ value: [
447
+ {
448
+ type: "number",
449
+ key: "size",
450
+ displayer: "Size",
451
+ value: 150,
452
+ },
453
+ {
454
+ type: "string",
455
+ key: "type",
456
+ displayer: "Type",
457
+ value: "BAGS",
458
+ },
459
+ {
460
+ type: "currency",
461
+ key: "cost",
462
+ displayer: "Cost",
463
+ value: { value: "110", currency: "USD" },
464
+ },
465
+ ],
466
+ },
467
+ ],
468
+ });
469
+ this.addProp({
470
+ type: "object",
471
+ key: "countSection",
472
+ displayer: "Quantity Area",
473
+ value: [
474
+ {
475
+ type: "number",
476
+ key: "count",
477
+ displayer: "Quantity",
478
+ value: 1,
479
+ },
480
+ {
481
+ type: "media",
482
+ key: "minusIcon",
483
+ displayer: "Decrease Icon",
484
+ additionalParams: {
485
+ availableTypes: ["icon"],
486
+ },
487
+ value: {
488
+ type: "icon",
489
+ name: "FiMinus",
490
+ },
491
+ },
492
+ {
493
+ type: "media",
494
+ key: "addIcon",
495
+ displayer: "Increase Icon",
496
+ additionalParams: {
497
+ availableTypes: ["icon"],
498
+ },
499
+ value: {
500
+ type: "icon",
501
+ name: "IoAddOutline",
502
+ },
503
+ },
504
+ ],
505
+ });
506
+ this.addProp({
507
+ type: "array",
508
+ key: "deliveryTypes",
509
+ displayer: "Product Details",
510
+ value: [
511
+ {
512
+ type: "object",
513
+ key: "deliveryType",
514
+ displayer: "Info Text",
515
+ value: [
516
+ {
517
+ type: "string",
518
+ key: "description",
519
+ displayer: "Description",
520
+ value: "One-time purchase",
521
+ },
522
+ {
523
+ type: "boolean",
524
+ key: "isRadioButtonActive",
525
+ displayer: "Radio Button Active",
526
+ value: true,
527
+ },
528
+ ],
529
+ },
530
+ {
531
+ type: "object",
532
+ key: "deliveryType",
533
+ displayer: "Info Text",
534
+ value: [
535
+ {
536
+ type: "string",
537
+ key: "description",
538
+ displayer: "Description",
539
+ value: "Subscribe and Save",
540
+ },
541
+ {
542
+ type: "boolean",
543
+ key: "isRadioButtonActive",
544
+ displayer: "Radio Button Active",
545
+ value: true,
546
+ },
547
+ ],
548
+ },
549
+ {
550
+ type: "object",
551
+ key: "deliveryType",
552
+ displayer: "Info Text",
553
+ value: [
554
+ {
555
+ type: "string",
556
+ key: "description",
557
+ displayer: "Description",
558
+ value: "Delivery every 3 months, 10% off",
559
+ },
560
+ {
561
+ type: "boolean",
562
+ key: "isRadioButtonActive",
563
+ displayer: "Radio Button Active",
564
+ value: true,
565
+ },
566
+ ],
567
+ },
568
+ {
569
+ type: "object",
570
+ key: "deliveryType",
571
+ displayer: "Info Text",
572
+ value: [
573
+ {
574
+ type: "string",
575
+ key: "description",
576
+ displayer: "Description",
577
+ value: "Delivery every 6 months, 10% off",
578
+ },
579
+ {
580
+ type: "boolean",
581
+ key: "isRadioButtonActive",
582
+ displayer: "Radio Button Active",
583
+ value: true,
584
+ },
585
+ ],
586
+ },
587
+ ],
588
+ });
589
+ this.addProp({
590
+ type: "string",
591
+ key: "itemDetailTitle",
592
+ displayer: "Item Detail Title",
593
+ value: "Auto-renews, skip or cancel anytime.",
594
+ });
595
+ this.addProp({
596
+ type: "array",
597
+ key: "itemDetails",
598
+ displayer: "Accordion",
599
+ value: [
600
+ {
601
+ type: "object",
602
+ key: "itemDetail",
603
+ displayer: "Section",
604
+ value: [
605
+ {
606
+ type: "string",
607
+ key: "title",
608
+ displayer: "Title",
609
+ value: "Description",
610
+ },
611
+ {
612
+ type: "string",
613
+ key: "description",
614
+ displayer: "Description",
615
+ value:
616
+ "A blend that pays homage to the Aussie pioneers of the Outback. Capturing the authentic essence of the original billy brew, this bush-style tea was traditionally made in billy tins over a campfire. Now, you can bring the timeless tradition of Bendigo Billy Tea into your home and enjoy the simple pleasures of a well-brewed cup.",
617
+ },
618
+ ],
619
+ },
620
+ {
621
+ type: "object",
622
+ key: "itemDetail",
623
+ displayer: "Section",
624
+ value: [
625
+ {
626
+ type: "string",
627
+ key: "title",
628
+ displayer: "Title",
629
+ value: "Ingredients",
630
+ },
631
+ {
632
+ type: "string",
633
+ key: "description",
634
+ displayer: "Description",
635
+ value:
636
+ "Black tea, Fennel, Lavender, and Eucalyptus leaves. Store in a cool, dry place.",
637
+ },
638
+ ],
639
+ },
640
+ {
641
+ type: "object",
642
+ key: "itemDetail",
643
+ displayer: "Section",
644
+ value: [
645
+ {
646
+ type: "string",
647
+ key: "title",
648
+ displayer: "Title",
649
+ value: "Brewing",
650
+ },
651
+ {
652
+ type: "string",
653
+ key: "description",
654
+ displayer: "Description",
655
+ value:
656
+ "Add 1 teaspoon of loose leaf tea per cup. Brew for 3-5 minutes. We are committed to using only the highest quality whole tea leaves and ingredients. Letting your tea leaves steep for the recommended duration allows the ingredients to fully infuse, achieving optimal taste and health benefits. Serve tea black or add milk. A slice of lemon also works beautifully in this blend.",
657
+ },
658
+ ],
659
+ },
660
+ ],
661
+ });
662
+
663
+
664
+ this.addProp(
665
+ INPUTS.BUTTON(
666
+ "button",
667
+ "Button",
668
+ "ADD TO CART",
669
+ "",
670
+ null,
671
+ null,
672
+ "Primary"
673
+ )
674
+ );
675
+ this.setComponentState("openIndex", null);
676
+ this.setComponentState("selectedImage", 0);
677
+ const countValue = this.castToObject<CountSections>("countSection")?.count;
678
+ this.setComponentState("itemCount", countValue);
679
+ this.setComponentState("selectedSizeSection", 0);
680
+ this.setComponentState("selectedRadioButton", null);
681
+ this.setComponentState("zoomImage", false);
682
+ this.setComponentState("overlayZoomImage", false);
683
+ this.setComponentState("slider-ref", React.createRef());
684
+ this.setComponentState("slider-ref-small-image", React.createRef());
685
+ this.setComponentState("slider-ref-small-image-mobile", React.createRef());
686
+ this.setComponentState("lastPropCount", countValue);
687
+ this.setComponentState("copied", false);
688
+ this.setComponentState("activeSlideIndex", 3);
689
+ }
690
+
691
+ static getName(): string {
692
+ return "E-Commerce 7";
693
+ }
694
+ toggleDescription = (index: number) => {
695
+ if (this.getComponentState("openIndex") === index) {
696
+ this.setComponentState("openIndex", null);
697
+ } else {
698
+ this.setComponentState("openIndex", index);
699
+ }
700
+ };
701
+ toggleSize = (index: number) => {
702
+ this.setComponentState("selectedSizeSection", index);
703
+ };
704
+ toggleZoomImage = () => {
705
+ this.setComponentState("zoomImage", true);
706
+ };
707
+ toggleZoomOverlayImage = () => {
708
+ this.setComponentState(
709
+ "overlayZoomImage",
710
+ !this.getComponentState("overlayZoomImage")
711
+ );
712
+ };
713
+ handleClickLeft = () => {
714
+ const sliderRefMobile = this.getComponentState(
715
+ "slider-ref-small-image-mobile"
716
+ );
717
+ sliderRefMobile.current.slickPrev();
718
+ const sliderRefSmall = this.getComponentState("slider-ref-small-image");
719
+ sliderRefSmall.current.slickPrev();
720
+ };
721
+ handleClickRight = () => {
722
+ const sliderRefMobile = this.getComponentState(
723
+ "slider-ref-small-image-mobile"
724
+ );
725
+ sliderRefMobile.current.slickNext();
726
+ const sliderRefSmall = this.getComponentState("slider-ref-small-image");
727
+ sliderRefSmall.current.slickNext();
728
+ };
729
+ handleClickPrevOverlay = () => {
730
+ let index = this.getComponentState("selectedImage");
731
+ let newIndex = index - 1;
732
+ if (index === 0) {
733
+ newIndex = this.getPropValue("images").length - 1;
734
+ }
735
+ this.setComponentState("selectedImage", newIndex);
736
+ };
737
+ handleClickNextOverlay = () => {
738
+ let index = this.getComponentState("selectedImage");
739
+ let newIndex = index + 1;
740
+ if (index === this.getPropValue("images").length - 1) {
741
+ newIndex = 0;
742
+ }
743
+ this.setComponentState("selectedImage", newIndex);
744
+ };
745
+ handleAdd = () => {
746
+ let count = this.getComponentState("itemCount");
747
+ let newCount = count + 1;
748
+ this.setComponentState("itemCount", newCount);
749
+ };
750
+ handleMinus = () => {
751
+ let count = this.getComponentState("itemCount");
752
+ let newCount = count - 1;
753
+ if (newCount < 1) {
754
+ newCount = count;
755
+ }
756
+ this.setComponentState("itemCount", newCount);
757
+ };
758
+ handleClickClose = () => {
759
+ this.setComponentState("zoomImage", false);
760
+ };
761
+ handleRadioButton = (index: number) => {
762
+ this.setComponentState("selectedRadioButton", index);
763
+ };
764
+ handleDotClick = (index: number) => {
765
+ const sliderRef = this.getComponentState("slider-ref");
766
+ sliderRef.current.slickGoTo(index);
767
+ this.setComponentState("selectedImage", index);
768
+ };
769
+ handleCopy = () => {
770
+ const currentUrl = window.location.href;
771
+ navigator.clipboard.writeText(currentUrl);
772
+ this.setComponentState("copied", true);
773
+ };
774
+ onComponentDidUpdate() {
775
+ const currentPropCount =
776
+ this.castToObject<CountSections>("countSection")?.count;
777
+ const lastPropCount = this.getComponentState("lastPropCount");
778
+
779
+ if (currentPropCount !== lastPropCount) {
780
+ this.setComponentState("itemCount", currentPropCount);
781
+ this.setComponentState("lastPropCount", currentPropCount);
782
+ }
783
+ }
784
+ render() {
785
+ const button: INPUTS.CastedButton =
786
+ this.castToObject<INPUTS.CastedButton>("button");
787
+ const shareSection = this.castToObject<ShareSection>("share");
788
+ const sizeSections = this.castToObject<SizeSections[]>("sizeSections");
789
+ const countSection = this.castToObject<CountSections>("countSection");
790
+ const itemDetails = this.castToObject<ItemDetails[]>("itemDetails");
791
+ const images = this.castToObject<Images[]>("images");
792
+ const deliveryType = this.castToObject<DeliveryType[]>("deliveryTypes");
793
+ if (this.getComponentState("selectedRadioButton") === null) {
794
+ const firstEnabledIndex = deliveryType.findIndex((d) => d.isRadioButtonActive);
795
+ this.setComponentState("selectedRadioButton", firstEnabledIndex >= 0 ? firstEnabledIndex : 0);
796
+ }
797
+ const socials = shareSection?.socials;
798
+ const shareCopyLink = shareSection?.shareCopyLink;
799
+ const sliderRef = this.getComponentState("slider-ref");
800
+ const currencySymbol = getCurrencyInfo(
801
+ sizeSections[this.getComponentState("selectedSizeSection")]?.cost
802
+ ?.currency
803
+ )?.symbol;
804
+ const currencyValue =
805
+ sizeSections[this.getComponentState("selectedSizeSection")]?.cost
806
+ ?.value || "";
807
+ const isTitle = this.castToString(this.getPropValue("title"));
808
+ const isShareIcon = shareSection?.shareIcon;
809
+ const isSahreTitle = this.castToString(shareSection?.title);
810
+ const isSizeLabel = this.castToString(this.getPropValue("sizeLabel"));
811
+ const isItemDetailTitle = this.castToString(
812
+ this.getPropValue("itemDetailTitle")
813
+ );
814
+ const icons = this.castToObject<any>("icons");
815
+ const isRightContainer =
816
+ isTitle ||
817
+ isShareIcon ||
818
+ isSahreTitle ||
819
+ (socials && socials.length > 0) ||
820
+ (sizeSections && sizeSections.length > 0) ||
821
+ isSizeLabel ||
822
+ countSection?.addIcon ||
823
+ countSection?.minusIcon ||
824
+ (countSection?.count != null) ||
825
+ this.castToString(button?.text) ||
826
+ (deliveryType && deliveryType.length > 0) ||
827
+ isItemDetailTitle ||
828
+ (itemDetails && itemDetails.length > 0) ||
829
+ icons?.upArrowIcon ||
830
+ icons?.downArrowIcon;
831
+ const slidesToShow = images.length > 3 ? 4 : images.length;
832
+ const sliderKey = `infinite-${images.length > 3}-slides-${slidesToShow}`;
833
+
834
+ const settings = {
835
+ dots: false,
836
+ button: false,
837
+ infinite: true,
838
+ autoplay: false,
839
+ slidesToShow: 1,
840
+ slidesToScroll: 1,
841
+ centerMode: false,
842
+ adaptiveHeight: false,
843
+ speed: 500,
844
+ autoplaySpeed: 5000,
845
+ beforeChange: (oldIndex: number, newIndex: number) => {
846
+ this.setComponentState("selectedImage", newIndex);
847
+
848
+ const mobileSliderRef = this.getComponentState(
849
+ "slider-ref-small-image-mobile"
850
+ )?.current;
851
+ const desktopSliderRef = this.getComponentState(
852
+ "slider-ref-small-image"
853
+ )?.current;
854
+
855
+ if (images.length > 0) {
856
+ if (
857
+ mobileSliderRef &&
858
+ typeof mobileSliderRef.slickGoTo === "function"
859
+ ) {
860
+ mobileSliderRef.slickGoTo(newIndex);
861
+ }
862
+ if (
863
+ desktopSliderRef &&
864
+ typeof desktopSliderRef.slickGoTo === "function"
865
+ ) {
866
+ desktopSliderRef.slickGoTo(newIndex);
867
+ }
868
+ }
869
+ },
870
+ };
871
+ const smallDesktopSlidesToShow = Math.max(1, Math.min(4, (images.length || 0) - 1));
872
+ const smallMobileSlidesToShow = Math.max(1, Math.min(3, (images.length || 0) - 1));
873
+
874
+ const settingsSmallImage = {
875
+ arrows: false,
876
+ dots: false,
877
+ infinite: images.length > smallDesktopSlidesToShow,
878
+ autoplay: false,
879
+ slidesToShow: smallDesktopSlidesToShow,
880
+ slidesToScroll: 1,
881
+ vertical: true,
882
+ verticalSwiping: true,
883
+ };
884
+ const settingsSmallImageMobile = {
885
+ arrows: false,
886
+ dots: false,
887
+ infinite: images.length > smallMobileSlidesToShow,
888
+ slidesToShow: smallMobileSlidesToShow,
889
+ slidesToScroll: 1,
890
+ };
891
+ return (
892
+ <Base.Container className={this.decorateCSS("container")}>
893
+ <Base.MaxContent className={this.decorateCSS("max-content")}>
894
+ {images.length > 0 && (
895
+ <div className={this.decorateCSS("left-container")}>
896
+ <div className={this.decorateCSS("small-image-slider")}>
897
+ <ComposerSlider
898
+ {...settingsSmallImage}
899
+ key={sliderKey}
900
+ className={this.decorateCSS("small-images-container")}
901
+ ref={this.getComponentState("slider-ref-small-image")}
902
+ >
903
+ {images.map((item: Images, index: number) => {
904
+ return (
905
+ <div
906
+ className={`${this.decorateCSS("small-image")} ${this.getComponentState("selectedImage") === index ? this.decorateCSS("active") : ""}`}
907
+ key={index}
908
+ >
909
+ <div onClick={() => this.handleDotClick(index)}>
910
+ <Base.Media
911
+ value={item.item}
912
+ className={this.decorateCSS("image")}
913
+ />
914
+ </div>
915
+
916
+ </div>
917
+ );
918
+ })}
919
+ </ComposerSlider>
920
+ <ComposerSlider
921
+ {...settingsSmallImageMobile}
922
+ className={this.decorateCSS("small-images-container-mobile")}
923
+ ref={this.getComponentState("slider-ref-small-image-mobile")}
924
+ >
925
+ {images.map((item: Images, index: number) => {
926
+ return (
927
+ <div
928
+ className={`${this.decorateCSS("small-image")} ${this.getComponentState("selectedImage") === index ? this.decorateCSS("active") : ""}`}
929
+ key={index}
930
+ >
931
+ <Base.Media
932
+ value={item.item}
933
+ className={this.decorateCSS("image")}
934
+ onClick={() => this.handleDotClick(index)}
935
+ />
936
+
937
+ </div>
938
+ );
939
+ })}
940
+ </ComposerSlider>
941
+ {(icons?.imageDownArrow ||
942
+ icons?.imageUpArrow) && (
943
+ <div className={this.decorateCSS("arrow-buttons")}>
944
+ {icons?.imageDownArrow && (
945
+ <div className={this.decorateCSS("image-down-arrow")}>
946
+ <Base.Media
947
+ value={icons.imageDownArrow}
948
+ className={this.decorateCSS("icon")}
949
+ onClick={() => {
950
+ this.handleClickLeft();
951
+ }}
952
+ />
953
+ </div>
954
+ )}
955
+ {icons?.imageUpArrow && (
956
+ <div className={this.decorateCSS("image-up-arrow")}>
957
+ <Base.Media
958
+ value={icons.imageUpArrow}
959
+ className={this.decorateCSS("icon")}
960
+ onClick={() => {
961
+ this.handleClickRight();
962
+ }}
963
+ />
964
+ </div>
965
+ )}
966
+ </div>
967
+ )}
968
+ </div>
969
+ <div className={this.decorateCSS("slider-parent")}>
970
+ <div className={this.decorateCSS("image-icon-left")}>
971
+ <Base.Media
972
+ value={icons?.leftArrow}
973
+ className={this.decorateCSS("icon")}
974
+ onClick={() => {
975
+ sliderRef.current.slickPrev();
976
+ }}
977
+ />
978
+ </div>
979
+ <ComposerSlider
980
+ {...settings}
981
+ className={this.decorateCSS("slider-container")}
982
+ ref={this.getComponentState("slider-ref")}
983
+ >
984
+ {images.map((item: Images, index: number) => {
985
+ return (
986
+ <div className={this.decorateCSS("slider")} key={index}>
987
+ <div
988
+ className={this.decorateCSS("big-image-container")}
989
+ >
990
+ <Base.Media
991
+ value={item.item}
992
+ onClick={() => this.toggleZoomImage()}
993
+ className={this.decorateCSS("big-image")}
994
+ />
995
+ </div>
996
+ </div>
997
+ );
998
+ })}
999
+ </ComposerSlider>
1000
+ <div className={this.decorateCSS("image-icon-right")}>
1001
+ <Base.Media
1002
+ value={icons?.rightArrow}
1003
+ className={this.decorateCSS("icon")}
1004
+ onClick={() => {
1005
+ sliderRef.current.slickNext();
1006
+ }}
1007
+ />
1008
+ </div>
1009
+ </div>
1010
+ </div>
1011
+ )}
1012
+ {isRightContainer && (
1013
+ <div className={this.decorateCSS("right-container")}>
1014
+ {(isTitle ||
1015
+ isShareIcon ||
1016
+ isSahreTitle ||
1017
+ socials.length > 0 ||
1018
+ currencyValue) && (
1019
+ <>
1020
+ <Base.VerticalContent
1021
+ className={this.decorateCSS("upper-container")}
1022
+ >
1023
+ {(isTitle ||
1024
+ isShareIcon ||
1025
+ isSahreTitle ||
1026
+ socials.length > 0) && (
1027
+ <div className={this.decorateCSS("header")}>
1028
+ {isTitle && (
1029
+ <Base.SectionTitle
1030
+ className={this.decorateCSS("title")}
1031
+ >
1032
+ {this.getPropValue("title")}
1033
+ </Base.SectionTitle>
1034
+ )}
1035
+ {(isShareIcon ||
1036
+ isSahreTitle ||
1037
+ socials.length > 0) && (
1038
+ <div
1039
+ className={`${this.decorateCSS(
1040
+ "share-container"
1041
+ )} ${
1042
+ !isTitle && this.decorateCSS("without-title")
1043
+ }`}
1044
+ >
1045
+ <div className={this.decorateCSS("share-wrapper")}>
1046
+ {isShareIcon && (
1047
+ <Base.Media
1048
+ value={shareSection.shareIcon}
1049
+ className={this.decorateCSS("share-icon")}
1050
+ />
1051
+ )}
1052
+ {isSahreTitle && (
1053
+ <Base.H4 className={this.decorateCSS("title")}>
1054
+ {shareSection.title}
1055
+ </Base.H4>
1056
+ )}
1057
+ {socials.length > 0 && (
1058
+ <div className={this.decorateCSS("socials")}>
1059
+ {socials.map(
1060
+ (item: Socials, index: number) => {
1061
+ const icon = this.getPropValue("icon", { parent_object: item.value });
1062
+ const text = this.getPropValue("text", { parent_object: item.value });
1063
+ const link = this.getPropValue("link", { parent_object: item.value });
1064
+ return (
1065
+ <>
1066
+ {(icon || this.castToString(text)) && (
1067
+ <div
1068
+ className={this.decorateCSS(
1069
+ "social"
1070
+ )}
1071
+ key={index}
1072
+ >
1073
+ {icon && (
1074
+ <Base.Media
1075
+ value={icon}
1076
+ className={this.decorateCSS("social-icon")}
1077
+ />
1078
+ )}
1079
+ {this.castToString(text) && (
1080
+ <ComposerLink path={link}>
1081
+ <Base.P
1082
+ className={this.decorateCSS(
1083
+ "social-text"
1084
+ )}
1085
+ >
1086
+ {text}
1087
+ </Base.P>
1088
+ </ComposerLink>
1089
+ )}
1090
+ </div>
1091
+ )}
1092
+ </>
1093
+ );
1094
+ }
1095
+ )}
1096
+ {shareCopyLink.isActive && (
1097
+ <div
1098
+ className={this.decorateCSS("social")}
1099
+ onClick={() => this.handleCopy()}
1100
+ >
1101
+ <Base.Media
1102
+ value={shareCopyLink.icon}
1103
+ className={this.decorateCSS("social-icon")}
1104
+ />
1105
+ <Base.P
1106
+ className={this.decorateCSS(
1107
+ "social-text"
1108
+ )}
1109
+ >
1110
+ {this.getComponentState("copied")
1111
+ ? shareCopyLink.copiedText
1112
+ : shareCopyLink.text}
1113
+ </Base.P>
1114
+ </div>
1115
+ )}
1116
+ </div>
1117
+ )}
1118
+ </div>
1119
+ </div>
1120
+ )}
1121
+ </div>
1122
+ )}
1123
+ {currencyValue && (
1124
+ <div className={this.decorateCSS("cost")}>
1125
+ <Base.H3 className={this.decorateCSS("value")}>
1126
+ {currencyValue}
1127
+ </Base.H3>
1128
+ <Base.H3 className={this.decorateCSS("currency-code")}>
1129
+ {currencySymbol}
1130
+ </Base.H3>
1131
+ </div>
1132
+ )}
1133
+ </Base.VerticalContent>
1134
+ {this.getPropValue("dividerActive") && (
1135
+ <div className={this.decorateCSS("divider")}></div>
1136
+ )}
1137
+ </>
1138
+ )}
1139
+ {(isSizeLabel || sizeSections.length > 0) && (
1140
+ <>
1141
+ <div className={this.decorateCSS("size-container")}>
1142
+ {isSizeLabel && (
1143
+ <Base.P className={this.decorateCSS("label")}>
1144
+ {this.getPropValue("sizeLabel")}
1145
+ </Base.P>
1146
+ )}
1147
+ {sizeSections.length > 0 && (
1148
+ <div className={this.decorateCSS("size-selects")}>
1149
+ {sizeSections.map(
1150
+ (item: SizeSections, index: number) => {
1151
+ return (
1152
+ <div
1153
+ className={`${this.decorateCSS(
1154
+ "size-select"
1155
+ )} ${
1156
+ this.getComponentState(
1157
+ "selectedSizeSection"
1158
+ ) === index && this.decorateCSS("active")
1159
+ }`}
1160
+ onClick={() => this.toggleSize(index)}
1161
+ key={index}
1162
+ >
1163
+ {item.size && (
1164
+ <Base.P className={this.decorateCSS("size")}>
1165
+ {item.size}
1166
+ </Base.P>
1167
+ )}
1168
+ {this.castToString(item.type) && (
1169
+ <Base.P className={this.decorateCSS("type")}>
1170
+ {item.type}
1171
+ </Base.P>
1172
+ )}
1173
+ </div>
1174
+ );
1175
+ }
1176
+ )}
1177
+ </div>
1178
+ )}
1179
+ </div>
1180
+ {this.getPropValue("dividerActive") && (
1181
+ <div className={this.decorateCSS("divider")}></div>
1182
+ )}
1183
+ </>
1184
+ )}
1185
+ {(countSection.minusIcon ||
1186
+ countSection.count ||
1187
+ countSection.addIcon ||
1188
+ this.castToString(button.text)) && (
1189
+ <div className={this.decorateCSS("count-container")}>
1190
+ {(countSection.minusIcon ||
1191
+ countSection.count ||
1192
+ countSection.addIcon) && (
1193
+ <div className={this.decorateCSS("count")}>
1194
+ {countSection.minusIcon && (
1195
+ <div
1196
+ className={this.decorateCSS("minus-icon")}
1197
+ onClick={() => this.handleMinus()}
1198
+ >
1199
+ <Base.Media
1200
+ value={countSection.minusIcon}
1201
+ className={this.decorateCSS("icon")}
1202
+ />
1203
+ </div>
1204
+ )}
1205
+ {countSection.count && (
1206
+ <input
1207
+ type="number"
1208
+ min={1}
1209
+ className={this.decorateCSS("number")}
1210
+ value={this.getComponentState("itemCount")}
1211
+ onChange={(e) => {
1212
+ const value = e.target.value;
1213
+
1214
+ if (value === "") {
1215
+ this.setComponentState("itemCount", "");
1216
+ return;
1217
+ }
1218
+
1219
+ const parsed = parseInt(value, 10);
1220
+ if (!isNaN(parsed) && parsed >= 1) {
1221
+ this.setComponentState("itemCount", parsed);
1222
+ }
1223
+ }}
1224
+
1225
+ />
1226
+
1227
+ )}
1228
+ {countSection.addIcon && (
1229
+ <div
1230
+ className={this.decorateCSS("add-icon")}
1231
+ onClick={() => this.handleAdd()}
1232
+ >
1233
+ <Base.Media
1234
+ value={countSection.addIcon}
1235
+ className={this.decorateCSS("icon")}
1236
+ />
1237
+ </div>
1238
+ )}
1239
+ </div>
1240
+ )}
1241
+ {this.castToString(button.text) && (
1242
+ <div className={this.decorateCSS("add-button")}>
1243
+ <ComposerLink path={button.url}>
1244
+ <Base.Button
1245
+ buttonType={button.type}
1246
+ className={this.decorateCSS("button")}
1247
+ >
1248
+ <Base.P className={this.decorateCSS("button-text")}>{button.text}</Base.P>
1249
+ </Base.Button>
1250
+ </ComposerLink>
1251
+ </div>
1252
+ )}
1253
+ </div>
1254
+ )}
1255
+ {deliveryType.length > 0 && (
1256
+ <div className={this.decorateCSS("delivery-types")}>
1257
+ {deliveryType.map((item: DeliveryType, index: number) => {
1258
+ return (
1259
+ <div
1260
+ className={this.decorateCSS("delivery-type")}
1261
+ key={index}
1262
+ >
1263
+ <input
1264
+ type="radio"
1265
+ name="delivery-type"
1266
+ className={this.decorateCSS("radio")}
1267
+ checked={this.getComponentState("selectedRadioButton") === index}
1268
+ onChange={() => this.handleRadioButton(index)}
1269
+ disabled={!item.isRadioButtonActive}
1270
+ />
1271
+ {this.castToString(item.description) && (
1272
+ <Base.P className={this.decorateCSS("delivery")}>
1273
+ {item.description}
1274
+ </Base.P>
1275
+ )}
1276
+ </div>
1277
+ );
1278
+ })}
1279
+ </div>
1280
+ )}
1281
+ {(isItemDetailTitle || itemDetails.length > 0) && (
1282
+ <div className={this.decorateCSS("item-detail-wrapper")}>
1283
+ {isItemDetailTitle && (
1284
+ <Base.P className={this.decorateCSS("item-detail-title")}>
1285
+ {this.getPropValue("itemDetailTitle")}
1286
+ </Base.P>
1287
+ )}
1288
+ {itemDetails.length > 0 && (
1289
+ <div className={this.decorateCSS("item-detail-container")}>
1290
+ <div className={this.decorateCSS("sections")}>
1291
+ {itemDetails.map((item: ItemDetails, index: number) => {
1292
+ return (
1293
+ <>
1294
+ {(icons?.upArrowIcon ||
1295
+ icons?.downArrowIcon ||
1296
+ this.castToString(item.title) ||
1297
+ (this.castToString(item.description) ))&& (
1298
+ <div
1299
+ className={this.decorateCSS("section")}
1300
+ key={index}
1301
+ >
1302
+ {(this.castToString(item.title) ||
1303
+ icons?.upArrowIcon ||
1304
+ icons?.downArrowIcon) && (
1305
+ <div
1306
+ className={this.decorateCSS(
1307
+ "section-container"
1308
+ )}
1309
+ onClick={() =>
1310
+ this.toggleDescription(index)
1311
+ }
1312
+ >
1313
+ {this.castToString(item.title) && (
1314
+ <Base.P
1315
+ className={this.decorateCSS(
1316
+ "section-title"
1317
+ )}
1318
+ >
1319
+ {item.title}
1320
+ </Base.P>
1321
+ )}
1322
+ {(icons?.upArrowIcon ||
1323
+ icons?.downArrowIcon) && (
1324
+ <Base.Media
1325
+ value={
1326
+ this.getComponentState(
1327
+ "openIndex"
1328
+ ) === index
1329
+ ? icons.upArrowIcon
1330
+ : icons.downArrowIcon
1331
+ }
1332
+ className={this.decorateCSS("icon")}
1333
+ />
1334
+ )}
1335
+ </div>
1336
+ )}
1337
+ {this.castToString(item.description) && (
1338
+ <div
1339
+ className={`${this.decorateCSS(
1340
+ "description"
1341
+ )} ${
1342
+ this.getComponentState(
1343
+ "openIndex"
1344
+ ) === index &&
1345
+ this.decorateCSS("active")
1346
+ }`}
1347
+ >
1348
+ <Base.P
1349
+ className={this.decorateCSS("text")}
1350
+ >
1351
+ {item.description}
1352
+ </Base.P>
1353
+ </div>
1354
+ )}
1355
+ </div>
1356
+ )}
1357
+ </>
1358
+ );
1359
+ })}
1360
+ </div>
1361
+ </div>
1362
+ )}
1363
+ </div>
1364
+ )}
1365
+ </div>
1366
+ )}
1367
+ </Base.MaxContent>
1368
+ <Base.Overlay
1369
+ isVisible={this.getComponentState("zoomImage")}
1370
+ className={this.decorateCSS("zoom-image")}
1371
+ >
1372
+ {icons?.closeIcon && (
1373
+ <div
1374
+ className={this.decorateCSS("close-icon")}
1375
+ onClick={() => this.handleClickClose()}
1376
+ >
1377
+ <Base.Media
1378
+ value={icons.closeIcon}
1379
+ className={this.decorateCSS("icon")}
1380
+ />
1381
+ </div>
1382
+ )}
1383
+ {icons?.leftArrow && (
1384
+ <div
1385
+ className={this.decorateCSS("left-icon")}
1386
+ onClick={() => this.handleClickPrevOverlay()}
1387
+ >
1388
+ <Base.Media
1389
+ value={icons.leftArrow}
1390
+ className={this.decorateCSS("icon")}
1391
+ />
1392
+ </div>
1393
+ )}
1394
+ {this.decorateCSS("right-icon") && (
1395
+ <div
1396
+ className={this.decorateCSS("right-icon")}
1397
+ onClick={() => this.handleClickNextOverlay()}
1398
+ >
1399
+ <Base.Media
1400
+ value={icons?.rightArrow}
1401
+ className={this.decorateCSS("icon")}
1402
+ />
1403
+ </div>
1404
+ )}
1405
+ {images[this.getComponentState("selectedImage")]?.item && (
1406
+ <Base.Media
1407
+ value={images[this.getComponentState("selectedImage")].item}
1408
+ onClick={() => this.toggleZoomOverlayImage()}
1409
+ className={`${this.decorateCSS("image")} ${
1410
+ this.getComponentState("overlayZoomImage") &&
1411
+ this.decorateCSS("zoom")
1412
+ }`}
1413
+ />
1414
+ )}
1415
+ {images.length > 0 && icons?.sliderDotIcon && (
1416
+ <div className={this.decorateCSS("dots")}>
1417
+ {images.map((item, index: number) => {
1418
+ return (
1419
+ <div
1420
+ className={this.decorateCSS("dot")}
1421
+ onClick={() => this.handleDotClick(index)}
1422
+ key={index}
1423
+ >
1424
+ <Base.Media
1425
+ value={icons.sliderDotIcon}
1426
+ className={`${this.decorateCSS("icon")} ${
1427
+ this.getComponentState("selectedImage") === index &&
1428
+ this.decorateCSS("active")
1429
+ }`}
1430
+ />
1431
+ </div>
1432
+ );
1433
+ })}
1434
+ </div>
1435
+ )}
1436
+ </Base.Overlay>
1437
+ </Base.Container>
1438
+ );
1439
+ }
1440
+ }
1441
+
1442
+ export default ECommerce7;