mayak-common-library 0.0.162 → 0.0.164

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/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import React__default, { FC, ReactNode, MouseEventHandler, PropsWithChildren, MouseEvent, ReactElement } from 'react';
2
+ import * as react from 'react';
3
+ import react__default, { FC, ReactNode, MouseEventHandler, PropsWithChildren, MouseEvent, ReactElement } from 'react';
4
4
  import { TypographyProps } from '@mui/material/Typography/Typography';
5
5
  import { ButtonProps } from '@mui/material/Button';
6
6
  import { IconButtonProps } from '@mui/material/IconButton/IconButton';
@@ -124,21 +124,21 @@ interface IArticle {
124
124
  }
125
125
 
126
126
  interface IArticlesBlock {
127
- title?: string;
127
+ title: string;
128
128
  classes?: string;
129
129
  button?: boolean;
130
130
  titlePosition?: TitlePosition$1;
131
131
  articles?: IArticle[];
132
132
  }
133
- declare function ArticlesBlock({ title, classes, button, titlePosition, articles, }: IArticlesBlock): react_jsx_runtime.JSX.Element;
133
+ declare function ArticlesBlock({ title, classes, button, articles, }: IArticlesBlock): react_jsx_runtime.JSX.Element;
134
134
 
135
- interface IArticlesFull {
135
+ interface IArticlesFull$1 {
136
136
  classes?: string;
137
137
  title?: string;
138
138
  articles?: IArticle[];
139
139
  totalArticles?: number;
140
140
  }
141
- declare function ArticlesFull({ title, articles, classes, }: IArticlesFull): react_jsx_runtime.JSX.Element;
141
+ declare function ArticlesFull({ title, articles, classes, }: IArticlesFull$1): react_jsx_runtime.JSX.Element;
142
142
 
143
143
  interface IBannerBlock {
144
144
  videoLink?: string;
@@ -169,8 +169,10 @@ interface IBannerReferralProgram {
169
169
  strongText?: string;
170
170
  text?: string;
171
171
  box?: IBoxItem$4[];
172
+ personWidth: string;
173
+ personHeight: string;
172
174
  }
173
- declare function BannerReferralProgram({ classes, box, imgBack, imgPerson, strongText, text, }: IBannerReferralProgram): react_jsx_runtime.JSX.Element;
175
+ declare function BannerReferralProgram({ classes, box, imgBack, imgPerson, strongText, text, personWidth, personHeight, }: IBannerReferralProgram): react_jsx_runtime.JSX.Element;
174
176
 
175
177
  interface IBecomePartnerProps {
176
178
  classes?: string;
@@ -198,12 +200,13 @@ interface IBenefit {
198
200
  text1?: string;
199
201
  text2?: string;
200
202
  }
201
- interface IBenefitsVacanciesBlock {
203
+ interface BenefitsVacanciesBlockProps {
202
204
  title?: string;
203
205
  benefits?: IBenefit[];
204
206
  classes?: string;
207
+ inlineItem?: boolean;
205
208
  }
206
- declare function BenefitsVacanciesBlock({ title, benefits, classes, }: IBenefitsVacanciesBlock): react_jsx_runtime.JSX.Element;
209
+ declare const BenefitsVacanciesBlock: FC<BenefitsVacanciesBlockProps>;
207
210
 
208
211
  interface IComponentItem {
209
212
  text1?: string;
@@ -662,15 +665,16 @@ interface IWhatIsYourProps {
662
665
  }
663
666
  declare function WhatIsYour({ classes, text3, text2, text1, title, }: IWhatIsYourProps): react_jsx_runtime.JSX.Element;
664
667
 
665
- interface IWhyDubaiProps {
668
+ interface TextImageTileBlockProps {
666
669
  classes?: string;
667
670
  title1?: string;
668
671
  title2?: string;
669
672
  text1?: string;
670
673
  text2?: string;
671
674
  images?: string[];
675
+ withButton?: boolean;
672
676
  }
673
- declare function WhyDubai({ classes, title1, title2, text2, text1, }: IWhyDubaiProps): react_jsx_runtime.JSX.Element;
677
+ declare const TextImageTileBlock: FC<TextImageTileBlockProps>;
674
678
 
675
679
  interface IBoxItem {
676
680
  number?: number;
@@ -698,6 +702,61 @@ interface IWhyWe {
698
702
  }
699
703
  declare function WhyWe({ items, title, classes, imageUrl }: IWhyWe): react_jsx_runtime.JSX.Element;
700
704
 
705
+ interface ObjectInfoBlockProps {
706
+ title: string;
707
+ text1: string;
708
+ text2: string;
709
+ properties: {
710
+ title: string;
711
+ desc: string;
712
+ }[];
713
+ classes?: string;
714
+ }
715
+ declare const ObjectInfoBlock: FC<ObjectInfoBlockProps>;
716
+
717
+ interface PaymentPlanBlockProps {
718
+ }
719
+ declare const PaymentPlanBlock: FC<PaymentPlanBlockProps>;
720
+
721
+ interface FloorPlansBlockProps {
722
+ }
723
+ declare const FloorPlansBlock: FC<FloorPlansBlockProps>;
724
+
725
+ interface FullScreenImageProps {
726
+ src: string;
727
+ tags?: string[];
728
+ classes?: string;
729
+ }
730
+ declare const FullScreenImage: FC<FullScreenImageProps>;
731
+
732
+ interface GalleryBlockProps {
733
+ classes?: string;
734
+ images?: string[];
735
+ title?: string;
736
+ }
737
+ declare const GalleryBlock: FC<GalleryBlockProps>;
738
+
739
+ interface ContactDubaiBlockProps {
740
+ classes?: string;
741
+ }
742
+ declare function ContactDubaiBlock({ classes }: ContactDubaiBlockProps): react_jsx_runtime.JSX.Element;
743
+
744
+ interface IArea {
745
+ imageUrl?: string;
746
+ title?: string;
747
+ price?: string;
748
+ slug?: string;
749
+ whiteBottom?: boolean;
750
+ }
751
+
752
+ interface IArticlesFull {
753
+ classes?: string;
754
+ title?: string;
755
+ areas?: IArea[];
756
+ totalAreas?: number;
757
+ }
758
+ declare function AreasFull({ title, areas, classes }: IArticlesFull): react_jsx_runtime.JSX.Element;
759
+
701
760
  type MenuItem = {
702
761
  path: string;
703
762
  title: string;
@@ -728,7 +787,7 @@ interface HeaderContactButtonProps {
728
787
  title: string;
729
788
  homePage: string;
730
789
  }
731
- declare const _default: React.NamedExoticComponent<HeaderContactButtonProps>;
790
+ declare const _default: react.NamedExoticComponent<HeaderContactButtonProps>;
732
791
 
733
792
  declare function Footer({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, }: IFooter): react_jsx_runtime.JSX.Element;
734
793
 
@@ -922,9 +981,9 @@ interface CustomRadioProps {
922
981
  label?: string;
923
982
  value?: string;
924
983
  }
925
- declare const CustomRadio: React__default.FC<CustomRadioProps>;
984
+ declare const CustomRadio: React.FC<CustomRadioProps>;
926
985
 
927
- declare const CustomRadioGroup: React__default.FC<RadioGroupProps & PropsWithChildren>;
986
+ declare const CustomRadioGroup: react__default.FC<RadioGroupProps & PropsWithChildren>;
928
987
 
929
988
  declare const Input: FC<InputProps>;
930
989
 
@@ -1021,4 +1080,4 @@ interface ListItemProps {
1021
1080
  }
1022
1081
  declare const ListItem: FC<ListItemProps>;
1023
1082
 
1024
- export { AboutCompanyMain, AboutUsFirstBlock, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockCardContent, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogRealtiesBlock, CategoryCard, ClientTransferProcess, ContactUsBlock, ExpertiseBlock, FAQ, Footer, Footer2, FormBlock, FormInput, FromToInput, GalleryRealty, Header, _default as HeaderContactButton, HeaderMob, IconButton, Input, JobCard, JoinTeamBlock, type LayoutStore, LegalSupport, LinkOut, List, ListItem, type LocaleSlug, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, ModalContainer, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, PhoneInput, PopularAreas, Portfolios, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, ReferralProgramFirstBlock, SearchInput, CustomSelect as Select, SelectPro, ServicesTexts, SimpleSelect, SocialBlock, SocialBlockMain, TeamWorkerBlock, TextBlock, ThanksBlock, ThanksBlockWithButton, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyDubai, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
1083
+ export { AboutCompanyMain, AboutUsFirstBlock, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreasFull, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockCardContent, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogRealtiesBlock, CategoryCard, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, ExpertiseBlock, FAQ, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FromToInput, FullScreenImage, GalleryBlock, GalleryRealty, Header, _default as HeaderContactButton, HeaderMob, IconButton, Input, JobCard, JoinTeamBlock, type LayoutStore, LegalSupport, LinkOut, List, ListItem, type LocaleSlug, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, ModalContainer, ObjectInfoBlock, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, PaymentPlanBlock, PhoneInput, PopularAreas, Portfolios, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, ReferralProgramFirstBlock, SearchInput, CustomSelect as Select, SelectPro, ServicesTexts, SimpleSelect, SocialBlock, SocialBlockMain, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, ThanksBlockWithButton, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import React__default, { FC, ReactNode, MouseEventHandler, PropsWithChildren, MouseEvent, ReactElement } from 'react';
2
+ import * as react from 'react';
3
+ import react__default, { FC, ReactNode, MouseEventHandler, PropsWithChildren, MouseEvent, ReactElement } from 'react';
4
4
  import { TypographyProps } from '@mui/material/Typography/Typography';
5
5
  import { ButtonProps } from '@mui/material/Button';
6
6
  import { IconButtonProps } from '@mui/material/IconButton/IconButton';
@@ -124,21 +124,21 @@ interface IArticle {
124
124
  }
125
125
 
126
126
  interface IArticlesBlock {
127
- title?: string;
127
+ title: string;
128
128
  classes?: string;
129
129
  button?: boolean;
130
130
  titlePosition?: TitlePosition$1;
131
131
  articles?: IArticle[];
132
132
  }
133
- declare function ArticlesBlock({ title, classes, button, titlePosition, articles, }: IArticlesBlock): react_jsx_runtime.JSX.Element;
133
+ declare function ArticlesBlock({ title, classes, button, articles, }: IArticlesBlock): react_jsx_runtime.JSX.Element;
134
134
 
135
- interface IArticlesFull {
135
+ interface IArticlesFull$1 {
136
136
  classes?: string;
137
137
  title?: string;
138
138
  articles?: IArticle[];
139
139
  totalArticles?: number;
140
140
  }
141
- declare function ArticlesFull({ title, articles, classes, }: IArticlesFull): react_jsx_runtime.JSX.Element;
141
+ declare function ArticlesFull({ title, articles, classes, }: IArticlesFull$1): react_jsx_runtime.JSX.Element;
142
142
 
143
143
  interface IBannerBlock {
144
144
  videoLink?: string;
@@ -169,8 +169,10 @@ interface IBannerReferralProgram {
169
169
  strongText?: string;
170
170
  text?: string;
171
171
  box?: IBoxItem$4[];
172
+ personWidth: string;
173
+ personHeight: string;
172
174
  }
173
- declare function BannerReferralProgram({ classes, box, imgBack, imgPerson, strongText, text, }: IBannerReferralProgram): react_jsx_runtime.JSX.Element;
175
+ declare function BannerReferralProgram({ classes, box, imgBack, imgPerson, strongText, text, personWidth, personHeight, }: IBannerReferralProgram): react_jsx_runtime.JSX.Element;
174
176
 
175
177
  interface IBecomePartnerProps {
176
178
  classes?: string;
@@ -198,12 +200,13 @@ interface IBenefit {
198
200
  text1?: string;
199
201
  text2?: string;
200
202
  }
201
- interface IBenefitsVacanciesBlock {
203
+ interface BenefitsVacanciesBlockProps {
202
204
  title?: string;
203
205
  benefits?: IBenefit[];
204
206
  classes?: string;
207
+ inlineItem?: boolean;
205
208
  }
206
- declare function BenefitsVacanciesBlock({ title, benefits, classes, }: IBenefitsVacanciesBlock): react_jsx_runtime.JSX.Element;
209
+ declare const BenefitsVacanciesBlock: FC<BenefitsVacanciesBlockProps>;
207
210
 
208
211
  interface IComponentItem {
209
212
  text1?: string;
@@ -662,15 +665,16 @@ interface IWhatIsYourProps {
662
665
  }
663
666
  declare function WhatIsYour({ classes, text3, text2, text1, title, }: IWhatIsYourProps): react_jsx_runtime.JSX.Element;
664
667
 
665
- interface IWhyDubaiProps {
668
+ interface TextImageTileBlockProps {
666
669
  classes?: string;
667
670
  title1?: string;
668
671
  title2?: string;
669
672
  text1?: string;
670
673
  text2?: string;
671
674
  images?: string[];
675
+ withButton?: boolean;
672
676
  }
673
- declare function WhyDubai({ classes, title1, title2, text2, text1, }: IWhyDubaiProps): react_jsx_runtime.JSX.Element;
677
+ declare const TextImageTileBlock: FC<TextImageTileBlockProps>;
674
678
 
675
679
  interface IBoxItem {
676
680
  number?: number;
@@ -698,6 +702,61 @@ interface IWhyWe {
698
702
  }
699
703
  declare function WhyWe({ items, title, classes, imageUrl }: IWhyWe): react_jsx_runtime.JSX.Element;
700
704
 
705
+ interface ObjectInfoBlockProps {
706
+ title: string;
707
+ text1: string;
708
+ text2: string;
709
+ properties: {
710
+ title: string;
711
+ desc: string;
712
+ }[];
713
+ classes?: string;
714
+ }
715
+ declare const ObjectInfoBlock: FC<ObjectInfoBlockProps>;
716
+
717
+ interface PaymentPlanBlockProps {
718
+ }
719
+ declare const PaymentPlanBlock: FC<PaymentPlanBlockProps>;
720
+
721
+ interface FloorPlansBlockProps {
722
+ }
723
+ declare const FloorPlansBlock: FC<FloorPlansBlockProps>;
724
+
725
+ interface FullScreenImageProps {
726
+ src: string;
727
+ tags?: string[];
728
+ classes?: string;
729
+ }
730
+ declare const FullScreenImage: FC<FullScreenImageProps>;
731
+
732
+ interface GalleryBlockProps {
733
+ classes?: string;
734
+ images?: string[];
735
+ title?: string;
736
+ }
737
+ declare const GalleryBlock: FC<GalleryBlockProps>;
738
+
739
+ interface ContactDubaiBlockProps {
740
+ classes?: string;
741
+ }
742
+ declare function ContactDubaiBlock({ classes }: ContactDubaiBlockProps): react_jsx_runtime.JSX.Element;
743
+
744
+ interface IArea {
745
+ imageUrl?: string;
746
+ title?: string;
747
+ price?: string;
748
+ slug?: string;
749
+ whiteBottom?: boolean;
750
+ }
751
+
752
+ interface IArticlesFull {
753
+ classes?: string;
754
+ title?: string;
755
+ areas?: IArea[];
756
+ totalAreas?: number;
757
+ }
758
+ declare function AreasFull({ title, areas, classes }: IArticlesFull): react_jsx_runtime.JSX.Element;
759
+
701
760
  type MenuItem = {
702
761
  path: string;
703
762
  title: string;
@@ -728,7 +787,7 @@ interface HeaderContactButtonProps {
728
787
  title: string;
729
788
  homePage: string;
730
789
  }
731
- declare const _default: React.NamedExoticComponent<HeaderContactButtonProps>;
790
+ declare const _default: react.NamedExoticComponent<HeaderContactButtonProps>;
732
791
 
733
792
  declare function Footer({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, }: IFooter): react_jsx_runtime.JSX.Element;
734
793
 
@@ -922,9 +981,9 @@ interface CustomRadioProps {
922
981
  label?: string;
923
982
  value?: string;
924
983
  }
925
- declare const CustomRadio: React__default.FC<CustomRadioProps>;
984
+ declare const CustomRadio: React.FC<CustomRadioProps>;
926
985
 
927
- declare const CustomRadioGroup: React__default.FC<RadioGroupProps & PropsWithChildren>;
986
+ declare const CustomRadioGroup: react__default.FC<RadioGroupProps & PropsWithChildren>;
928
987
 
929
988
  declare const Input: FC<InputProps>;
930
989
 
@@ -1021,4 +1080,4 @@ interface ListItemProps {
1021
1080
  }
1022
1081
  declare const ListItem: FC<ListItemProps>;
1023
1082
 
1024
- export { AboutCompanyMain, AboutUsFirstBlock, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockCardContent, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogRealtiesBlock, CategoryCard, ClientTransferProcess, ContactUsBlock, ExpertiseBlock, FAQ, Footer, Footer2, FormBlock, FormInput, FromToInput, GalleryRealty, Header, _default as HeaderContactButton, HeaderMob, IconButton, Input, JobCard, JoinTeamBlock, type LayoutStore, LegalSupport, LinkOut, List, ListItem, type LocaleSlug, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, ModalContainer, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, PhoneInput, PopularAreas, Portfolios, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, ReferralProgramFirstBlock, SearchInput, CustomSelect as Select, SelectPro, ServicesTexts, SimpleSelect, SocialBlock, SocialBlockMain, TeamWorkerBlock, TextBlock, ThanksBlock, ThanksBlockWithButton, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyDubai, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
1083
+ export { AboutCompanyMain, AboutUsFirstBlock, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreasFull, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockCardContent, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogRealtiesBlock, CategoryCard, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, ExpertiseBlock, FAQ, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FromToInput, FullScreenImage, GalleryBlock, GalleryRealty, Header, _default as HeaderContactButton, HeaderMob, IconButton, Input, JobCard, JoinTeamBlock, type LayoutStore, LegalSupport, LinkOut, List, ListItem, type LocaleSlug, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, ModalContainer, ObjectInfoBlock, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, PaymentPlanBlock, PhoneInput, PopularAreas, Portfolios, CustomRadio as Radio, CustomRadioGroup as RadioGroup, RealtorCard, RealtyCard, ReferralProgramFirstBlock, SearchInput, CustomSelect as Select, SelectPro, ServicesTexts, SimpleSelect, SocialBlock, SocialBlockMain, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, ThanksBlockWithButton, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };