@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,65 @@
|
|
|
1
|
+
import * as Icons from "react-icons/ai";
|
|
2
|
+
import * as Icons2 from "react-icons/bi";
|
|
3
|
+
import * as Icons3 from "react-icons/bs";
|
|
4
|
+
import * as Icons4 from "react-icons/cg";
|
|
5
|
+
import * as Icons5 from "react-icons/ci";
|
|
6
|
+
import * as Icons6 from "react-icons/di";
|
|
7
|
+
import * as Icons7 from "react-icons/fa";
|
|
8
|
+
import * as Icons8 from "react-icons/fa6";
|
|
9
|
+
import * as Icons9 from "react-icons/fc";
|
|
10
|
+
import * as Icons10 from "react-icons/fi";
|
|
11
|
+
import * as Icons11 from "react-icons/gi";
|
|
12
|
+
import * as Icons12 from "react-icons/go";
|
|
13
|
+
import * as Icons13 from "react-icons/gr";
|
|
14
|
+
import * as Icons14 from "react-icons/hi";
|
|
15
|
+
import * as Icons15 from "react-icons/hi2";
|
|
16
|
+
import * as Icons16 from "react-icons/im";
|
|
17
|
+
import * as Icons17 from "react-icons/io";
|
|
18
|
+
import * as Icons18 from "react-icons/io5";
|
|
19
|
+
import * as Icons19 from "react-icons/lia";
|
|
20
|
+
import * as Icons20 from "react-icons/lu";
|
|
21
|
+
import * as Icons21 from "react-icons/md";
|
|
22
|
+
import * as Icons22 from "react-icons/pi";
|
|
23
|
+
import * as Icons23 from "react-icons/ri";
|
|
24
|
+
import * as Icons24 from "react-icons/rx";
|
|
25
|
+
import * as Icons25 from "react-icons/si";
|
|
26
|
+
import * as Icons26 from "react-icons/sl";
|
|
27
|
+
import * as Icons27 from "react-icons/tb";
|
|
28
|
+
import * as Icons28 from "react-icons/tfi";
|
|
29
|
+
import * as Icons29 from "react-icons/ti";
|
|
30
|
+
import * as Icons30 from "react-icons/vsc";
|
|
31
|
+
import * as Icons31 from "react-icons/wi";
|
|
32
|
+
|
|
33
|
+
export const iconLibraries: any = [
|
|
34
|
+
Icons,
|
|
35
|
+
Icons2,
|
|
36
|
+
Icons3,
|
|
37
|
+
Icons4,
|
|
38
|
+
Icons5,
|
|
39
|
+
Icons6,
|
|
40
|
+
Icons7,
|
|
41
|
+
Icons8,
|
|
42
|
+
Icons9,
|
|
43
|
+
Icons10,
|
|
44
|
+
// Icons11,
|
|
45
|
+
Icons12,
|
|
46
|
+
Icons13,
|
|
47
|
+
Icons14,
|
|
48
|
+
Icons15,
|
|
49
|
+
Icons16,
|
|
50
|
+
Icons17,
|
|
51
|
+
Icons18,
|
|
52
|
+
Icons19,
|
|
53
|
+
Icons20,
|
|
54
|
+
Icons21,
|
|
55
|
+
// Icons22,
|
|
56
|
+
Icons23,
|
|
57
|
+
Icons24,
|
|
58
|
+
Icons25,
|
|
59
|
+
Icons26,
|
|
60
|
+
// Icons27,
|
|
61
|
+
Icons28,
|
|
62
|
+
Icons29,
|
|
63
|
+
Icons30,
|
|
64
|
+
Icons31,
|
|
65
|
+
]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.container{
|
|
2
|
+
text-decoration: unset;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.custom-modal{
|
|
6
|
+
width: 100vw;
|
|
7
|
+
height: 100vh;
|
|
8
|
+
position: fixed;
|
|
9
|
+
top: 0;
|
|
10
|
+
left: 0;
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
align-items: center;
|
|
14
|
+
background: rgba($color: #000000, $alpha: 0.5);
|
|
15
|
+
z-index: 1000;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { ModalService } from "../modal";
|
|
3
|
+
|
|
4
|
+
interface iComposerModalClose {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
function ComposerModalClose({ children }: iComposerModalClose) {
|
|
8
|
+
const handleClose = () => {
|
|
9
|
+
ModalService.emit("close", true);
|
|
10
|
+
};
|
|
11
|
+
return <div onClick={handleClose}>{children}</div>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export default ComposerModalClose;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { useEffect, useRef } from "react";
|
|
2
|
+
|
|
3
|
+
type ComposerEmbededLinkProps = {
|
|
4
|
+
path: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export function ComposerEmbededLink({ path, className }: ComposerEmbededLinkProps): React.JSX.Element {
|
|
9
|
+
const ref = useRef<HTMLDivElement>(null);
|
|
10
|
+
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
const container = ref.current;
|
|
13
|
+
if (!container) return;
|
|
14
|
+
|
|
15
|
+
container.innerHTML = "";
|
|
16
|
+
|
|
17
|
+
const temp = document.createElement("div");
|
|
18
|
+
temp.innerHTML = path;
|
|
19
|
+
|
|
20
|
+
Array.from(temp.childNodes).forEach((node) => {
|
|
21
|
+
container.appendChild(node.cloneNode(true));
|
|
22
|
+
});
|
|
23
|
+
const scripts = container.querySelectorAll("script");
|
|
24
|
+
scripts.forEach((oldScript) => {
|
|
25
|
+
const newScript = document.createElement("script");
|
|
26
|
+
for (let i = 0; i < oldScript.attributes.length; i++) {
|
|
27
|
+
const attr = oldScript.attributes[i];
|
|
28
|
+
newScript.setAttribute(attr.name, attr.value);
|
|
29
|
+
}
|
|
30
|
+
if (oldScript.textContent) {
|
|
31
|
+
newScript.textContent = oldScript.textContent;
|
|
32
|
+
}
|
|
33
|
+
oldScript.parentNode?.replaceChild(newScript, oldScript);
|
|
34
|
+
});
|
|
35
|
+
}, [path]);
|
|
36
|
+
|
|
37
|
+
return <div className={className} ref={ref} />;
|
|
38
|
+
}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { Map, Marker, useMap } from "@vis.gl/react-google-maps";
|
|
2
|
+
import React, { memo, useEffect, useState, useRef } from "react";
|
|
3
|
+
import { createRoot } from "react-dom/client";
|
|
4
|
+
|
|
5
|
+
type Coordinate = {
|
|
6
|
+
icon: {
|
|
7
|
+
url: string;
|
|
8
|
+
scaledSize: {
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
content?: React.ReactNode;
|
|
14
|
+
lat: number;
|
|
15
|
+
lng: number;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
interface ComposerMapProps {
|
|
19
|
+
markers: Coordinate[];
|
|
20
|
+
className: string;
|
|
21
|
+
defaultMarkerIcon?: string;
|
|
22
|
+
defaultZoom?: number;
|
|
23
|
+
handleMarkerZoom?: number;
|
|
24
|
+
allContentShow?: boolean;
|
|
25
|
+
styles?: google.maps.MapTypeStyle[];
|
|
26
|
+
customSelectedMarker?: any;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const ComposerMap = memo(({ markers, className, defaultMarkerIcon, defaultZoom, allContentShow, handleMarkerZoom, styles, customSelectedMarker }: ComposerMapProps) => {
|
|
30
|
+
const uniqueMapIdRef = useRef<string>(Math.random().toString());
|
|
31
|
+
const uniqueMapId = uniqueMapIdRef.current;
|
|
32
|
+
const map = useMap(uniqueMapId);
|
|
33
|
+
|
|
34
|
+
const [selectedMarkers, setSelectedMarkers] = useState<Coordinate[]>([]);
|
|
35
|
+
const overlayRefs = useRef<(any | null)[]>([]);
|
|
36
|
+
const prevMarkersRef = useRef<Coordinate[]>([]);
|
|
37
|
+
|
|
38
|
+
const getCenter = (bounds: { north: number; south: number; east: number; west: number }) => {
|
|
39
|
+
const lat = (bounds.north + bounds.south) / 2;
|
|
40
|
+
const lng = (bounds.east + bounds.west) / 2;
|
|
41
|
+
return { lat, lng };
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const getBounds = () => {
|
|
45
|
+
if (markers.length === 0) return null;
|
|
46
|
+
|
|
47
|
+
const lngs = markers.map((marker) => marker.lng);
|
|
48
|
+
const lats = markers.map((marker) => marker.lat);
|
|
49
|
+
|
|
50
|
+
const north = Math.max(...lats);
|
|
51
|
+
const south = Math.min(...lats);
|
|
52
|
+
const east = Math.max(...lngs);
|
|
53
|
+
const west = Math.min(...lngs);
|
|
54
|
+
|
|
55
|
+
return { north, south, east, west };
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
useEffect(() => {
|
|
59
|
+
if (allContentShow) {
|
|
60
|
+
setSelectedMarkers(markers);
|
|
61
|
+
} else {
|
|
62
|
+
setSelectedMarkers([]);
|
|
63
|
+
}
|
|
64
|
+
}, [allContentShow]);
|
|
65
|
+
|
|
66
|
+
useEffect(() => {
|
|
67
|
+
if (!map || markers.length === 0) return;
|
|
68
|
+
|
|
69
|
+
const fitMapToMarkers = () => {
|
|
70
|
+
const bounds = new google.maps.LatLngBounds();
|
|
71
|
+
markers.forEach((marker) => bounds.extend(new google.maps.LatLng(marker.lat, marker.lng)));
|
|
72
|
+
|
|
73
|
+
map.fitBounds(bounds);
|
|
74
|
+
|
|
75
|
+
google.maps.event.addListenerOnce(map, "idle", () => {
|
|
76
|
+
const currentZoom = map.getZoom();
|
|
77
|
+
if (markers.length > 1) {
|
|
78
|
+
map.setZoom(defaultZoom !== undefined ? defaultZoom : currentZoom);
|
|
79
|
+
} else {
|
|
80
|
+
map.setZoom(defaultZoom !== undefined ? defaultZoom : 5);
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
fitMapToMarkers();
|
|
86
|
+
|
|
87
|
+
return () => {
|
|
88
|
+
google.maps.event.clearListeners(map, "idle");
|
|
89
|
+
};
|
|
90
|
+
}, [map, defaultZoom, JSON.stringify(markers.map((marker) => ({ lat: marker.lat, lng: marker.lng })))]);
|
|
91
|
+
|
|
92
|
+
useEffect(() => {
|
|
93
|
+
if (map) {
|
|
94
|
+
if (markers.length === 0) {
|
|
95
|
+
map.setCenter({ lat: 0, lng: 0 });
|
|
96
|
+
map.setZoom(1);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}, [map, markers]);
|
|
100
|
+
|
|
101
|
+
useEffect(() => {
|
|
102
|
+
if (map && defaultZoom !== undefined) {
|
|
103
|
+
const currentZoom = map.getZoom();
|
|
104
|
+
if (defaultZoom !== currentZoom) {
|
|
105
|
+
map.setZoom(defaultZoom || 5);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}, [map, defaultZoom]);
|
|
109
|
+
|
|
110
|
+
useEffect(() => {
|
|
111
|
+
if (!map) return;
|
|
112
|
+
|
|
113
|
+
const bounds = getBounds();
|
|
114
|
+
if (!bounds) return;
|
|
115
|
+
|
|
116
|
+
const calculatedCenter = getCenter(bounds);
|
|
117
|
+
|
|
118
|
+
const hasMarkersChanged = (markers: Coordinate[], prevMarkers: Coordinate[]) => {
|
|
119
|
+
if (markers.length !== prevMarkers.length) {
|
|
120
|
+
return true;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
return markers.some((marker, index) => {
|
|
124
|
+
const prevMarker = prevMarkers[index];
|
|
125
|
+
return prevMarker && (marker.lat !== prevMarker.lat || marker.lng !== prevMarker.lng);
|
|
126
|
+
});
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
if (hasMarkersChanged(markers, prevMarkersRef.current)) {
|
|
130
|
+
map.fitBounds(bounds);
|
|
131
|
+
map.setCenter(calculatedCenter);
|
|
132
|
+
map.panTo(calculatedCenter);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
prevMarkersRef.current = markers;
|
|
136
|
+
}, [map, markers]);
|
|
137
|
+
|
|
138
|
+
const defaultMarker = defaultMarkerIcon || "https://storage.googleapis.com/download/storage/v1/b/hq-composer-0b0f0/o/66dffd65343034002c462ded?alt=media×tamp=1725955430378";
|
|
139
|
+
|
|
140
|
+
const createOverlayView = (marker: Coordinate) => {
|
|
141
|
+
const customStyle: React.CSSProperties = {
|
|
142
|
+
position: "absolute",
|
|
143
|
+
zIndex: 1000,
|
|
144
|
+
pointerEvents: "auto",
|
|
145
|
+
transform: "translate(-50%, -100%)",
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
class CustomOverlay extends google.maps.OverlayView {
|
|
149
|
+
div: HTMLDivElement | null = null;
|
|
150
|
+
position: google.maps.LatLng;
|
|
151
|
+
|
|
152
|
+
constructor(position: google.maps.LatLng) {
|
|
153
|
+
super();
|
|
154
|
+
this.position = position;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
onAdd() {
|
|
158
|
+
this.div = document.createElement("div");
|
|
159
|
+
Object.assign(this.div.style, customStyle);
|
|
160
|
+
|
|
161
|
+
const root = createRoot(this.div);
|
|
162
|
+
if (marker.content) {
|
|
163
|
+
root.render(marker.content);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
const panes = this.getPanes();
|
|
167
|
+
if (panes) panes.overlayMouseTarget.appendChild(this.div);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
draw() {
|
|
171
|
+
if (this.div) {
|
|
172
|
+
const projection = this.getProjection();
|
|
173
|
+
if (projection) {
|
|
174
|
+
const point = projection.fromLatLngToDivPixel(this.position);
|
|
175
|
+
if (point) {
|
|
176
|
+
this.div.style.left = `${point.x}px`;
|
|
177
|
+
this.div.style.top = `${point.y - 35}px`;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
onRemove() {
|
|
184
|
+
if (this.div && this.div.parentNode) {
|
|
185
|
+
this.div.parentNode.removeChild(this.div);
|
|
186
|
+
const root = createRoot(this.div);
|
|
187
|
+
root.unmount();
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
return CustomOverlay;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
const prevSelectedMarkersCountRef = useRef<number>(0);
|
|
196
|
+
|
|
197
|
+
useEffect(() => {
|
|
198
|
+
if (map) {
|
|
199
|
+
map.setOptions({ styles });
|
|
200
|
+
|
|
201
|
+
if (selectedMarkers.length !== prevSelectedMarkersCountRef.current) {
|
|
202
|
+
overlayRefs.current.forEach((overlay) => overlay && overlay.setMap(null));
|
|
203
|
+
overlayRefs.current = [];
|
|
204
|
+
|
|
205
|
+
selectedMarkers.forEach((marker) => {
|
|
206
|
+
const overlayClass = createOverlayView(marker);
|
|
207
|
+
const overlay = new overlayClass(new google.maps.LatLng(marker.lat, marker.lng));
|
|
208
|
+
overlay.setMap(map);
|
|
209
|
+
overlayRefs.current.push(overlay);
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
prevSelectedMarkersCountRef.current = selectedMarkers.length;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}, [selectedMarkers, map, styles]);
|
|
216
|
+
|
|
217
|
+
useEffect(() => {
|
|
218
|
+
const activeMarkers = new Set(markers.map((m) => `${m.lat},${m.lng}`));
|
|
219
|
+
|
|
220
|
+
setSelectedMarkers((prev) => prev.filter((marker) => activeMarkers.has(`${marker.lat},${marker.lng}`)));
|
|
221
|
+
}, [markers]);
|
|
222
|
+
|
|
223
|
+
const handleMarkerClick = (marker: Coordinate) => {
|
|
224
|
+
setSelectedMarkers((prevSelectedMarkers) => {
|
|
225
|
+
const isMarkerSelected = prevSelectedMarkers.some((m) => m.lat === marker.lat && m.lng === marker.lng);
|
|
226
|
+
if (isMarkerSelected) {
|
|
227
|
+
return prevSelectedMarkers.filter((m) => !(m.lat === marker.lat && m.lng === marker.lng)); // Close
|
|
228
|
+
} else {
|
|
229
|
+
return [...prevSelectedMarkers, marker];
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
|
|
233
|
+
const offsetLat = -0.005;
|
|
234
|
+
|
|
235
|
+
map.setCenter({ lat: marker.lat - offsetLat, lng: marker.lng });
|
|
236
|
+
map.setZoom(handleMarkerZoom || 15);
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
useEffect(() => {
|
|
240
|
+
if (customSelectedMarker && map) {
|
|
241
|
+
const markerToSelect = markers.find((marker) => marker.lat === customSelectedMarker.lat && marker.lng === customSelectedMarker.lng);
|
|
242
|
+
|
|
243
|
+
if (markerToSelect) {
|
|
244
|
+
handleMarkerClick(markerToSelect);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}, [customSelectedMarker]);
|
|
248
|
+
|
|
249
|
+
return (
|
|
250
|
+
<Map id={uniqueMapId} className={className}>
|
|
251
|
+
{markers.map((marker, index) => (
|
|
252
|
+
<Marker
|
|
253
|
+
key={index}
|
|
254
|
+
position={{ lat: marker.lat, lng: marker.lng }}
|
|
255
|
+
title="Location"
|
|
256
|
+
icon={{
|
|
257
|
+
url: marker.icon.url || defaultMarker,
|
|
258
|
+
scaledSize: new google.maps.Size(marker.icon?.scaledSize.width || 32, marker.icon?.scaledSize.height || 32),
|
|
259
|
+
}}
|
|
260
|
+
onClick={() => handleMarkerClick(marker)}
|
|
261
|
+
/>
|
|
262
|
+
))}
|
|
263
|
+
</Map>
|
|
264
|
+
);
|
|
265
|
+
});
|
|
266
|
+
|
|
267
|
+
export default ComposerMap;
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.custom-modal{
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
position: absolute;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: center;
|
|
10
|
+
background: rgba($color: #000000, $alpha: 0.5);
|
|
11
|
+
z-index: 1000;
|
|
12
|
+
container-type: inline-size;
|
|
13
|
+
> div{
|
|
14
|
+
width: 100%;
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
align-items: center;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
interface Events {
|
|
2
|
+
[key: string]: Function[];
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
class ModalService {
|
|
6
|
+
public events: Events;
|
|
7
|
+
constructor(events?: Events) {
|
|
8
|
+
this.events = events || {};
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public subscribe(name: string, cb: Function) {
|
|
12
|
+
(this.events[name] || (this.events[name] = [])).push(cb);
|
|
13
|
+
|
|
14
|
+
return {
|
|
15
|
+
unsubscribe: () =>
|
|
16
|
+
this.events[name] &&
|
|
17
|
+
this.events[name].splice(this.events[name].indexOf(cb) >>> 0, 1),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
public emit(name: string, ...args: any[]): void {
|
|
22
|
+
(this.events[name] || []).forEach((fn) => fn(...args));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
const newModel = new ModalService()
|
|
26
|
+
|
|
27
|
+
export default newModel;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import styles from "./modal.module.scss";
|
|
3
|
+
|
|
4
|
+
interface iComposerModal {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
open: boolean;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
function ComposerModal({ children, open, onClose, id }: iComposerModal) {
|
|
11
|
+
if (!open) {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<div onClick={onClose} className={styles["custom-modal"]}>
|
|
17
|
+
<div onClick={(event: any) => event.stopPropagation()} id={id}>{children}</div>
|
|
18
|
+
</div>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export default ComposerModal;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import React, { forwardRef, useEffect, useRef, useState, useCallback } from "react";
|
|
2
|
+
import Slider, { Settings } from "react-slick";
|
|
3
|
+
import { debounce } from "lodash";
|
|
4
|
+
import "slick-carousel/slick/slick.css";
|
|
5
|
+
import "slick-carousel/slick/slick-theme.css";
|
|
6
|
+
|
|
7
|
+
function shallowEqual(objA: any, objB: any) {
|
|
8
|
+
if (objA === objB) return true;
|
|
9
|
+
if (!objA || !objB) return false;
|
|
10
|
+
const keysA = Object.keys(objA);
|
|
11
|
+
const keysB = Object.keys(objB);
|
|
12
|
+
if (keysA.length !== keysB.length) return false;
|
|
13
|
+
for (let key of keysA) {
|
|
14
|
+
if (objA[key] !== objB[key]) return false;
|
|
15
|
+
}
|
|
16
|
+
return true;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const ComposerSlider = forwardRef<Slider, Settings>((props, ref) => {
|
|
20
|
+
// Manual memoization for props
|
|
21
|
+
const memoizedPropsRef = useRef<Settings>({ ...props });
|
|
22
|
+
if (!shallowEqual(props, memoizedPropsRef.current)) {
|
|
23
|
+
memoizedPropsRef.current = { ...props };
|
|
24
|
+
}
|
|
25
|
+
const memoizedProps = memoizedPropsRef.current;
|
|
26
|
+
|
|
27
|
+
const [sliderSettings, setSliderSettings] = useState<Settings>({ ...memoizedProps, responsive: [] });
|
|
28
|
+
const sliderRef = useRef<Slider>(null);
|
|
29
|
+
|
|
30
|
+
// Combine the forwarded ref with our local ref
|
|
31
|
+
const setRef = (slider: Slider) => {
|
|
32
|
+
sliderRef.current = slider;
|
|
33
|
+
|
|
34
|
+
// Handle the forwarded ref
|
|
35
|
+
if (!ref) return;
|
|
36
|
+
|
|
37
|
+
if (typeof ref === "function") {
|
|
38
|
+
ref(slider);
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
ref.current = slider;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
const restartSlider = useCallback(
|
|
46
|
+
debounce(() => {
|
|
47
|
+
const newProps = {
|
|
48
|
+
...memoizedProps,
|
|
49
|
+
slidesToShow: memoizedProps.slidesToShow || 1,
|
|
50
|
+
slidesToScroll: memoizedProps.slidesToScroll || 1
|
|
51
|
+
};
|
|
52
|
+
setSliderSettings({ ...newProps, responsive: [] });
|
|
53
|
+
if (memoizedProps.autoplay) {
|
|
54
|
+
sliderRef.current?.slickPlay();
|
|
55
|
+
}
|
|
56
|
+
}, 200),
|
|
57
|
+
[memoizedProps]
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
useEffect(() => {
|
|
61
|
+
if (!memoizedProps.responsive) {
|
|
62
|
+
restartSlider();return;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
const sortedBreakpoints = [...memoizedProps.responsive].sort((a, b) => a.breakpoint - b.breakpoint);
|
|
66
|
+
|
|
67
|
+
const updateSlidesToShow = (width: number) => {
|
|
68
|
+
const matchedBreakpoint = sortedBreakpoints.find(({ breakpoint }) => width <= breakpoint);
|
|
69
|
+
|
|
70
|
+
if (matchedBreakpoint?.settings) {
|
|
71
|
+
setSliderSettings((prev) => ({
|
|
72
|
+
...prev,
|
|
73
|
+
...(matchedBreakpoint.settings as Settings),
|
|
74
|
+
autoplay: memoizedProps.autoplay,
|
|
75
|
+
autoplaySpeed: memoizedProps.autoplaySpeed,
|
|
76
|
+
responsive: []
|
|
77
|
+
}));
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
setSliderSettings(memoizedProps);
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
const handleResize = (entries: ResizeObserverEntry[]) => {
|
|
85
|
+
if (entries.length > 0) {
|
|
86
|
+
updateSlidesToShow(sliderRef.current?.innerSlider?.list?.offsetWidth || entries[0].contentRect.width);
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
const observer = new ResizeObserver(handleResize);
|
|
91
|
+
|
|
92
|
+
// Observer on the slider element directly
|
|
93
|
+
const sliderElement = sliderRef.current && sliderRef.current.innerSlider?.list;
|
|
94
|
+
|
|
95
|
+
if (sliderElement) {
|
|
96
|
+
observer.observe(sliderElement);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return () => {
|
|
100
|
+
observer.disconnect();
|
|
101
|
+
};
|
|
102
|
+
}, [memoizedProps, restartSlider]);
|
|
103
|
+
|
|
104
|
+
useEffect(() => {
|
|
105
|
+
setSliderSettings({ ...memoizedProps, responsive: [] });
|
|
106
|
+
if (memoizedProps.autoplay) {
|
|
107
|
+
sliderRef.current?.slickPlay?.();
|
|
108
|
+
} else {
|
|
109
|
+
sliderRef.current?.slickPause?.();
|
|
110
|
+
}
|
|
111
|
+
}, [memoizedProps.autoplay]);
|
|
112
|
+
|
|
113
|
+
return (
|
|
114
|
+
<Slider ref={setRef} {...sliderSettings}>
|
|
115
|
+
{memoizedProps.children}
|
|
116
|
+
</Slider>
|
|
117
|
+
);
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
export default ComposerSlider;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@use "../../base/utitilities/viewports.module.scss" as *;
|
|
2
|
+
|
|
3
|
+
.accordion {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
|
|
7
|
+
.accordionHeader {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
text-transform: capitalize;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.accordionTitle {
|
|
15
|
+
color: var(--composer-font-color-primary);
|
|
16
|
+
@container (max-width: #{$composer-tablet-width}) {
|
|
17
|
+
text-align: left !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@container (max-width: #{$composer-phone-width}) {
|
|
21
|
+
text-align: left !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.accordionContent {
|
|
26
|
+
max-height: 0;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
transition: max-height 0.4s ease-in-out;
|
|
29
|
+
|
|
30
|
+
&.open{
|
|
31
|
+
max-height: 500px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
.accordionIcon{
|
|
37
|
+
font-size: 1.5rem;
|
|
38
|
+
color: var(--composer-font-color-primary);
|
|
39
|
+
transform: rotate(-90deg);
|
|
40
|
+
transition: transform 0.3s ease;
|
|
41
|
+
&.open{
|
|
42
|
+
transform: rotate(0deg);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
import React, { useState } from 'react'
|
|
3
|
+
import styles from "./Accordion.module.scss";
|
|
4
|
+
import { Base } from 'composer-tools/composer-base-components/base/base';
|
|
5
|
+
import { TypeMediaInputValue } from 'composer-tools/editor-components/EditorComponent';
|
|
6
|
+
interface AccordionProps {
|
|
7
|
+
title: string;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
icon?: TypeMediaInputValue;
|
|
10
|
+
headerClassName?: string;
|
|
11
|
+
contentClassName?: string;
|
|
12
|
+
openClassName?: string;
|
|
13
|
+
accordionIconClassName?: string;
|
|
14
|
+
titleClassName?: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const Accordion = ({
|
|
18
|
+
title,
|
|
19
|
+
children,
|
|
20
|
+
icon,
|
|
21
|
+
headerClassName,
|
|
22
|
+
contentClassName,
|
|
23
|
+
openClassName="open",
|
|
24
|
+
accordionIconClassName,
|
|
25
|
+
titleClassName
|
|
26
|
+
}: AccordionProps) => {
|
|
27
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
28
|
+
|
|
29
|
+
const handleToggle = () => {
|
|
30
|
+
setIsOpen(!isOpen);
|
|
31
|
+
}
|
|
32
|
+
const handleClose = () => {
|
|
33
|
+
setIsOpen(false);
|
|
34
|
+
};
|
|
35
|
+
return (
|
|
36
|
+
<div className={styles["accordion"]}>
|
|
37
|
+
<div className={`${styles["accordionHeader"]} ${headerClassName || ''}`} onClick={handleToggle}>
|
|
38
|
+
<Base.P className={`${styles["accordionTitle"]} ${titleClassName || ''}`}>{title}</Base.P>
|
|
39
|
+
{icon && <Base.Media value={icon} className={`${styles["accordionIcon"]} ${isOpen ? styles["open"] : ''} ${accordionIconClassName || ''}`}/>}
|
|
40
|
+
</div>
|
|
41
|
+
<Base.P className={`${styles["accordionContent"]} ${isOpen ? styles[openClassName] : ''} ${contentClassName || ''}`} onClick={handleClose}>
|
|
42
|
+
{children}
|
|
43
|
+
</Base.P>
|
|
44
|
+
</div>
|
|
45
|
+
)
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export default Accordion
|