mayak-common-library 0.0.218 → 0.0.220

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
2
  import * as react from 'react';
3
- import { FC, ReactNode, PropsWithChildren, MouseEventHandler, MouseEvent, ReactElement } from 'react';
3
+ import { FC, PropsWithChildren, ReactNode, MouseEventHandler, MouseEvent, ReactElement } from 'react';
4
4
  import { TypographyProps } from '@mui/material/Typography/Typography';
5
5
  import * as zustand from 'zustand';
6
6
  import { StateCreator } from 'zustand';
@@ -123,15 +123,12 @@ interface IAnyLevelBlock {
123
123
  }
124
124
  declare function AnyLevelBlock({ block1, block2, classes, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
125
125
 
126
- interface IAnyQuestionsBlock {
126
+ interface AnyQuestionsBlockProps {
127
127
  worker?: IWorker$1;
128
128
  classes?: string;
129
129
  title?: string;
130
- formatPhone: string;
131
- placeholderPhone: string;
132
- codePhone: string;
133
130
  }
134
- declare function AnyQuestionsBlock({ worker, classes, title, formatPhone, placeholderPhone, codePhone, }: IAnyQuestionsBlock): react_jsx_runtime.JSX.Element;
131
+ declare const AnyQuestionsBlock: FC<PropsWithChildren & AnyQuestionsBlockProps>;
135
132
 
136
133
  interface IArticleContent {
137
134
  title?: string;
@@ -1285,6 +1282,10 @@ interface SearchInputProps {
1285
1282
  }
1286
1283
  declare const SearchInput: <T extends FieldValues>(props: SearchInputProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
1287
1284
 
1285
+ declare const FormInput: FC<InputProps & {
1286
+ name: string;
1287
+ }>;
1288
+
1288
1289
  declare const StyledAccordion: FC<AccordionProps & {
1289
1290
  isFirst: boolean;
1290
1291
  }>;
@@ -1344,4 +1345,4 @@ interface ISliderObject {
1344
1345
  }
1345
1346
  declare const SliderObject: ({ images }: ISliderObject) => react_jsx_runtime.JSX.Element;
1346
1347
 
1347
- export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreasFull, AreasSlider, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogNewProjects, CatalogRealtiesBlock, CatalogViewSwitch, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, Developers, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FloorPlansBlock, Footer, Footer2, FormBlock, FullScreenImage, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, ImageAndTextBlock, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkIconBorder, LinkOut, List, ListItem, type LocaleSlug, LocaleSwitch, LocaleSwitchToggle, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, ObjectInfoBlock, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, ReferralProgramFirstBlock, SearchInput, Select, ServicesTexts, SimpleSelect, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
1348
+ export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreasFull, AreasSlider, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogNewProjects, CatalogRealtiesBlock, CatalogViewSwitch, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, Developers, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, ImageAndTextBlock, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkIconBorder, LinkOut, List, ListItem, type LocaleSlug, LocaleSwitch, LocaleSwitchToggle, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, ObjectInfoBlock, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, ReferralProgramFirstBlock, SearchInput, Select, ServicesTexts, SimpleSelect, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, 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
2
  import * as react from 'react';
3
- import { FC, ReactNode, PropsWithChildren, MouseEventHandler, MouseEvent, ReactElement } from 'react';
3
+ import { FC, PropsWithChildren, ReactNode, MouseEventHandler, MouseEvent, ReactElement } from 'react';
4
4
  import { TypographyProps } from '@mui/material/Typography/Typography';
5
5
  import * as zustand from 'zustand';
6
6
  import { StateCreator } from 'zustand';
@@ -123,15 +123,12 @@ interface IAnyLevelBlock {
123
123
  }
124
124
  declare function AnyLevelBlock({ block1, block2, classes, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
125
125
 
126
- interface IAnyQuestionsBlock {
126
+ interface AnyQuestionsBlockProps {
127
127
  worker?: IWorker$1;
128
128
  classes?: string;
129
129
  title?: string;
130
- formatPhone: string;
131
- placeholderPhone: string;
132
- codePhone: string;
133
130
  }
134
- declare function AnyQuestionsBlock({ worker, classes, title, formatPhone, placeholderPhone, codePhone, }: IAnyQuestionsBlock): react_jsx_runtime.JSX.Element;
131
+ declare const AnyQuestionsBlock: FC<PropsWithChildren & AnyQuestionsBlockProps>;
135
132
 
136
133
  interface IArticleContent {
137
134
  title?: string;
@@ -1285,6 +1282,10 @@ interface SearchInputProps {
1285
1282
  }
1286
1283
  declare const SearchInput: <T extends FieldValues>(props: SearchInputProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
1287
1284
 
1285
+ declare const FormInput: FC<InputProps & {
1286
+ name: string;
1287
+ }>;
1288
+
1288
1289
  declare const StyledAccordion: FC<AccordionProps & {
1289
1290
  isFirst: boolean;
1290
1291
  }>;
@@ -1344,4 +1345,4 @@ interface ISliderObject {
1344
1345
  }
1345
1346
  declare const SliderObject: ({ images }: ISliderObject) => react_jsx_runtime.JSX.Element;
1346
1347
 
1347
- export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreasFull, AreasSlider, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogNewProjects, CatalogRealtiesBlock, CatalogViewSwitch, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, Developers, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FloorPlansBlock, Footer, Footer2, FormBlock, FullScreenImage, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, ImageAndTextBlock, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkIconBorder, LinkOut, List, ListItem, type LocaleSlug, LocaleSwitch, LocaleSwitchToggle, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, ObjectInfoBlock, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, ReferralProgramFirstBlock, SearchInput, Select, ServicesTexts, SimpleSelect, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
1348
+ export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreasFull, AreasSlider, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogNewProjects, CatalogRealtiesBlock, CatalogViewSwitch, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, Developers, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, ImageAndTextBlock, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkIconBorder, LinkOut, List, ListItem, type LocaleSlug, LocaleSwitch, LocaleSwitchToggle, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, ObjectInfoBlock, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, ReferralProgramFirstBlock, SearchInput, Select, ServicesTexts, SimpleSelect, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };