@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.
- package/EventEmitter.ts +40 -0
- package/InlineEditorProvider.tsx +30 -0
- package/composer-base-components/base/base.module.scss +638 -0
- package/composer-base-components/base/base.tsx +692 -0
- package/composer-base-components/base/utitilities/iconList.ts +65 -0
- package/composer-base-components/base/utitilities/viewports.module.scss +2 -0
- package/composer-base-components/close/close.module.scss +16 -0
- package/composer-base-components/close/close.tsx +14 -0
- package/composer-base-components/embeded-link/embeded-link.tsx +38 -0
- package/composer-base-components/map/map.tsx +267 -0
- package/composer-base-components/media/media.tsx +0 -0
- package/composer-base-components/modal/index.ts +4 -0
- package/composer-base-components/modal/modal.module.scss +19 -0
- package/composer-base-components/modal/modal.service.ts +27 -0
- package/composer-base-components/modal/modal.tsx +22 -0
- package/composer-base-components/slider/slider.tsx +120 -0
- package/composer-base-components/ui/accordion/Accordion.module.scss +46 -0
- package/composer-base-components/ui/accordion/Accordion.tsx +48 -0
- package/composer-base-components/ui/cookie/Cookie.module.scss +473 -0
- package/composer-base-components/ui/cookie/Cookie.tsx +69 -0
- package/composer-base-components/ui/dropdown/Dropdown.module.scss +79 -0
- package/composer-base-components/ui/dropdown/Dropdown.tsx +133 -0
- package/context/DataContext.tsx +79 -0
- package/custom-component-loader.ts +84 -0
- package/custom-hooks/hex-to-rgb.tsx +6 -0
- package/custom-hooks/input-templates.tsx +243 -0
- package/custom-hooks/load-font.tsx +9 -0
- package/custom-hooks/placeholder-filler.tsx +23 -0
- package/custom-hooks/project.ts +9 -0
- package/editor-components/ComponentRegistery.tsx +42 -0
- package/editor-components/EditorComponent.tsx +1103 -0
- package/editor-components/Image_gallery/image_gallery_1/image-gallery1.module.scss +130 -0
- package/editor-components/Image_gallery/image_gallery_1/image-gallery1.tsx +619 -0
- package/editor-components/Image_gallery/image_gallery_10/image-gallery10.module.scss +179 -0
- package/editor-components/Image_gallery/image_gallery_10/image-gallery10.tsx +682 -0
- package/editor-components/Image_gallery/image_gallery_11/image-gallery11.module.scss +394 -0
- package/editor-components/Image_gallery/image_gallery_11/image-gallery11.tsx +595 -0
- package/editor-components/Image_gallery/image_gallery_2/image-gallery2.module.scss +267 -0
- package/editor-components/Image_gallery/image_gallery_2/image-gallery2.tsx +1028 -0
- package/editor-components/Image_gallery/image_gallery_3/image-gallery3.module.scss +158 -0
- package/editor-components/Image_gallery/image_gallery_3/image-gallery3.tsx +320 -0
- package/editor-components/Image_gallery/image_gallery_4/image-gallery4.module.scss +264 -0
- package/editor-components/Image_gallery/image_gallery_4/image-gallery4.tsx +787 -0
- package/editor-components/Image_gallery/image_gallery_5/image-gallery5.module.scss +216 -0
- package/editor-components/Image_gallery/image_gallery_5/image-gallery5.tsx +404 -0
- package/editor-components/Image_gallery/image_gallery_6/image-gallery6.module.scss +359 -0
- package/editor-components/Image_gallery/image_gallery_6/image-gallery6.tsx +824 -0
- package/editor-components/Image_gallery/image_gallery_7/image-gallery7.module.scss +142 -0
- package/editor-components/Image_gallery/image_gallery_7/image-gallery7.tsx +515 -0
- package/editor-components/Image_gallery/image_gallery_8/image-gallery8.module.scss +96 -0
- package/editor-components/Image_gallery/image_gallery_8/image-gallery8.tsx +443 -0
- package/editor-components/Image_gallery/image_gallery_9/image-gallery9.module.scss +196 -0
- package/editor-components/Image_gallery/image_gallery_9/image-gallery9.tsx +627 -0
- package/editor-components/about/about1/about1.module.scss +162 -0
- package/editor-components/about/about1/about1.tsx +343 -0
- package/editor-components/about/about10/about10.module.scss +273 -0
- package/editor-components/about/about10/about10.tsx +297 -0
- package/editor-components/about/about11/about11.module.scss +191 -0
- package/editor-components/about/about11/about11.tsx +267 -0
- package/editor-components/about/about12/about12.module.scss +195 -0
- package/editor-components/about/about12/about12.tsx +204 -0
- package/editor-components/about/about13/about13.module.scss +144 -0
- package/editor-components/about/about13/about13.tsx +118 -0
- package/editor-components/about/about14/about14.module.scss +193 -0
- package/editor-components/about/about14/about14.tsx +183 -0
- package/editor-components/about/about15/about15.module.scss +190 -0
- package/editor-components/about/about15/about15.tsx +194 -0
- package/editor-components/about/about16/about16.module.scss +198 -0
- package/editor-components/about/about16/about16.tsx +280 -0
- package/editor-components/about/about2/about2.module.scss +139 -0
- package/editor-components/about/about2/about2.tsx +121 -0
- package/editor-components/about/about3/about3.module.scss +249 -0
- package/editor-components/about/about3/about3.tsx +270 -0
- package/editor-components/about/about4/about4.module.scss +50 -0
- package/editor-components/about/about4/about4.tsx +88 -0
- package/editor-components/about/about5/about5.module.scss +188 -0
- package/editor-components/about/about5/about5.tsx +187 -0
- package/editor-components/about/about6/about6.module.scss +84 -0
- package/editor-components/about/about6/about6.tsx +141 -0
- package/editor-components/about/about7/about7.module.scss +268 -0
- package/editor-components/about/about7/about7.tsx +272 -0
- package/editor-components/about/about8/about8.module.scss +159 -0
- package/editor-components/about/about8/about8.tsx +240 -0
- package/editor-components/about/about9/about9.module.scss +79 -0
- package/editor-components/about/about9/about9.tsx +142 -0
- package/editor-components/blog/blog1/blog1.module.scss +542 -0
- package/editor-components/blog/blog1/blog1.tsx +540 -0
- package/editor-components/blog/blog2/blog2.module.scss +377 -0
- package/editor-components/blog/blog2/blog2.tsx +317 -0
- package/editor-components/blog/blog3/blog3.module.scss +477 -0
- package/editor-components/blog/blog3/blog3.tsx +709 -0
- package/editor-components/breadcrumb/breadcrumb1/breadcrumb1.module.scss +142 -0
- package/editor-components/breadcrumb/breadcrumb1/breadcrumb1.tsx +236 -0
- package/editor-components/breadcrumb/breadcrumb2/breadcrumb2.module.scss +139 -0
- package/editor-components/breadcrumb/breadcrumb2/breadcrumb2.tsx +224 -0
- package/editor-components/breadcrumb/breadcrumb3/breadcrumb3.module.scss +193 -0
- package/editor-components/breadcrumb/breadcrumb3/breadcrumb3.tsx +218 -0
- package/editor-components/breadcrumb/breadcrumb4/breadcrumb4.module.scss +201 -0
- package/editor-components/breadcrumb/breadcrumb4/breadcrumb4.tsx +297 -0
- package/editor-components/breadcrumb/breadcrumb5/breadcrumb5.module.scss +90 -0
- package/editor-components/breadcrumb/breadcrumb5/breadcrumb5.tsx +161 -0
- package/editor-components/breadcrumb/breadcrumb6/breadcrumb6.module.scss +168 -0
- package/editor-components/breadcrumb/breadcrumb6/breadcrumb6.tsx +235 -0
- package/editor-components/call_to_action/call_to_action1/call_to_action1.module.scss +41 -0
- package/editor-components/call_to_action/call_to_action1/call_to_action1.tsx +84 -0
- package/editor-components/call_to_action/call_to_action10/call_to_action10.module.scss +96 -0
- package/editor-components/call_to_action/call_to_action10/call_to_action10.tsx +233 -0
- package/editor-components/call_to_action/call_to_action11/call_to_action11.module.scss +99 -0
- package/editor-components/call_to_action/call_to_action11/call_to_action11.tsx +73 -0
- package/editor-components/call_to_action/call_to_action12/call_to_action12.module.scss +146 -0
- package/editor-components/call_to_action/call_to_action12/call_to_action12.tsx +147 -0
- package/editor-components/call_to_action/call_to_action13/call_to_action13.module.scss +149 -0
- package/editor-components/call_to_action/call_to_action13/call_to_action13.tsx +127 -0
- package/editor-components/call_to_action/call_to_action14/call_to_action14.module.scss +176 -0
- package/editor-components/call_to_action/call_to_action14/call_to_action14.tsx +99 -0
- package/editor-components/call_to_action/call_to_action15/call_to_action15.module.scss +32 -0
- package/editor-components/call_to_action/call_to_action15/call_to_action15.tsx +87 -0
- package/editor-components/call_to_action/call_to_action16/call_to_action16.module.scss +54 -0
- package/editor-components/call_to_action/call_to_action16/call_to_action16.tsx +95 -0
- package/editor-components/call_to_action/call_to_action17/call_to_action17.module.scss +43 -0
- package/editor-components/call_to_action/call_to_action17/call_to_action17.tsx +80 -0
- package/editor-components/call_to_action/call_to_action18/call_to_action18.module.scss +88 -0
- package/editor-components/call_to_action/call_to_action18/call_to_action18.tsx +104 -0
- package/editor-components/call_to_action/call_to_action2/call_to_action2.module.scss +271 -0
- package/editor-components/call_to_action/call_to_action2/call_to_action2.tsx +221 -0
- package/editor-components/call_to_action/call_to_action20/call_to_action20.module.scss +89 -0
- package/editor-components/call_to_action/call_to_action20/call_to_action20.tsx +96 -0
- package/editor-components/call_to_action/call_to_action21/call_to_action21.module.scss +84 -0
- package/editor-components/call_to_action/call_to_action21/call_to_action21.tsx +111 -0
- package/editor-components/call_to_action/call_to_action22/call_to_action22.module.scss +83 -0
- package/editor-components/call_to_action/call_to_action22/call_to_action22.tsx +118 -0
- package/editor-components/call_to_action/call_to_action3/call_to_action3.module.scss +94 -0
- package/editor-components/call_to_action/call_to_action3/call_to_action3.tsx +121 -0
- package/editor-components/call_to_action/call_to_action4/call_to_action4.module.scss +96 -0
- package/editor-components/call_to_action/call_to_action4/call_to_action4.tsx +253 -0
- package/editor-components/call_to_action/call_to_action5/call_to_action5.module.scss +185 -0
- package/editor-components/call_to_action/call_to_action5/call_to_action5.tsx +168 -0
- package/editor-components/call_to_action/call_to_action6/call_to_action6.module.scss +188 -0
- package/editor-components/call_to_action/call_to_action6/call_to_action6.tsx +230 -0
- package/editor-components/call_to_action/call_to_action7/call_to_action7.module.scss +158 -0
- package/editor-components/call_to_action/call_to_action7/call_to_action7.tsx +193 -0
- package/editor-components/call_to_action/call_to_action8/call_to_action8.module.scss +75 -0
- package/editor-components/call_to_action/call_to_action8/call_to_action8.tsx +113 -0
- package/editor-components/call_to_action/call_to_action9/call_to_action9.module.scss +71 -0
- package/editor-components/call_to_action/call_to_action9/call_to_action9.tsx +258 -0
- package/editor-components/coming-soon/coming-soon1/coming-soon1.module.scss +100 -0
- package/editor-components/coming-soon/coming-soon1/coming-soon1.tsx +200 -0
- package/editor-components/coming-soon/coming-soon2/coming-soon2.module.scss +230 -0
- package/editor-components/coming-soon/coming-soon2/coming-soon2.tsx +355 -0
- package/editor-components/coming-soon/coming-soon3/coming-soon3.module.scss +205 -0
- package/editor-components/coming-soon/coming-soon3/coming-soon3.tsx +250 -0
- package/editor-components/coming-soon/coming-soon4/coming-soon4.module.scss +139 -0
- package/editor-components/coming-soon/coming-soon4/coming-soon4.tsx +228 -0
- package/editor-components/comparison/comparison1/comparison1.module.scss +320 -0
- package/editor-components/comparison/comparison1/comparison1.tsx +315 -0
- package/editor-components/contacts/form1/form1.module.scss +77 -0
- package/editor-components/contacts/form1/form1.tsx +300 -0
- package/editor-components/contacts/form2/form2.module.scss +183 -0
- package/editor-components/contacts/form2/form2.tsx +425 -0
- package/editor-components/contacts/form3/form3.module.scss +496 -0
- package/editor-components/contacts/form3/form3.tsx +782 -0
- package/editor-components/contacts/form4/form4.module.scss +192 -0
- package/editor-components/contacts/form4/form4.tsx +593 -0
- package/editor-components/contacts/form5/form5.module.scss +159 -0
- package/editor-components/contacts/form5/form5.tsx +615 -0
- package/editor-components/contacts/form6/form6.module.scss +177 -0
- package/editor-components/contacts/form6/form6.tsx +580 -0
- package/editor-components/contacts/form7/form7.module.scss +167 -0
- package/editor-components/contacts/form7/form7.tsx +417 -0
- package/editor-components/contacts/form8/form8.module.scss +151 -0
- package/editor-components/contacts/form8/form8.tsx +506 -0
- package/editor-components/contacts/form9/form9.module.scss +314 -0
- package/editor-components/contacts/form9/form9.tsx +923 -0
- package/editor-components/download/download1/download1.module.scss +109 -0
- package/editor-components/download/download1/download1.tsx +119 -0
- package/editor-components/download/download10/download10.module.scss +142 -0
- package/editor-components/download/download10/download10.tsx +254 -0
- package/editor-components/download/download11/download11.module.scss +201 -0
- package/editor-components/download/download11/download11.tsx +253 -0
- package/editor-components/download/download2/download2.module.scss +95 -0
- package/editor-components/download/download2/download2.tsx +249 -0
- package/editor-components/download/download3/download3.module.scss +359 -0
- package/editor-components/download/download3/download3.tsx +185 -0
- package/editor-components/download/download4/download4.module.scss +102 -0
- package/editor-components/download/download4/download4.tsx +119 -0
- package/editor-components/download/download5/download5.module.scss +135 -0
- package/editor-components/download/download5/download5.tsx +135 -0
- package/editor-components/download/download6/download6.module.scss +83 -0
- package/editor-components/download/download6/download6.tsx +122 -0
- package/editor-components/download/download7/download7.module.scss +136 -0
- package/editor-components/download/download7/download7.tsx +135 -0
- package/editor-components/download/download8/download8.module.scss +316 -0
- package/editor-components/download/download8/download8.tsx +248 -0
- package/editor-components/download/download9/download9.module.scss +284 -0
- package/editor-components/download/download9/download9.tsx +154 -0
- package/editor-components/e-commerce/e-commerce1/e-commerce1.module.scss +459 -0
- package/editor-components/e-commerce/e-commerce1/e-commerce1.tsx +809 -0
- package/editor-components/e-commerce/e-commerce2/e-commerce2.module.scss +318 -0
- package/editor-components/e-commerce/e-commerce2/e-commerce2.tsx +3361 -0
- package/editor-components/e-commerce/e-commerce3/e-commerce3.module.scss +94 -0
- package/editor-components/e-commerce/e-commerce3/e-commerce3.tsx +350 -0
- package/editor-components/e-commerce/e-commerce4/e-commerce4.module.scss +289 -0
- package/editor-components/e-commerce/e-commerce4/e-commerce4.tsx +2234 -0
- package/editor-components/e-commerce/e-commerce5/e-commerce5.module.scss +264 -0
- package/editor-components/e-commerce/e-commerce5/e-commerce5.tsx +542 -0
- package/editor-components/e-commerce/e-commerce6/e-commerce6.module.scss +489 -0
- package/editor-components/e-commerce/e-commerce6/e-commerce6.tsx +518 -0
- package/editor-components/e-commerce/e-commerce7/e-commerce7.module.scss +688 -0
- package/editor-components/e-commerce/e-commerce7/e-commerce7.tsx +1442 -0
- package/editor-components/e-commerce/e-commerce8/e-commerce8.module.scss +310 -0
- package/editor-components/e-commerce/e-commerce8/e-commerce8.tsx +957 -0
- package/editor-components/faq/faq1/faq1.module.scss +93 -0
- package/editor-components/faq/faq1/faq1.tsx +195 -0
- package/editor-components/faq/faq10/faq10.module.scss +153 -0
- package/editor-components/faq/faq10/faq10.tsx +452 -0
- package/editor-components/faq/faq2/faq2.module.scss +123 -0
- package/editor-components/faq/faq2/faq2.tsx +374 -0
- package/editor-components/faq/faq3/faq3.module.scss +144 -0
- package/editor-components/faq/faq3/faq3.tsx +407 -0
- package/editor-components/faq/faq4/faq4.module.scss +124 -0
- package/editor-components/faq/faq4/faq4.tsx +303 -0
- package/editor-components/faq/faq5/faq5.module.scss +151 -0
- package/editor-components/faq/faq5/faq5.tsx +614 -0
- package/editor-components/faq/faq6/faq6.module.scss +116 -0
- package/editor-components/faq/faq6/faq6.tsx +241 -0
- package/editor-components/faq/faq7/faq7.module.scss +98 -0
- package/editor-components/faq/faq7/faq7.tsx +298 -0
- package/editor-components/faq/faq8/faq8.module.scss +217 -0
- package/editor-components/faq/faq8/faq8.tsx +796 -0
- package/editor-components/faq/faq9/faq9.module.scss +137 -0
- package/editor-components/faq/faq9/faq9.tsx +466 -0
- package/editor-components/feature/feature1/feature1.module.scss +115 -0
- package/editor-components/feature/feature1/feature1.tsx +148 -0
- package/editor-components/feature/feature10/feature10.module.scss +191 -0
- package/editor-components/feature/feature10/feature10.tsx +468 -0
- package/editor-components/feature/feature11/feature11.module.scss +99 -0
- package/editor-components/feature/feature11/feature11.tsx +337 -0
- package/editor-components/feature/feature12/feature12.module.scss +169 -0
- package/editor-components/feature/feature12/feature12.tsx +325 -0
- package/editor-components/feature/feature13/feature13.module.scss +151 -0
- package/editor-components/feature/feature13/feature13.tsx +680 -0
- package/editor-components/feature/feature14/feature14.module.scss +119 -0
- package/editor-components/feature/feature14/feature14.tsx +284 -0
- package/editor-components/feature/feature15/feature15.module.scss +214 -0
- package/editor-components/feature/feature15/feature15.tsx +344 -0
- package/editor-components/feature/feature16/feature16.module.scss +234 -0
- package/editor-components/feature/feature16/feature16.tsx +527 -0
- package/editor-components/feature/feature17/feature17.module.scss +187 -0
- package/editor-components/feature/feature17/feature17.tsx +527 -0
- package/editor-components/feature/feature18/feature18.module.scss +213 -0
- package/editor-components/feature/feature18/feature18.tsx +405 -0
- package/editor-components/feature/feature19/feature19.module.scss +212 -0
- package/editor-components/feature/feature19/feature19.tsx +239 -0
- package/editor-components/feature/feature2/feature2.module.scss +120 -0
- package/editor-components/feature/feature2/feature2.tsx +246 -0
- package/editor-components/feature/feature20/feature20.module.scss +239 -0
- package/editor-components/feature/feature20/feature20.tsx +238 -0
- package/editor-components/feature/feature21/feature21.module.scss +268 -0
- package/editor-components/feature/feature21/feature21.tsx +352 -0
- package/editor-components/feature/feature22/feature22.module.scss +191 -0
- package/editor-components/feature/feature22/feature22.tsx +266 -0
- package/editor-components/feature/feature24/feature24.module.scss +121 -0
- package/editor-components/feature/feature24/feature24.tsx +381 -0
- package/editor-components/feature/feature25/feature25.module.scss +213 -0
- package/editor-components/feature/feature25/feature25.tsx +398 -0
- package/editor-components/feature/feature26/feature26.module.scss +188 -0
- package/editor-components/feature/feature26/feature26.tsx +139 -0
- package/editor-components/feature/feature27/feature27.module.scss +155 -0
- package/editor-components/feature/feature27/feature27.tsx +164 -0
- package/editor-components/feature/feature28/feature28.module.scss +89 -0
- package/editor-components/feature/feature28/feature28.tsx +123 -0
- package/editor-components/feature/feature29/feature29.module.scss +285 -0
- package/editor-components/feature/feature29/feature29.tsx +482 -0
- package/editor-components/feature/feature3/feature3.module.scss +335 -0
- package/editor-components/feature/feature3/feature3.tsx +418 -0
- package/editor-components/feature/feature30/feature30.module.scss +85 -0
- package/editor-components/feature/feature30/feature30.tsx +316 -0
- package/editor-components/feature/feature31/feature31.module.scss +101 -0
- package/editor-components/feature/feature31/feature31.tsx +315 -0
- package/editor-components/feature/feature32/feature32.module.scss +131 -0
- package/editor-components/feature/feature32/feature32.tsx +226 -0
- package/editor-components/feature/feature33/feature33.module.scss +168 -0
- package/editor-components/feature/feature33/feature33.tsx +285 -0
- package/editor-components/feature/feature34/feature34.module.scss +151 -0
- package/editor-components/feature/feature34/feature34.tsx +207 -0
- package/editor-components/feature/feature35/feature35.module.scss +145 -0
- package/editor-components/feature/feature35/feature35.tsx +422 -0
- package/editor-components/feature/feature36/feature36.module.scss +106 -0
- package/editor-components/feature/feature36/feature36.tsx +194 -0
- package/editor-components/feature/feature37/feature37.module.scss +145 -0
- package/editor-components/feature/feature37/feature37.tsx +249 -0
- package/editor-components/feature/feature38/feature38.module.scss +174 -0
- package/editor-components/feature/feature38/feature38.tsx +402 -0
- package/editor-components/feature/feature39/feature39.module.scss +198 -0
- package/editor-components/feature/feature39/feature39.tsx +367 -0
- package/editor-components/feature/feature4/feature4.module.scss +220 -0
- package/editor-components/feature/feature4/feature4.tsx +543 -0
- package/editor-components/feature/feature40/feature40.module.scss +211 -0
- package/editor-components/feature/feature40/feature40.tsx +424 -0
- package/editor-components/feature/feature41/feature41.module.scss +142 -0
- package/editor-components/feature/feature41/feature41.tsx +255 -0
- package/editor-components/feature/feature43/feature43.module.scss +133 -0
- package/editor-components/feature/feature43/feature43.tsx +305 -0
- package/editor-components/feature/feature44/feature44.module.scss +211 -0
- package/editor-components/feature/feature44/feature44.tsx +331 -0
- package/editor-components/feature/feature45/feature45.module.scss +144 -0
- package/editor-components/feature/feature45/feature45.tsx +482 -0
- package/editor-components/feature/feature46/feature46.module.scss +131 -0
- package/editor-components/feature/feature46/feature46.tsx +352 -0
- package/editor-components/feature/feature47/feature47.module.scss +88 -0
- package/editor-components/feature/feature47/feature47.tsx +356 -0
- package/editor-components/feature/feature48/feature48.module.scss +143 -0
- package/editor-components/feature/feature48/feature48.tsx +302 -0
- package/editor-components/feature/feature49/feature49.module.scss +141 -0
- package/editor-components/feature/feature49/feature49.tsx +294 -0
- package/editor-components/feature/feature5/feature5.module.scss +534 -0
- package/editor-components/feature/feature5/feature5.tsx +509 -0
- package/editor-components/feature/feature6/feature6.module.scss +150 -0
- package/editor-components/feature/feature6/feature6.tsx +268 -0
- package/editor-components/feature/feature7/feature7.module.scss +159 -0
- package/editor-components/feature/feature7/feature7.tsx +263 -0
- package/editor-components/feature/feature8/feature8.module.scss +106 -0
- package/editor-components/feature/feature8/feature8.tsx +474 -0
- package/editor-components/feature/feature9/feature9.module.scss +172 -0
- package/editor-components/feature/feature9/feature9.tsx +377 -0
- package/editor-components/feedback/feedbackmodal1/feedbackmodal1.module.scss +305 -0
- package/editor-components/feedback/feedbackmodal1/feedbackmodal1.tsx +386 -0
- package/editor-components/footer/footer1/footer1.module.scss +445 -0
- package/editor-components/footer/footer1/footer1.tsx +474 -0
- package/editor-components/footer/footer10/footer10.module.scss +391 -0
- package/editor-components/footer/footer10/footer10.tsx +371 -0
- package/editor-components/footer/footer11/footer11.module.scss +143 -0
- package/editor-components/footer/footer11/footer11.tsx +196 -0
- package/editor-components/footer/footer12/footer12.module.scss +293 -0
- package/editor-components/footer/footer12/footer12.tsx +568 -0
- package/editor-components/footer/footer2/footer2.module.scss +154 -0
- package/editor-components/footer/footer2/footer2.tsx +385 -0
- package/editor-components/footer/footer3/footer3.module.scss +420 -0
- package/editor-components/footer/footer3/footer3.tsx +875 -0
- package/editor-components/footer/footer4/footer4.module.scss +477 -0
- package/editor-components/footer/footer4/footer4.tsx +703 -0
- package/editor-components/footer/footer5/footer5.module.scss +283 -0
- package/editor-components/footer/footer5/footer5.tsx +208 -0
- package/editor-components/footer/footer6/footer6.module.scss +155 -0
- package/editor-components/footer/footer6/footer6.tsx +372 -0
- package/editor-components/footer/footer7/footer7.module.scss +197 -0
- package/editor-components/footer/footer7/footer7.tsx +190 -0
- package/editor-components/footer/footer8/footer8.module.scss +456 -0
- package/editor-components/footer/footer8/footer8.tsx +715 -0
- package/editor-components/footer/footer9/footer9.module.scss +386 -0
- package/editor-components/footer/footer9/footer9.tsx +514 -0
- package/editor-components/hero-section/hero-section1/hero-section1.module.scss +578 -0
- package/editor-components/hero-section/hero-section1/hero-section1.tsx +493 -0
- package/editor-components/hero-section/hero-section10/hero-section10.module.scss +492 -0
- package/editor-components/hero-section/hero-section10/hero-section10.tsx +611 -0
- package/editor-components/hero-section/hero-section11/hero-section11.module.scss +295 -0
- package/editor-components/hero-section/hero-section11/hero-section11.tsx +224 -0
- package/editor-components/hero-section/hero-section12/hero-section12.module.scss +504 -0
- package/editor-components/hero-section/hero-section12/hero-section12.tsx +974 -0
- package/editor-components/hero-section/hero-section13/hero-section13.module.scss +171 -0
- package/editor-components/hero-section/hero-section13/hero-section13.tsx +417 -0
- package/editor-components/hero-section/hero-section14/hero-section14.module.scss +210 -0
- package/editor-components/hero-section/hero-section14/hero-section14.tsx +333 -0
- package/editor-components/hero-section/hero-section15/hero-section15.module.scss +330 -0
- package/editor-components/hero-section/hero-section15/hero-section15.tsx +254 -0
- package/editor-components/hero-section/hero-section16/hero-section16.module.scss +392 -0
- package/editor-components/hero-section/hero-section16/hero-section16.tsx +369 -0
- package/editor-components/hero-section/hero-section17/hero-section17.module.scss +240 -0
- package/editor-components/hero-section/hero-section17/hero-section17.tsx +263 -0
- package/editor-components/hero-section/hero-section18/hero-section18.module.scss +403 -0
- package/editor-components/hero-section/hero-section18/hero-section18.tsx +569 -0
- package/editor-components/hero-section/hero-section19/hero-section19.module.scss +333 -0
- package/editor-components/hero-section/hero-section19/hero-section19.tsx +384 -0
- package/editor-components/hero-section/hero-section2/hero-section2.module.scss +329 -0
- package/editor-components/hero-section/hero-section2/hero-section2.tsx +393 -0
- package/editor-components/hero-section/hero-section20/hero-section20.module.scss +475 -0
- package/editor-components/hero-section/hero-section20/hero-section20.tsx +994 -0
- package/editor-components/hero-section/hero-section21/hero-section21.module.scss +264 -0
- package/editor-components/hero-section/hero-section21/hero-section21.tsx +249 -0
- package/editor-components/hero-section/hero-section22/hero-section22.module.scss +394 -0
- package/editor-components/hero-section/hero-section22/hero-section22.tsx +421 -0
- package/editor-components/hero-section/hero-section23/hero-section23.module.scss +573 -0
- package/editor-components/hero-section/hero-section23/hero-section23.tsx +592 -0
- package/editor-components/hero-section/hero-section24/hero-section24.module.scss +531 -0
- package/editor-components/hero-section/hero-section24/hero-section24.tsx +462 -0
- package/editor-components/hero-section/hero-section25/hero-section25.module.scss +538 -0
- package/editor-components/hero-section/hero-section25/hero-section25.tsx +656 -0
- package/editor-components/hero-section/hero-section26/hero-section26.module.scss +242 -0
- package/editor-components/hero-section/hero-section26/hero-section26.tsx +441 -0
- package/editor-components/hero-section/hero-section27/hero-section27.module.scss +684 -0
- package/editor-components/hero-section/hero-section27/hero-section27.tsx +717 -0
- package/editor-components/hero-section/hero-section28/hero-section28.module.scss +368 -0
- package/editor-components/hero-section/hero-section28/hero-section28.tsx +477 -0
- package/editor-components/hero-section/hero-section29/hero-section29.module.scss +298 -0
- package/editor-components/hero-section/hero-section29/hero-section29.tsx +334 -0
- package/editor-components/hero-section/hero-section3/hero-section3.module.scss +810 -0
- package/editor-components/hero-section/hero-section3/hero-section3.tsx +468 -0
- package/editor-components/hero-section/hero-section30/hero-section30.module.scss +234 -0
- package/editor-components/hero-section/hero-section30/hero-section30.tsx +208 -0
- package/editor-components/hero-section/hero-section31/hero-section31.module.scss +468 -0
- package/editor-components/hero-section/hero-section31/hero-section31.tsx +1083 -0
- package/editor-components/hero-section/hero-section32/hero-section32.module.scss +488 -0
- package/editor-components/hero-section/hero-section32/hero-section32.tsx +530 -0
- package/editor-components/hero-section/hero-section33/hero-section33.module.scss +401 -0
- package/editor-components/hero-section/hero-section33/hero-section33.tsx +471 -0
- package/editor-components/hero-section/hero-section34/hero-section34.module.scss +384 -0
- package/editor-components/hero-section/hero-section34/hero-section34.tsx +465 -0
- package/editor-components/hero-section/hero-section35/hero-section35.module.scss +522 -0
- package/editor-components/hero-section/hero-section35/hero-section35.tsx +441 -0
- package/editor-components/hero-section/hero-section38/hero-section38.module.scss +617 -0
- package/editor-components/hero-section/hero-section38/hero-section38.tsx +458 -0
- package/editor-components/hero-section/hero-section4/hero-section4.module.scss +283 -0
- package/editor-components/hero-section/hero-section4/hero-section4.tsx +292 -0
- package/editor-components/hero-section/hero-section5/hero-section5.module.scss +178 -0
- package/editor-components/hero-section/hero-section5/hero-section5.tsx +159 -0
- package/editor-components/hero-section/hero-section6/hero-section6.module.scss +339 -0
- package/editor-components/hero-section/hero-section6/hero-section6.tsx +244 -0
- package/editor-components/hero-section/hero-section7/hero-section7.module.scss +117 -0
- package/editor-components/hero-section/hero-section7/hero-section7.tsx +277 -0
- package/editor-components/hero-section/hero-section8/hero-section8.module.scss +296 -0
- package/editor-components/hero-section/hero-section8/hero-section8.tsx +500 -0
- package/editor-components/hero-section/hero-section9/hero-section9.module.scss +292 -0
- package/editor-components/hero-section/hero-section9/hero-section9.tsx +536 -0
- package/editor-components/intro-section/intro-section1/intro-section1.module.scss +392 -0
- package/editor-components/intro-section/intro-section1/intro-section1.tsx +263 -0
- package/editor-components/intro-section/intro-section10/intro-section10.module.scss +182 -0
- package/editor-components/intro-section/intro-section10/intro-section10.tsx +167 -0
- package/editor-components/intro-section/intro-section11/intro-section11.module.scss +121 -0
- package/editor-components/intro-section/intro-section11/intro-section11.tsx +142 -0
- package/editor-components/intro-section/intro-section2/intro-section2.module.scss +125 -0
- package/editor-components/intro-section/intro-section2/intro-section2.tsx +147 -0
- package/editor-components/intro-section/intro-section3/intro-section3.module.scss +106 -0
- package/editor-components/intro-section/intro-section3/intro-section3.tsx +140 -0
- package/editor-components/intro-section/intro-section4/intro-section4.module.scss +102 -0
- package/editor-components/intro-section/intro-section4/intro-section4.tsx +128 -0
- package/editor-components/intro-section/intro-section5/intro-section5.module.scss +185 -0
- package/editor-components/intro-section/intro-section5/intro-section5.tsx +142 -0
- package/editor-components/intro-section/intro-section6/intro-section6.module.scss +219 -0
- package/editor-components/intro-section/intro-section6/intro-section6.tsx +269 -0
- package/editor-components/intro-section/intro-section7/intro-section7.module.scss +147 -0
- package/editor-components/intro-section/intro-section7/intro-section7.tsx +161 -0
- package/editor-components/intro-section/intro-section8/intro-section8.module.scss +151 -0
- package/editor-components/intro-section/intro-section8/intro-section8.tsx +182 -0
- package/editor-components/intro-section/intro-section9/intro-section9.module.scss +66 -0
- package/editor-components/intro-section/intro-section9/intro-section9.tsx +132 -0
- package/editor-components/legal/privacy-policy.module.scss +19 -0
- package/editor-components/legal/privacy-policy.tsx +126 -0
- package/editor-components/list/list1/list1.module.scss +224 -0
- package/editor-components/list/list1/list1.tsx +386 -0
- package/editor-components/list/list10/list10.module.scss +293 -0
- package/editor-components/list/list10/list10.tsx +240 -0
- package/editor-components/list/list11/list11.module.scss +164 -0
- package/editor-components/list/list11/list11.tsx +277 -0
- package/editor-components/list/list12/list12.module.scss +207 -0
- package/editor-components/list/list12/list12.tsx +241 -0
- package/editor-components/list/list2/list2.module.scss +178 -0
- package/editor-components/list/list2/list2.tsx +416 -0
- package/editor-components/list/list3/list3.module.scss +239 -0
- package/editor-components/list/list3/list3.tsx +337 -0
- package/editor-components/list/list4/list4.module.scss +243 -0
- package/editor-components/list/list4/list4.tsx +221 -0
- package/editor-components/list/list5/list5.module.scss +183 -0
- package/editor-components/list/list5/list5.tsx +323 -0
- package/editor-components/list/list6/list6.module.scss +230 -0
- package/editor-components/list/list6/list6.tsx +263 -0
- package/editor-components/list/list7/list7.module.scss +127 -0
- package/editor-components/list/list7/list7.tsx +178 -0
- package/editor-components/list/list8/list8.module.scss +146 -0
- package/editor-components/list/list8/list8.tsx +256 -0
- package/editor-components/list/list9/list9.module.scss +320 -0
- package/editor-components/list/list9/list9.tsx +265 -0
- package/editor-components/location/location1/location1.module.scss +218 -0
- package/editor-components/location/location1/location1.tsx +387 -0
- package/editor-components/location/location2/location2.module.scss +181 -0
- package/editor-components/location/location2/location2.tsx +507 -0
- package/editor-components/location/location3/location3.module.scss +118 -0
- package/editor-components/location/location3/location3.tsx +347 -0
- package/editor-components/location/location4/location4.module.scss +138 -0
- package/editor-components/location/location4/location4.tsx +221 -0
- package/editor-components/location/location5/location5.module.scss +89 -0
- package/editor-components/location/location5/location5.tsx +258 -0
- package/editor-components/location/location6/location6.module.scss +211 -0
- package/editor-components/location/location6/location6.tsx +476 -0
- package/editor-components/location/location7/location7.module.scss +245 -0
- package/editor-components/location/location7/location7.tsx +347 -0
- package/editor-components/location/themes.tsx +229 -0
- package/editor-components/logo-clouds/logo-comp1/logo-comp1.module.scss +36 -0
- package/editor-components/logo-clouds/logo-comp1/logo-comp1.tsx +119 -0
- package/editor-components/logo-clouds/logo-comp10/logo-comp10.module.scss +83 -0
- package/editor-components/logo-clouds/logo-comp10/logo-comp10.tsx +336 -0
- package/editor-components/logo-clouds/logo-comp2/logo-comp2.module.scss +90 -0
- package/editor-components/logo-clouds/logo-comp2/logo-comp2.tsx +139 -0
- package/editor-components/logo-clouds/logo-comp3/logo-comp3.module.scss +110 -0
- package/editor-components/logo-clouds/logo-comp3/logo-comp3.tsx +144 -0
- package/editor-components/logo-clouds/logo-comp4/logo-comp4.module.scss +96 -0
- package/editor-components/logo-clouds/logo-comp4/logo-comp4.tsx +151 -0
- package/editor-components/logo-clouds/logo-comp5/logo-comp5.module.scss +70 -0
- package/editor-components/logo-clouds/logo-comp5/logo-comp5.tsx +116 -0
- package/editor-components/logo-clouds/logo-comp6/logo-comp6.module.scss +58 -0
- package/editor-components/logo-clouds/logo-comp6/logo-comp6.tsx +245 -0
- package/editor-components/logo-clouds/logo-comp7/logo-comp7.module.scss +114 -0
- package/editor-components/logo-clouds/logo-comp7/logo-comp7.tsx +100 -0
- package/editor-components/logo-clouds/logo-comp8/logo-comp8.module.scss +116 -0
- package/editor-components/logo-clouds/logo-comp8/logo-comp8.tsx +275 -0
- package/editor-components/logo-clouds/logo-comp9/logo-comp9.module.scss +130 -0
- package/editor-components/logo-clouds/logo-comp9/logo-comp9.tsx +206 -0
- package/editor-components/modal/confirmation-modal-2/confirmation-modal-2.module.scss +384 -0
- package/editor-components/modal/confirmation-modal-2/confirmation-modal-2.tsx +355 -0
- package/editor-components/modal/confirmation-modal1/confirmationmodal1.module.scss +113 -0
- package/editor-components/modal/confirmation-modal1/confirmationmodal1.tsx +106 -0
- package/editor-components/modal/formmodal1/formmodal1.module.scss +156 -0
- package/editor-components/modal/formmodal1/formmodal1.tsx +563 -0
- package/editor-components/modal/notice-modal/notice.module.scss +92 -0
- package/editor-components/modal/notice-modal/notice.tsx +97 -0
- package/editor-components/modal/notification-modal1/notificationmodal1.module.scss +166 -0
- package/editor-components/modal/notification-modal1/notificationmodal1.tsx +136 -0
- package/editor-components/modal/notificationmodal2/notificationmodal2.module.scss +134 -0
- package/editor-components/modal/notificationmodal2/notificationmodal2.tsx +170 -0
- package/editor-components/modal/subscription-modal/subscription-modal.module.scss +151 -0
- package/editor-components/modal/subscription-modal/subscription-modal.tsx +141 -0
- package/editor-components/modal/survey-modal/survey-modal.module.scss +277 -0
- package/editor-components/modal/survey-modal/survey-modal.tsx +327 -0
- package/editor-components/modal/terms-of-use/terms-of-use.module.scss +214 -0
- package/editor-components/modal/terms-of-use/terms-of-use.tsx +142 -0
- package/editor-components/navigators/navbar1/navbar1.module.scss +633 -0
- package/editor-components/navigators/navbar1/navbar1.tsx +1644 -0
- package/editor-components/navigators/navbar10/navbar10.module.scss +961 -0
- package/editor-components/navigators/navbar10/navbar10.tsx +3070 -0
- package/editor-components/navigators/navbar2/navbar2.module.scss +559 -0
- package/editor-components/navigators/navbar2/navbar2.tsx +1009 -0
- package/editor-components/navigators/navbar3/navbar3.module.scss +583 -0
- package/editor-components/navigators/navbar3/navbar3.tsx +1790 -0
- package/editor-components/navigators/navbar4/navbar4.module.scss +708 -0
- package/editor-components/navigators/navbar4/navbar4.tsx +1864 -0
- package/editor-components/navigators/navbar5/navbar5.module.scss +415 -0
- package/editor-components/navigators/navbar5/navbar5.tsx +639 -0
- package/editor-components/navigators/navbar6/navbar6.module.scss +586 -0
- package/editor-components/navigators/navbar6/navbar6.tsx +1613 -0
- package/editor-components/navigators/navbar7/navbar7.module.scss +598 -0
- package/editor-components/navigators/navbar7/navbar7.tsx +1638 -0
- package/editor-components/navigators/navbar8/navbar8.module.scss +444 -0
- package/editor-components/navigators/navbar8/navbar8.tsx +637 -0
- package/editor-components/navigators/navbar9/navbar9.module.scss +604 -0
- package/editor-components/navigators/navbar9/navbar9.tsx +1610 -0
- package/editor-components/portfolio/portfolio1/portfolio1.module.scss +333 -0
- package/editor-components/portfolio/portfolio1/portfolio1.tsx +815 -0
- package/editor-components/portfolio/portfolio2/portfolio2.module.scss +164 -0
- package/editor-components/portfolio/portfolio2/portfolio2.tsx +332 -0
- package/editor-components/portfolio/portfolio3/portfolio3.module.scss +438 -0
- package/editor-components/portfolio/portfolio3/portfolio3.tsx +915 -0
- package/editor-components/pricing-table/pricing-table1/pricing-table1.module.scss +204 -0
- package/editor-components/pricing-table/pricing-table1/pricing-table1.tsx +698 -0
- package/editor-components/pricing-table/pricing-table2/pricing-table2.module.scss +142 -0
- package/editor-components/pricing-table/pricing-table2/pricing-table2.tsx +703 -0
- package/editor-components/pricing-table/pricing-table3/pricing-table3.module.scss +210 -0
- package/editor-components/pricing-table/pricing-table3/pricing-table3.tsx +430 -0
- package/editor-components/pricing-table/pricing-table4/pricing-table4.module.scss +170 -0
- package/editor-components/pricing-table/pricing-table4/pricing-table4.tsx +594 -0
- package/editor-components/pricing-table/pricing-table5/pricing-table5.module.scss +316 -0
- package/editor-components/pricing-table/pricing-table5/pricing-table5.tsx +267 -0
- package/editor-components/pricing-table/pricing-table6/pricing-table6.module.scss +409 -0
- package/editor-components/pricing-table/pricing-table6/pricing-table6.tsx +1189 -0
- package/editor-components/pricing-table/pricing-table7/pricing-table7.module.scss +269 -0
- package/editor-components/pricing-table/pricing-table7/pricing-table7.tsx +1161 -0
- package/editor-components/pricing-table/pricing-table8/pricing-table8.module.scss +366 -0
- package/editor-components/pricing-table/pricing-table8/pricing-table8.tsx +574 -0
- package/editor-components/pricing-table/pricing-table9/pricing-table9.module.scss +357 -0
- package/editor-components/pricing-table/pricing-table9/pricing-table9.tsx +857 -0
- package/editor-components/registerables.tsx +681 -0
- package/editor-components/slider/slider1/slider1.module.scss +324 -0
- package/editor-components/slider/slider1/slider1.tsx +254 -0
- package/editor-components/slider/slider10/slider10.module.scss +287 -0
- package/editor-components/slider/slider10/slider10.tsx +446 -0
- package/editor-components/slider/slider11/slider11.module.scss +216 -0
- package/editor-components/slider/slider11/slider11.tsx +366 -0
- package/editor-components/slider/slider12/slider12.module.scss +273 -0
- package/editor-components/slider/slider12/slider12.tsx +535 -0
- package/editor-components/slider/slider2/slider2.module.scss +213 -0
- package/editor-components/slider/slider2/slider2.tsx +331 -0
- package/editor-components/slider/slider3/slider3.module.scss +227 -0
- package/editor-components/slider/slider3/slider3.tsx +280 -0
- package/editor-components/slider/slider4/slider4.module.scss +221 -0
- package/editor-components/slider/slider4/slider4.tsx +334 -0
- package/editor-components/slider/slider5/slider5.module.scss +39 -0
- package/editor-components/slider/slider5/slider5.tsx +106 -0
- package/editor-components/slider/slider6/slider6.module.scss +205 -0
- package/editor-components/slider/slider6/slider6.tsx +337 -0
- package/editor-components/slider/slider7/slider7.module.scss +134 -0
- package/editor-components/slider/slider7/slider7.tsx +270 -0
- package/editor-components/slider/slider8/slider8.module.scss +580 -0
- package/editor-components/slider/slider8/slider8.tsx +350 -0
- package/editor-components/slider/slider9/slider9.module.scss +1160 -0
- package/editor-components/slider/slider9/slider9.tsx +556 -0
- package/editor-components/social/social1/social1.module.scss +229 -0
- package/editor-components/social/social1/social1.tsx +726 -0
- package/editor-components/social/social2/social2.module.scss +299 -0
- package/editor-components/social/social2/social2.tsx +1086 -0
- package/editor-components/social/social3/social3.module.scss +131 -0
- package/editor-components/social/social3/social3.tsx +296 -0
- package/editor-components/social/social4/social4.module.scss +405 -0
- package/editor-components/social/social4/social4.tsx +1940 -0
- package/editor-components/social_widget/social_widget1/social_widget1.module.scss +10 -0
- package/editor-components/social_widget/social_widget1/social_widget1.tsx +31 -0
- package/editor-components/social_widget/social_widget2/social_widget2.module.scss +10 -0
- package/editor-components/social_widget/social_widget2/social_widget2.tsx +35 -0
- package/editor-components/social_widget/social_widget3/social_widget3.module.scss +10 -0
- package/editor-components/social_widget/social_widget3/social_widget3.tsx +32 -0
- package/editor-components/social_widget/social_widget4/social_widget4.module.scss +10 -0
- package/editor-components/social_widget/social_widget4/social_widget4.tsx +32 -0
- package/editor-components/social_widget/social_widget5/social_widget5.module.scss +10 -0
- package/editor-components/social_widget/social_widget5/social_widget5.tsx +32 -0
- package/editor-components/stats/stats1/stats1.module.scss +153 -0
- package/editor-components/stats/stats1/stats1.tsx +279 -0
- package/editor-components/stats/stats10/stats10.module.scss +346 -0
- package/editor-components/stats/stats10/stats10.tsx +364 -0
- package/editor-components/stats/stats11/stats11.module.scss +167 -0
- package/editor-components/stats/stats11/stats11.tsx +242 -0
- package/editor-components/stats/stats12/stats12.module.scss +244 -0
- package/editor-components/stats/stats12/stats12.tsx +174 -0
- package/editor-components/stats/stats13/stats13.module.scss +311 -0
- package/editor-components/stats/stats13/stats13.tsx +432 -0
- package/editor-components/stats/stats14/stats14.module.scss +192 -0
- package/editor-components/stats/stats14/stats14.tsx +222 -0
- package/editor-components/stats/stats15/stats15.module.scss +174 -0
- package/editor-components/stats/stats15/stats15.tsx +242 -0
- package/editor-components/stats/stats2/stats2.module.scss +243 -0
- package/editor-components/stats/stats2/stats2.tsx +333 -0
- package/editor-components/stats/stats3/stats3.module.scss +302 -0
- package/editor-components/stats/stats3/stats3.tsx +212 -0
- package/editor-components/stats/stats4/stats4.module.scss +133 -0
- package/editor-components/stats/stats4/stats4.tsx +467 -0
- package/editor-components/stats/stats5/stats5.module.scss +104 -0
- package/editor-components/stats/stats5/stats5.tsx +257 -0
- package/editor-components/stats/stats6/stats6.module.scss +76 -0
- package/editor-components/stats/stats6/stats6.tsx +241 -0
- package/editor-components/stats/stats7/stats7.module.scss +101 -0
- package/editor-components/stats/stats7/stats7.tsx +184 -0
- package/editor-components/stats/stats8/stats8.module.scss +321 -0
- package/editor-components/stats/stats8/stats8.tsx +358 -0
- package/editor-components/stats/stats9/stats9.module.scss +282 -0
- package/editor-components/stats/stats9/stats9.tsx +330 -0
- package/editor-components/team/team-1/team1.module.scss +247 -0
- package/editor-components/team/team-1/team1.tsx +357 -0
- package/editor-components/team/team-10/team10.module.scss +307 -0
- package/editor-components/team/team-10/team10.tsx +510 -0
- package/editor-components/team/team-11/team11.module.scss +245 -0
- package/editor-components/team/team-11/team11.tsx +435 -0
- package/editor-components/team/team-12/team12.module.scss +186 -0
- package/editor-components/team/team-12/team12.tsx +305 -0
- package/editor-components/team/team-13/team13.module.scss +271 -0
- package/editor-components/team/team-13/team13.tsx +255 -0
- package/editor-components/team/team-14/team14.module.scss +203 -0
- package/editor-components/team/team-14/team14.tsx +202 -0
- package/editor-components/team/team-15/team15.module.scss +275 -0
- package/editor-components/team/team-15/team15.tsx +417 -0
- package/editor-components/team/team-16/team16.module.scss +145 -0
- package/editor-components/team/team-16/team16.tsx +219 -0
- package/editor-components/team/team-2/team2.module.scss +175 -0
- package/editor-components/team/team-2/team2.tsx +397 -0
- package/editor-components/team/team-3/team3.module.scss +251 -0
- package/editor-components/team/team-3/team3.tsx +380 -0
- package/editor-components/team/team-4/team4.module.scss +66 -0
- package/editor-components/team/team-4/team4.tsx +194 -0
- package/editor-components/team/team-5/team5.module.scss +219 -0
- package/editor-components/team/team-5/team5.tsx +492 -0
- package/editor-components/team/team-6/team6.module.scss +157 -0
- package/editor-components/team/team-6/team6.tsx +620 -0
- package/editor-components/team/team-7/team7.module.scss +211 -0
- package/editor-components/team/team-7/team7.tsx +333 -0
- package/editor-components/team/team-8/team8.module.scss +214 -0
- package/editor-components/team/team-8/team8.tsx +349 -0
- package/editor-components/team/team-9/team9.module.scss +307 -0
- package/editor-components/team/team-9/team9.tsx +363 -0
- package/editor-components/testimonials/testimonials1/testimonials1.module.scss +156 -0
- package/editor-components/testimonials/testimonials1/testimonials1.tsx +190 -0
- package/editor-components/testimonials/testimonials10/testimonials10.module.scss +281 -0
- package/editor-components/testimonials/testimonials10/testimonials10.tsx +360 -0
- package/editor-components/testimonials/testimonials11/testimonials11.module.scss +78 -0
- package/editor-components/testimonials/testimonials11/testimonials11.tsx +267 -0
- package/editor-components/testimonials/testimonials12/testimonials12.module.scss +115 -0
- package/editor-components/testimonials/testimonials12/testimonials12.tsx +293 -0
- package/editor-components/testimonials/testimonials13/testimonials13.module.scss +220 -0
- package/editor-components/testimonials/testimonials13/testimonials13.tsx +357 -0
- package/editor-components/testimonials/testimonials14/testimonials14.module.scss +216 -0
- package/editor-components/testimonials/testimonials14/testimonials14.tsx +364 -0
- package/editor-components/testimonials/testimonials15/testimonials15.module.scss +685 -0
- package/editor-components/testimonials/testimonials15/testimonials15.tsx +422 -0
- package/editor-components/testimonials/testimonials16/testimonials16.module.scss +754 -0
- package/editor-components/testimonials/testimonials16/testimonials16.tsx +625 -0
- package/editor-components/testimonials/testimonials2/testimonials2.module.scss +100 -0
- package/editor-components/testimonials/testimonials2/testimonials2.tsx +301 -0
- package/editor-components/testimonials/testimonials3/testimonials3.module.scss +37 -0
- package/editor-components/testimonials/testimonials3/testimonials3.tsx +148 -0
- package/editor-components/testimonials/testimonials4/testimonials4.module.scss +205 -0
- package/editor-components/testimonials/testimonials4/testimonials4.tsx +266 -0
- package/editor-components/testimonials/testimonials5/testimonials5.module.scss +221 -0
- package/editor-components/testimonials/testimonials5/testimonials5.tsx +319 -0
- package/editor-components/testimonials/testimonials6/testimonials6.module.scss +82 -0
- package/editor-components/testimonials/testimonials6/testimonials6.tsx +344 -0
- package/editor-components/testimonials/testimonials7/testimonials7.module.scss +316 -0
- package/editor-components/testimonials/testimonials7/testimonials7.tsx +248 -0
- package/editor-components/testimonials/testimonials8/testimonials8.module.scss +197 -0
- package/editor-components/testimonials/testimonials8/testimonials8.tsx +287 -0
- package/editor-components/testimonials/testimonials9/testimonials9.module.scss +137 -0
- package/editor-components/testimonials/testimonials9/testimonials9.tsx +372 -0
- package/index.ts +103 -0
- package/package.json +40 -0
- package/utils/css-processor.ts +131 -0
- package/utils/currency.ts +89 -0
|
@@ -0,0 +1,595 @@
|
|
|
1
|
+
import { BaseImageGallery, TypeMediaInputValue } from "../../EditorComponent";
|
|
2
|
+
import styles from "./image-gallery11.module.scss";
|
|
3
|
+
import { Base } from "../../../composer-base-components/base/base";
|
|
4
|
+
import ComposerSlider from "../../../composer-base-components/slider/slider";
|
|
5
|
+
|
|
6
|
+
type GalleryImageItem = { media: TypeMediaInputValue };
|
|
7
|
+
|
|
8
|
+
type RawGalleryRow = {
|
|
9
|
+
speed?: number;
|
|
10
|
+
images?: GalleryImageItem[];
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
type GalleryRow = {
|
|
14
|
+
images: GalleryImageItem[];
|
|
15
|
+
speed: number;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
type RowState = {
|
|
19
|
+
offset: number;
|
|
20
|
+
startOffset: number;
|
|
21
|
+
startX: number;
|
|
22
|
+
moved: boolean;
|
|
23
|
+
paused: boolean;
|
|
24
|
+
dragging: boolean;
|
|
25
|
+
width: number;
|
|
26
|
+
speed: number;
|
|
27
|
+
dir: number;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
const MIN_DUPLICATED_SLIDES = 6;
|
|
31
|
+
const REPEAT_COUNT = 4;
|
|
32
|
+
|
|
33
|
+
const BASE_SETTINGS = {
|
|
34
|
+
dots: false,
|
|
35
|
+
arrows: false,
|
|
36
|
+
infinite: false,
|
|
37
|
+
autoplay: false,
|
|
38
|
+
cssEase: "linear",
|
|
39
|
+
slidesToScroll: 1,
|
|
40
|
+
variableWidth: true,
|
|
41
|
+
swipe: false,
|
|
42
|
+
draggable: false,
|
|
43
|
+
touchMove: false,
|
|
44
|
+
speed: 0,
|
|
45
|
+
autoplaySpeed: 0,
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
class ImageGallery11 extends BaseImageGallery {
|
|
49
|
+
private sliderRefs: Array<{ innerSlider?: any } | null> = [];
|
|
50
|
+
private rowWrapperRefs: Array<HTMLDivElement | null> = [];
|
|
51
|
+
|
|
52
|
+
private animationDuration = 420000;
|
|
53
|
+
|
|
54
|
+
private rafId: number | null = null;
|
|
55
|
+
|
|
56
|
+
private rowStates: RowState[] = [];
|
|
57
|
+
|
|
58
|
+
private popupOpenRow: number | null = null;
|
|
59
|
+
private _handlers: Record<string, Array<any>> = { enter: [], leave: [], down: [], move: [], up: [] };
|
|
60
|
+
|
|
61
|
+
private getHandler(kind: keyof typeof this._handlers, rowIndex: number, factory: () => any) {
|
|
62
|
+
const bucket = this._handlers[kind] || (this._handlers[kind] = []);
|
|
63
|
+
if (!bucket[rowIndex]) bucket[rowIndex] = factory();
|
|
64
|
+
return bucket[rowIndex];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
private getMouseEnter = (rowIndex: number) =>
|
|
68
|
+
this.getHandler("enter", rowIndex, () => () => (this.rowStates[rowIndex] && (this.rowStates[rowIndex].paused = true)));
|
|
69
|
+
|
|
70
|
+
private getMouseLeave = (rowIndex: number) =>
|
|
71
|
+
this.getHandler("leave", rowIndex, () =>
|
|
72
|
+
() => {
|
|
73
|
+
if (this.getComponentState("imagePopupOpen") && this.popupOpenRow === rowIndex) return;
|
|
74
|
+
this.rowStates[rowIndex] && (this.rowStates[rowIndex].paused = false);
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
|
|
78
|
+
private getPointerDown = (rowIndex: number) => this.getHandler("down", rowIndex, () => (e: any) => this.onDown(rowIndex, e));
|
|
79
|
+
private getPointerMove = (rowIndex: number) => this.getHandler("move", rowIndex, () => (e: any) => this.onMove(rowIndex, e));
|
|
80
|
+
private getPointerUp = (rowIndex: number) => this.getHandler("up", rowIndex, () => (e: any) => this.onUp(rowIndex, e));
|
|
81
|
+
|
|
82
|
+
constructor(props?: unknown) {
|
|
83
|
+
super(props, styles);
|
|
84
|
+
|
|
85
|
+
this.addProp({ type: "string", key: "subtitle", displayer: "Subtitle", value: "" });
|
|
86
|
+
this.setComponentState("imagePopupZoomed", false);
|
|
87
|
+
|
|
88
|
+
this.addProp({ type: "string", key: "title", displayer: "Title", value: "Studio Life" });
|
|
89
|
+
|
|
90
|
+
this.addProp({
|
|
91
|
+
type: "string",
|
|
92
|
+
key: "description",
|
|
93
|
+
displayer: "Description",
|
|
94
|
+
value:
|
|
95
|
+
"As the studio continues to grow, our artists grow alongside it. We may be small, but everyone here is a jack-of-all-trades.",
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
this.addProp({
|
|
99
|
+
type: "media",
|
|
100
|
+
key: "background",
|
|
101
|
+
displayer: "Background Media",
|
|
102
|
+
value: {
|
|
103
|
+
type: "image",
|
|
104
|
+
url: "https://storage.googleapis.com/download/storage/v1/b/hq-blinkpage-staging-bbc49/o/689af25436675f002db98b79?alt=media",
|
|
105
|
+
},
|
|
106
|
+
additionalParams: { availableTypes: ["image", "video"] },
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
this.addProp({ type: "boolean", key: "backgroundOverlay", displayer: "Background Overlay", value: true });
|
|
110
|
+
this.addProp({ type: "boolean", key: "imageOverlay", displayer: "Overlay", value: false });
|
|
111
|
+
|
|
112
|
+
this.addProp({
|
|
113
|
+
type: "array",
|
|
114
|
+
key: "galleryRows",
|
|
115
|
+
displayer: "Gallery Rows",
|
|
116
|
+
value: [
|
|
117
|
+
{
|
|
118
|
+
type: "object",
|
|
119
|
+
key: "row",
|
|
120
|
+
displayer: "Row",
|
|
121
|
+
value: [
|
|
122
|
+
{
|
|
123
|
+
type: "array",
|
|
124
|
+
key: "images",
|
|
125
|
+
displayer: "Media",
|
|
126
|
+
value: [
|
|
127
|
+
{
|
|
128
|
+
type: "object",
|
|
129
|
+
key: "image-item",
|
|
130
|
+
displayer: "Media",
|
|
131
|
+
value: [
|
|
132
|
+
{
|
|
133
|
+
type: "media",
|
|
134
|
+
key: "media",
|
|
135
|
+
displayer: "Media",
|
|
136
|
+
value: {
|
|
137
|
+
type: "image",
|
|
138
|
+
url: "https://storage.googleapis.com/download/storage/v1/b/hq-blinkpage-staging-bbc49/o/689b16de36675f002db9baf2?alt=media",
|
|
139
|
+
},
|
|
140
|
+
additionalParams: { availableTypes: ["image", "video"] },
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
type: "object",
|
|
146
|
+
key: "image-item",
|
|
147
|
+
displayer: "Media",
|
|
148
|
+
value: [
|
|
149
|
+
{
|
|
150
|
+
type: "media",
|
|
151
|
+
key: "media",
|
|
152
|
+
displayer: "Media",
|
|
153
|
+
value: {
|
|
154
|
+
type: "image",
|
|
155
|
+
url: "https://storage.googleapis.com/download/storage/v1/b/hq-blinkpage-staging-bbc49/o/689b177536675f002db9bbfe?alt=media",
|
|
156
|
+
},
|
|
157
|
+
additionalParams: { availableTypes: ["image", "video"] },
|
|
158
|
+
},
|
|
159
|
+
],
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
type: "object",
|
|
163
|
+
key: "image-item",
|
|
164
|
+
displayer: "Media",
|
|
165
|
+
value: [
|
|
166
|
+
{
|
|
167
|
+
type: "media",
|
|
168
|
+
key: "media",
|
|
169
|
+
displayer: "Media",
|
|
170
|
+
value: {
|
|
171
|
+
type: "image",
|
|
172
|
+
url: "https://storage.googleapis.com/download/storage/v1/b/hq-blinkpage-staging-bbc49/o/689b17fb36675f002db9bcd0?alt=media",
|
|
173
|
+
},
|
|
174
|
+
additionalParams: { availableTypes: ["image", "video"] },
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
type: "object",
|
|
184
|
+
key: "row",
|
|
185
|
+
displayer: "Row",
|
|
186
|
+
value: [
|
|
187
|
+
{
|
|
188
|
+
type: "array",
|
|
189
|
+
key: "images",
|
|
190
|
+
displayer: "Media",
|
|
191
|
+
value: [
|
|
192
|
+
{
|
|
193
|
+
type: "object",
|
|
194
|
+
key: "image-item",
|
|
195
|
+
displayer: "Media",
|
|
196
|
+
value: [
|
|
197
|
+
{
|
|
198
|
+
type: "media",
|
|
199
|
+
key: "media",
|
|
200
|
+
displayer: "Media",
|
|
201
|
+
value: {
|
|
202
|
+
type: "image",
|
|
203
|
+
url: "https://storage.googleapis.com/download/storage/v1/b/hq-blinkpage-staging-bbc49/o/689b1a6036675f002db9c11e?alt=media",
|
|
204
|
+
},
|
|
205
|
+
additionalParams: { availableTypes: ["image", "video"] },
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
type: "object",
|
|
211
|
+
key: "image-item",
|
|
212
|
+
displayer: "Media",
|
|
213
|
+
value: [
|
|
214
|
+
{
|
|
215
|
+
type: "media",
|
|
216
|
+
key: "media",
|
|
217
|
+
displayer: "Media",
|
|
218
|
+
value: {
|
|
219
|
+
type: "image",
|
|
220
|
+
url: "https://storage.googleapis.com/download/storage/v1/b/hq-blinkpage-staging-bbc49/o/689b1c4636675f002db9c592?alt=media",
|
|
221
|
+
},
|
|
222
|
+
additionalParams: { availableTypes: ["image", "video"] },
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
type: "object",
|
|
228
|
+
key: "image-item",
|
|
229
|
+
displayer: "Media",
|
|
230
|
+
value: [
|
|
231
|
+
{
|
|
232
|
+
type: "media",
|
|
233
|
+
key: "media",
|
|
234
|
+
displayer: "Media",
|
|
235
|
+
value: {
|
|
236
|
+
type: "image",
|
|
237
|
+
url: "https://storage.googleapis.com/download/storage/v1/b/hq-blinkpage-staging-bbc49/o/689b188936675f002db9bde7?alt=media",
|
|
238
|
+
},
|
|
239
|
+
additionalParams: { availableTypes: ["image", "video"] },
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
},
|
|
247
|
+
],
|
|
248
|
+
});
|
|
249
|
+
|
|
250
|
+
this.addProp({
|
|
251
|
+
type: "media",
|
|
252
|
+
key: "popupLeftIcon",
|
|
253
|
+
displayer: "Left Icon",
|
|
254
|
+
value: { type: "icon", name: "IoMdArrowDropleft" },
|
|
255
|
+
additionalParams: { availableTypes: ["image", "icon"] },
|
|
256
|
+
});
|
|
257
|
+
|
|
258
|
+
this.addProp({
|
|
259
|
+
type: "media",
|
|
260
|
+
key: "popupRightIcon",
|
|
261
|
+
displayer: "Right Icon",
|
|
262
|
+
value: { type: "icon", name: "IoMdArrowDropright" },
|
|
263
|
+
additionalParams: { availableTypes: ["image", "icon"] },
|
|
264
|
+
});
|
|
265
|
+
|
|
266
|
+
this.addProp({
|
|
267
|
+
type: "media",
|
|
268
|
+
key: "popupCloseIcon",
|
|
269
|
+
displayer: "Close Icon",
|
|
270
|
+
value: { type: "icon", name: "MdClose" },
|
|
271
|
+
additionalParams: { availableTypes: ["image", "icon"] },
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
static getName(): string {
|
|
276
|
+
return "Image Gallery 11";
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
componentDidMount() {
|
|
280
|
+
this.refreshRows();
|
|
281
|
+
this.startRaf();
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
componentDidUpdate() {
|
|
285
|
+
this.refreshRows();
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
componentWillUnmount() {
|
|
289
|
+
this.rafId && cancelAnimationFrame(this.rafId);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
private preventDefault = (e: any) => e.preventDefault();
|
|
293
|
+
|
|
294
|
+
private setAllPaused(paused: boolean) {
|
|
295
|
+
this.rowStates.forEach((s) => s && (s.paused = paused));
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
private setOffset = (i: number, wrap = true) => {
|
|
299
|
+
const s = this.rowStates[i];
|
|
300
|
+
const el = this.rowWrapperRefs[i];
|
|
301
|
+
if (!s || !el) return;
|
|
302
|
+
if (wrap) s.offset = ((s.offset % s.width) + s.width) % s.width - s.width;
|
|
303
|
+
el.style.setProperty("--track-offset", `${s.offset}px`);
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
private getProcessedRows(): GalleryRow[] {
|
|
307
|
+
const rawRows = (this.castToObject("galleryRows") || []) as RawGalleryRow[];
|
|
308
|
+
return rawRows
|
|
309
|
+
.filter(Boolean)
|
|
310
|
+
.map((row) => ({ speed: row.speed && row.speed > 0 ? row.speed : 1, images: (row.images || []).filter((img) => !!img?.media) }))
|
|
311
|
+
.filter((row) => row.images.length > 0);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
private refreshRows = () => {
|
|
315
|
+
const rows = this.getProcessedRows();
|
|
316
|
+
this.rowStates.length = rows.length;
|
|
317
|
+
for (let i = 0; i < rows.length; i++) {
|
|
318
|
+
const row = rows[i];
|
|
319
|
+
const track: any = this.sliderRefs[i]?.innerSlider?.list?.querySelector(".slick-track");
|
|
320
|
+
const width = track ? track.scrollWidth / REPEAT_COUNT : 0;
|
|
321
|
+
if (!width) continue;
|
|
322
|
+
const dir = i % 2 ? 1 : -1;
|
|
323
|
+
const start = dir === 1 ? -width : 0;
|
|
324
|
+
const existing = this.rowStates[i];
|
|
325
|
+
const s: RowState = existing ?? { offset: start, startOffset: start, startX: 0, moved: false, paused: false, dragging: false, width, speed: 0, dir };
|
|
326
|
+
s.width = width;
|
|
327
|
+
s.dir = dir;
|
|
328
|
+
s.speed = (width / this.animationDuration) * (row.speed || 1);
|
|
329
|
+
this.rowStates[i] = s;
|
|
330
|
+
if (!s.dragging) this.setOffset(i);
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
private startRaf = () => {
|
|
335
|
+
if (this.rafId) return;
|
|
336
|
+
let last = 0;
|
|
337
|
+
const loop = (ts: number) => {
|
|
338
|
+
const dt = last ? ts - last : 0;
|
|
339
|
+
last = ts;
|
|
340
|
+
for (let i = 0; i < this.rowStates.length; i++) {
|
|
341
|
+
const s = this.rowStates[i];
|
|
342
|
+
if (!s || s.paused || s.dragging) continue;
|
|
343
|
+
s.offset += s.speed * s.dir * dt;
|
|
344
|
+
this.setOffset(i);
|
|
345
|
+
}
|
|
346
|
+
this.rafId = requestAnimationFrame(loop);
|
|
347
|
+
};
|
|
348
|
+
this.rafId = requestAnimationFrame(loop);
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
private onDown = (i: number, e: PointerEvent | any) => {
|
|
352
|
+
const s = this.rowStates[i];
|
|
353
|
+
if (!s) return;
|
|
354
|
+
e.currentTarget?.setPointerCapture?.(e.pointerId);
|
|
355
|
+
s.dragging = true;
|
|
356
|
+
s.paused = true;
|
|
357
|
+
s.moved = false;
|
|
358
|
+
s.startX = e.clientX;
|
|
359
|
+
s.startOffset = s.offset;
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
private onMove = (i: number, e: PointerEvent | any) => {
|
|
363
|
+
const s = this.rowStates[i];
|
|
364
|
+
if (!s?.dragging) return;
|
|
365
|
+
const dx = e.clientX - s.startX;
|
|
366
|
+
if (!s.moved && Math.abs(dx) > 5) s.moved = true;
|
|
367
|
+
s.offset = s.startOffset + dx;
|
|
368
|
+
this.setOffset(i, false);
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
private onUp = (i: number, e: PointerEvent | any) => {
|
|
372
|
+
const s = this.rowStates[i];
|
|
373
|
+
if (!s?.dragging) return;
|
|
374
|
+
e.currentTarget?.releasePointerCapture?.(e.pointerId);
|
|
375
|
+
s.dragging = false;
|
|
376
|
+
this.setOffset(i);
|
|
377
|
+
let opened = false;
|
|
378
|
+
if (!s.moved) opened = this.tryOpenPopupFromPoint(this.getProcessedRows(), e.clientX, e.clientY);
|
|
379
|
+
if (!opened) s.paused = false;
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
private tryOpenPopupFromPoint(rows: GalleryRow[], x: number, y: number) {
|
|
383
|
+
const btn = (document.elementFromPoint(x, y) as HTMLElement | null)?.closest("[data-image-row-index]") as HTMLElement | null;
|
|
384
|
+
if (!btn) return false;
|
|
385
|
+
const r = +(btn.dataset.imageRowIndex ?? -1);
|
|
386
|
+
const idx = +(btn.dataset.imageOriginalIndex ?? -1);
|
|
387
|
+
const media = rows[r]?.images?.[idx]?.media;
|
|
388
|
+
if (media) {
|
|
389
|
+
this.openPopup(rows, media, r, idx);
|
|
390
|
+
return true;
|
|
391
|
+
}
|
|
392
|
+
return false;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
private buildRowImages(row: GalleryRow, rtl: boolean) {
|
|
396
|
+
const min = Math.max(MIN_DUPLICATED_SLIDES, row.images.length);
|
|
397
|
+
let base = row.images.length === 1 ? Array(min).fill(row.images[0]) : [...row.images];
|
|
398
|
+
while (base.length < min) base = base.concat(row.images);
|
|
399
|
+
const dup = Array.from({ length: REPEAT_COUNT }, () => base).flat();
|
|
400
|
+
return { rowImages: rtl ? dup.slice().reverse() : dup, slidesToShow: row.images.length };
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
private setPopupState(open: boolean, media?: TypeMediaInputValue | null, rowIndex?: number | null, imageIndex?: number | null, zoomed = false) {
|
|
404
|
+
this.setComponentState("imagePopupOpen", open);
|
|
405
|
+
this.setComponentState("imagePopupValue", media ?? null);
|
|
406
|
+
this.setComponentState("imagePopupRow", rowIndex ?? null);
|
|
407
|
+
this.setComponentState("imagePopupIndex", imageIndex ?? null);
|
|
408
|
+
this.setComponentState("imagePopupZoomed", zoomed);
|
|
409
|
+
this.setAllPaused(open);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
private openPopup(rows: GalleryRow[], media: TypeMediaInputValue | undefined, rowIndex: number, imageIndex: number) {
|
|
413
|
+
if (!media) return;
|
|
414
|
+
this.setPopupState(true, media, rowIndex, imageIndex, false);
|
|
415
|
+
this.popupOpenRow = rowIndex;
|
|
416
|
+
if (this.rowStates[rowIndex]) this.rowStates[rowIndex].paused = true;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
private closePopup(rows: GalleryRow[]) {
|
|
420
|
+
this.setPopupState(false, null, null, null, false);
|
|
421
|
+
this.popupOpenRow = null;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
private navigatePopup(rows: GalleryRow[], direction: "prev" | "next") {
|
|
425
|
+
const rowIndex = this.getComponentState("imagePopupRow");
|
|
426
|
+
if (rowIndex == null) return;
|
|
427
|
+
const row = rows[rowIndex];
|
|
428
|
+
if (!row || row.images.length === 0) return;
|
|
429
|
+
const currentIndex = this.getComponentState("imagePopupIndex") ?? 0;
|
|
430
|
+
const total = row.images.length;
|
|
431
|
+
const nextIndex = direction === "next" ? (currentIndex + 1) % total : (currentIndex - 1 + total) % total;
|
|
432
|
+
this.setPopupState(true, row.images[nextIndex].media, rowIndex, nextIndex, false);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
render() {
|
|
436
|
+
const rows = this.getProcessedRows();
|
|
437
|
+
const popupValue = this.getComponentState("imagePopupValue") as TypeMediaInputValue | undefined;
|
|
438
|
+
const isPopupOpen = !!this.getComponentState("imagePopupOpen");
|
|
439
|
+
const isPopupZoomed = !!this.getComponentState("imagePopupZoomed");
|
|
440
|
+
|
|
441
|
+
const subtitle = this.getPropValue("subtitle");
|
|
442
|
+
const title = this.getPropValue("title");
|
|
443
|
+
const description = this.getPropValue("description");
|
|
444
|
+
|
|
445
|
+
const subtitleText = this.castToString(subtitle);
|
|
446
|
+
const titleText = this.castToString(title);
|
|
447
|
+
const descriptionText = this.castToString(description);
|
|
448
|
+
const hasTextContent = subtitleText || titleText || !!descriptionText;
|
|
449
|
+
|
|
450
|
+
const backgroundMedia = this.getPropValue("background") as TypeMediaInputValue | undefined;
|
|
451
|
+
const hasBackgroundMedia = !!backgroundMedia;
|
|
452
|
+
const showOverlay = this.getPropValue("backgroundOverlay") && hasBackgroundMedia;
|
|
453
|
+
const showImageOverlay = !!this.getPropValue("imageOverlay");
|
|
454
|
+
|
|
455
|
+
const alignment = Base.getContentAlignment();
|
|
456
|
+
const headingClasses = [this.decorateCSS("heading"), hasBackgroundMedia && this.decorateCSS("with-bg")].filter(Boolean).join(" ");
|
|
457
|
+
const headingProps = alignment === "center" ? { "data-alignment": "center" as const } : {};
|
|
458
|
+
|
|
459
|
+
return (
|
|
460
|
+
<Base.Container isFull className={this.decorateCSS("container")}>
|
|
461
|
+
{backgroundMedia && (
|
|
462
|
+
<div className={this.decorateCSS("background-media")}>
|
|
463
|
+
<Base.Media value={backgroundMedia} className={this.decorateCSS("background-media-content")} />
|
|
464
|
+
</div>
|
|
465
|
+
)}
|
|
466
|
+
|
|
467
|
+
{showOverlay && <div className={this.decorateCSS("background-overlay")} />}
|
|
468
|
+
|
|
469
|
+
<Base.MaxContent className={this.decorateCSS("max-content")}>
|
|
470
|
+
{hasTextContent && (
|
|
471
|
+
<div className={this.decorateCSS("content")}>
|
|
472
|
+
<div className={this.decorateCSS("text-wrapper")}>
|
|
473
|
+
<Base.VerticalContent className={headingClasses} {...headingProps}>
|
|
474
|
+
{subtitleText && (
|
|
475
|
+
<Base.SectionSubTitle className={this.decorateCSS("subtitle")}>{subtitle}</Base.SectionSubTitle>
|
|
476
|
+
)}
|
|
477
|
+
{titleText && <Base.SectionTitle className={this.decorateCSS("title")}>{title}</Base.SectionTitle>}
|
|
478
|
+
{descriptionText && (
|
|
479
|
+
<Base.SectionDescription className={this.decorateCSS("description")}>
|
|
480
|
+
{description}
|
|
481
|
+
</Base.SectionDescription>
|
|
482
|
+
)}
|
|
483
|
+
</Base.VerticalContent>
|
|
484
|
+
</div>
|
|
485
|
+
</div>
|
|
486
|
+
)}
|
|
487
|
+
</Base.MaxContent>
|
|
488
|
+
|
|
489
|
+
{rows.length > 0 && (
|
|
490
|
+
<div className={this.decorateCSS("gallery")}>
|
|
491
|
+
{rows.map((row: GalleryRow, rowIndex: number) => {
|
|
492
|
+
const rtl = rowIndex % 2 !== 0;
|
|
493
|
+
const { rowImages, slidesToShow } = this.buildRowImages(row, rtl);
|
|
494
|
+
const sliderSettings = { ...BASE_SETTINGS, slidesToShow, rtl };
|
|
495
|
+
|
|
496
|
+
return (
|
|
497
|
+
<div
|
|
498
|
+
className={`${this.decorateCSS("gallery-row")} ${this.decorateCSS("slider-wrapper")}`}
|
|
499
|
+
key={`row-${rowIndex}`}
|
|
500
|
+
ref={(el) => {
|
|
501
|
+
this.rowWrapperRefs[rowIndex] = el;
|
|
502
|
+
this.refreshRows();
|
|
503
|
+
}}
|
|
504
|
+
onDragStart={this.preventDefault}
|
|
505
|
+
onMouseEnter={this.getMouseEnter(rowIndex)}
|
|
506
|
+
onMouseLeave={this.getMouseLeave(rowIndex)}
|
|
507
|
+
onPointerDown={this.getPointerDown(rowIndex)}
|
|
508
|
+
onPointerMove={this.getPointerMove(rowIndex)}
|
|
509
|
+
onPointerUp={this.getPointerUp(rowIndex)}
|
|
510
|
+
onPointerCancel={this.getPointerUp(rowIndex)}
|
|
511
|
+
>
|
|
512
|
+
<ComposerSlider
|
|
513
|
+
ref={(s: any) => {
|
|
514
|
+
this.sliderRefs[rowIndex] = s;
|
|
515
|
+
this.refreshRows();
|
|
516
|
+
}}
|
|
517
|
+
{...sliderSettings}
|
|
518
|
+
className={this.decorateCSS("slider")}
|
|
519
|
+
key={`slider-${rowIndex}-${slidesToShow}-${rtl ? "rtl" : "ltr"}`}
|
|
520
|
+
>
|
|
521
|
+
{rowImages.map((_, imageIndex) => {
|
|
522
|
+
const originalIndex = imageIndex % row.images.length;
|
|
523
|
+
const mediaValue = row.images[originalIndex]?.media;
|
|
524
|
+
if (!mediaValue) return null;
|
|
525
|
+
|
|
526
|
+
return (
|
|
527
|
+
<div className={this.decorateCSS("image-card")} key={`row-${rowIndex}-img-${imageIndex}`}>
|
|
528
|
+
<div
|
|
529
|
+
className={this.decorateCSS("image-button")}
|
|
530
|
+
draggable={false}
|
|
531
|
+
data-image-row-index={rowIndex}
|
|
532
|
+
data-image-original-index={originalIndex}
|
|
533
|
+
onDragStart={this.preventDefault}
|
|
534
|
+
>
|
|
535
|
+
<div className={this.decorateCSS("image-media-wrapper")}>
|
|
536
|
+
<Base.Media value={mediaValue} className={this.decorateCSS("image-media")} />
|
|
537
|
+
{showImageOverlay && <div className={this.decorateCSS("image-overlay")} />}
|
|
538
|
+
</div>
|
|
539
|
+
</div>
|
|
540
|
+
</div>
|
|
541
|
+
);
|
|
542
|
+
})}
|
|
543
|
+
</ComposerSlider>
|
|
544
|
+
</div>
|
|
545
|
+
);
|
|
546
|
+
})}
|
|
547
|
+
</div>
|
|
548
|
+
)}
|
|
549
|
+
|
|
550
|
+
{isPopupOpen && (
|
|
551
|
+
<Base.Overlay isVisible className={this.decorateCSS("overlay")} onClick={() => this.closePopup(rows)}>
|
|
552
|
+
<div className={this.decorateCSS("modal-wrapper")} onClick={(e) => e.stopPropagation()}>
|
|
553
|
+
<div className={this.decorateCSS("modal-content")}>
|
|
554
|
+
<div className={this.decorateCSS("close")} onClick={() => this.closePopup(rows)}>
|
|
555
|
+
<Base.Media value={this.getPropValue("popupCloseIcon")} className={this.decorateCSS("icon")} />
|
|
556
|
+
</div>
|
|
557
|
+
|
|
558
|
+
<div
|
|
559
|
+
className={this.decorateCSS("image-container")}
|
|
560
|
+
onClick={() => this.setComponentState("imagePopupZoomed", !isPopupZoomed)}
|
|
561
|
+
>
|
|
562
|
+
<Base.Media
|
|
563
|
+
value={popupValue}
|
|
564
|
+
className={`${this.decorateCSS("modal-image")} ${isPopupZoomed && this.decorateCSS("zoom")}`} />
|
|
565
|
+
</div>
|
|
566
|
+
</div>
|
|
567
|
+
</div>
|
|
568
|
+
|
|
569
|
+
<div
|
|
570
|
+
className={`${this.decorateCSS("nav")} ${this.decorateCSS("prev")}`}
|
|
571
|
+
onClick={(e) => {
|
|
572
|
+
e.stopPropagation();
|
|
573
|
+
this.navigatePopup(rows, "prev");
|
|
574
|
+
}}
|
|
575
|
+
>
|
|
576
|
+
<Base.Media value={this.getPropValue("popupLeftIcon")} className={this.decorateCSS("icon")} />
|
|
577
|
+
</div>
|
|
578
|
+
|
|
579
|
+
<div
|
|
580
|
+
className={`${this.decorateCSS("nav")} ${this.decorateCSS("next")}`}
|
|
581
|
+
onClick={(e) => {
|
|
582
|
+
e.stopPropagation();
|
|
583
|
+
this.navigatePopup(rows, "next");
|
|
584
|
+
}}
|
|
585
|
+
>
|
|
586
|
+
<Base.Media value={this.getPropValue("popupRightIcon")} className={this.decorateCSS("icon")} />
|
|
587
|
+
</div>
|
|
588
|
+
</Base.Overlay>
|
|
589
|
+
)}
|
|
590
|
+
</Base.Container>
|
|
591
|
+
);
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
export default ImageGallery11;
|