mayak-common-library 0.0.163 → 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;
@@ -200,12 +200,13 @@ interface IBenefit {
200
200
  text1?: string;
201
201
  text2?: string;
202
202
  }
203
- interface IBenefitsVacanciesBlock {
203
+ interface BenefitsVacanciesBlockProps {
204
204
  title?: string;
205
205
  benefits?: IBenefit[];
206
206
  classes?: string;
207
+ inlineItem?: boolean;
207
208
  }
208
- declare function BenefitsVacanciesBlock({ title, benefits, classes, }: IBenefitsVacanciesBlock): react_jsx_runtime.JSX.Element;
209
+ declare const BenefitsVacanciesBlock: FC<BenefitsVacanciesBlockProps>;
209
210
 
210
211
  interface IComponentItem {
211
212
  text1?: string;
@@ -664,15 +665,16 @@ interface IWhatIsYourProps {
664
665
  }
665
666
  declare function WhatIsYour({ classes, text3, text2, text1, title, }: IWhatIsYourProps): react_jsx_runtime.JSX.Element;
666
667
 
667
- interface IWhyDubaiProps {
668
+ interface TextImageTileBlockProps {
668
669
  classes?: string;
669
670
  title1?: string;
670
671
  title2?: string;
671
672
  text1?: string;
672
673
  text2?: string;
673
674
  images?: string[];
675
+ withButton?: boolean;
674
676
  }
675
- declare function WhyDubai({ classes, title1, title2, text2, text1, }: IWhyDubaiProps): react_jsx_runtime.JSX.Element;
677
+ declare const TextImageTileBlock: FC<TextImageTileBlockProps>;
676
678
 
677
679
  interface IBoxItem {
678
680
  number?: number;
@@ -700,6 +702,61 @@ interface IWhyWe {
700
702
  }
701
703
  declare function WhyWe({ items, title, classes, imageUrl }: IWhyWe): react_jsx_runtime.JSX.Element;
702
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
+
703
760
  type MenuItem = {
704
761
  path: string;
705
762
  title: string;
@@ -730,7 +787,7 @@ interface HeaderContactButtonProps {
730
787
  title: string;
731
788
  homePage: string;
732
789
  }
733
- declare const _default: React.NamedExoticComponent<HeaderContactButtonProps>;
790
+ declare const _default: react.NamedExoticComponent<HeaderContactButtonProps>;
734
791
 
735
792
  declare function Footer({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, }: IFooter): react_jsx_runtime.JSX.Element;
736
793
 
@@ -924,9 +981,9 @@ interface CustomRadioProps {
924
981
  label?: string;
925
982
  value?: string;
926
983
  }
927
- declare const CustomRadio: React__default.FC<CustomRadioProps>;
984
+ declare const CustomRadio: React.FC<CustomRadioProps>;
928
985
 
929
- declare const CustomRadioGroup: React__default.FC<RadioGroupProps & PropsWithChildren>;
986
+ declare const CustomRadioGroup: react__default.FC<RadioGroupProps & PropsWithChildren>;
930
987
 
931
988
  declare const Input: FC<InputProps>;
932
989
 
@@ -1023,4 +1080,4 @@ interface ListItemProps {
1023
1080
  }
1024
1081
  declare const ListItem: FC<ListItemProps>;
1025
1082
 
1026
- 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;
@@ -200,12 +200,13 @@ interface IBenefit {
200
200
  text1?: string;
201
201
  text2?: string;
202
202
  }
203
- interface IBenefitsVacanciesBlock {
203
+ interface BenefitsVacanciesBlockProps {
204
204
  title?: string;
205
205
  benefits?: IBenefit[];
206
206
  classes?: string;
207
+ inlineItem?: boolean;
207
208
  }
208
- declare function BenefitsVacanciesBlock({ title, benefits, classes, }: IBenefitsVacanciesBlock): react_jsx_runtime.JSX.Element;
209
+ declare const BenefitsVacanciesBlock: FC<BenefitsVacanciesBlockProps>;
209
210
 
210
211
  interface IComponentItem {
211
212
  text1?: string;
@@ -664,15 +665,16 @@ interface IWhatIsYourProps {
664
665
  }
665
666
  declare function WhatIsYour({ classes, text3, text2, text1, title, }: IWhatIsYourProps): react_jsx_runtime.JSX.Element;
666
667
 
667
- interface IWhyDubaiProps {
668
+ interface TextImageTileBlockProps {
668
669
  classes?: string;
669
670
  title1?: string;
670
671
  title2?: string;
671
672
  text1?: string;
672
673
  text2?: string;
673
674
  images?: string[];
675
+ withButton?: boolean;
674
676
  }
675
- declare function WhyDubai({ classes, title1, title2, text2, text1, }: IWhyDubaiProps): react_jsx_runtime.JSX.Element;
677
+ declare const TextImageTileBlock: FC<TextImageTileBlockProps>;
676
678
 
677
679
  interface IBoxItem {
678
680
  number?: number;
@@ -700,6 +702,61 @@ interface IWhyWe {
700
702
  }
701
703
  declare function WhyWe({ items, title, classes, imageUrl }: IWhyWe): react_jsx_runtime.JSX.Element;
702
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
+
703
760
  type MenuItem = {
704
761
  path: string;
705
762
  title: string;
@@ -730,7 +787,7 @@ interface HeaderContactButtonProps {
730
787
  title: string;
731
788
  homePage: string;
732
789
  }
733
- declare const _default: React.NamedExoticComponent<HeaderContactButtonProps>;
790
+ declare const _default: react.NamedExoticComponent<HeaderContactButtonProps>;
734
791
 
735
792
  declare function Footer({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, homePage, }: IFooter): react_jsx_runtime.JSX.Element;
736
793
 
@@ -924,9 +981,9 @@ interface CustomRadioProps {
924
981
  label?: string;
925
982
  value?: string;
926
983
  }
927
- declare const CustomRadio: React__default.FC<CustomRadioProps>;
984
+ declare const CustomRadio: React.FC<CustomRadioProps>;
928
985
 
929
- declare const CustomRadioGroup: React__default.FC<RadioGroupProps & PropsWithChildren>;
986
+ declare const CustomRadioGroup: react__default.FC<RadioGroupProps & PropsWithChildren>;
930
987
 
931
988
  declare const Input: FC<InputProps>;
932
989
 
@@ -1023,4 +1080,4 @@ interface ListItemProps {
1023
1080
  }
1024
1081
  declare const ListItem: FC<ListItemProps>;
1025
1082
 
1026
- 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 };