mayak-common-library 0.0.329 → 0.0.330

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
@@ -47,7 +47,7 @@ type BreadCrumbsItem = {
47
47
  path: string;
48
48
  };
49
49
 
50
- interface IWorker$2 {
50
+ interface IWorker$1 {
51
51
  imageUrl?: string;
52
52
  description?: string;
53
53
  firstName?: string;
@@ -76,7 +76,7 @@ interface IAboutCompanyMain {
76
76
  text1?: string;
77
77
  text2?: string;
78
78
  box?: IBoxItem$6[];
79
- workerCeo?: IWorker$2;
79
+ workerCeo?: IWorker$1;
80
80
  classes?: string;
81
81
  site?: Site;
82
82
  actionButton?: ReactNode;
@@ -130,7 +130,7 @@ interface IAnyLevelBlock {
130
130
  declare function AnyLevelBlock({ block1, block2, classes, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
131
131
 
132
132
  interface AnyQuestionsBlockProps {
133
- worker?: IWorker$2;
133
+ worker?: IWorker$1;
134
134
  classes?: string;
135
135
  title?: string;
136
136
  }
@@ -308,7 +308,7 @@ interface BlockImagesProps {
308
308
  }
309
309
  declare function BlockImages({ classes, images, title, }: BlockImagesProps): react_jsx_runtime.JSX.Element;
310
310
 
311
- interface IWorker$1 {
311
+ interface IWorker {
312
312
  imageUrl?: string;
313
313
  description?: string;
314
314
  firstName?: string;
@@ -325,7 +325,7 @@ interface IWorker$1 {
325
325
  interface IBlockOurTeam {
326
326
  title?: string;
327
327
  text?: string;
328
- team?: IWorker$1[];
328
+ team?: IWorker[];
329
329
  classes?: string;
330
330
  full?: boolean;
331
331
  }
@@ -1426,54 +1426,6 @@ interface HProps extends PropsWithChildren {
1426
1426
  leftXs?: boolean;
1427
1427
  bold?: boolean;
1428
1428
  }
1429
- interface IWorker {
1430
- imageUrl?: string;
1431
- description?: string;
1432
- firstName?: string;
1433
- lastName?: string;
1434
- fullName?: string;
1435
- position?: string;
1436
- instagram?: string;
1437
- facebook?: string;
1438
- youTube?: string;
1439
- linkedIn?: string;
1440
- phone?: string;
1441
- email?: string;
1442
- }
1443
- interface IRealty {
1444
- images?: Array<string | null>;
1445
- dealId?: number;
1446
- price?: string;
1447
- district?: string;
1448
- metro?: string[];
1449
- address?: string;
1450
- id?: number;
1451
- houseNumber?: string;
1452
- city?: string;
1453
- cityCrmId?: number;
1454
- residentialComplexName?: string;
1455
- rooms?: string;
1456
- areaTotal?: string;
1457
- areaLand?: string;
1458
- areaLiving?: string;
1459
- areaKitchen?: string;
1460
- floor?: string;
1461
- totalFloors?: string;
1462
- slug?: string;
1463
- title?: string;
1464
- description?: string;
1465
- realtor?: IWorker;
1466
- borough?: string;
1467
- region?: string;
1468
- crmId?: string;
1469
- article?: number;
1470
- studio?: boolean;
1471
- realtyType?: {
1472
- machineName?: string;
1473
- value?: string;
1474
- };
1475
- repair?: string;
1476
- }
1477
1429
 
1478
1430
  declare const H1: FC<HProps>;
1479
1431
 
@@ -1532,7 +1484,7 @@ interface ITeamPersonCard {
1532
1484
  declare function TeamPersonCard({ image_url, name, position, text, }: ITeamPersonCard): react_jsx_runtime.JSX.Element;
1533
1485
 
1534
1486
  interface IRealtorCard {
1535
- realtor?: IWorker$2;
1487
+ realtor?: IWorker$1;
1536
1488
  site: Site;
1537
1489
  actionComponent?: ReactNode;
1538
1490
  }
@@ -1545,13 +1497,40 @@ interface CategoryCardProps {
1545
1497
  }
1546
1498
  declare function CategoryCard({ link, title, image_url, }: CategoryCardProps): react_jsx_runtime.JSX.Element;
1547
1499
 
1548
- interface IRealtyCard extends IRealty {
1549
- classes?: string;
1550
- titleClasses?: string;
1500
+ interface DetailsProps {
1501
+ studio?: boolean;
1502
+ rooms?: string;
1503
+ areaTotal?: string;
1504
+ areaLand?: string;
1505
+ floor?: string;
1506
+ totalFloors?: string;
1507
+ realtyType?: {
1508
+ machineName?: string;
1509
+ value?: string;
1510
+ };
1511
+ houseTypes?: string[];
1512
+ }
1513
+
1514
+ interface RealtyCardProps {
1515
+ images?: Array<string | null>;
1516
+ address?: string;
1517
+ addressWithIcon?: boolean;
1518
+ metro?: string[];
1551
1519
  href: string;
1552
1520
  mainCityCrmId: number;
1553
1521
  tags: string[];
1522
+ details: DetailsProps;
1523
+ classes?: string;
1524
+ titleClasses?: string;
1525
+ title?: string;
1526
+ subTitle?: string;
1527
+ slug?: string;
1528
+ realtyForRent?: boolean;
1529
+ newRealty?: {
1530
+ priceFrom: string;
1531
+ developer: string;
1532
+ };
1554
1533
  }
1555
- declare function RealtyCard({ classes, titleClasses, images, address, district, metro, price, dealId, houseNumber, residentialComplexName, areaTotal, totalFloors, floor, city, rooms, slug, borough, region, cityCrmId, areaLand, realtyType, title, href, mainCityCrmId, studio, tags, }: IRealtyCard): react_jsx_runtime.JSX.Element;
1534
+ declare function RealtyCard({ classes, titleClasses, images, address, addressWithIcon, metro, realtyForRent, title, subTitle, slug, href, tags, details, newRealty, }: RealtyCardProps): react_jsx_runtime.JSX.Element;
1556
1535
 
1557
1536
  export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreaCard, AreasFull, AreasSlider, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, BreadCrumbs, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogCategoriesBlock, CatalogContainer, CatalogNewProjects, CatalogViewSwitch, CategoryCard, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, DevelopersFull, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, Gallery, 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, NewProjectCard, NumberInput, ObjectInfoBlock, ObjectProperties, ObjectPropertyChip, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyCard, ReferralProgramFirstBlock, SearchInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamPersonCard, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, TwoTextColumn as TwoTextColumnBlock, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -47,7 +47,7 @@ type BreadCrumbsItem = {
47
47
  path: string;
48
48
  };
49
49
 
50
- interface IWorker$2 {
50
+ interface IWorker$1 {
51
51
  imageUrl?: string;
52
52
  description?: string;
53
53
  firstName?: string;
@@ -76,7 +76,7 @@ interface IAboutCompanyMain {
76
76
  text1?: string;
77
77
  text2?: string;
78
78
  box?: IBoxItem$6[];
79
- workerCeo?: IWorker$2;
79
+ workerCeo?: IWorker$1;
80
80
  classes?: string;
81
81
  site?: Site;
82
82
  actionButton?: ReactNode;
@@ -130,7 +130,7 @@ interface IAnyLevelBlock {
130
130
  declare function AnyLevelBlock({ block1, block2, classes, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
131
131
 
132
132
  interface AnyQuestionsBlockProps {
133
- worker?: IWorker$2;
133
+ worker?: IWorker$1;
134
134
  classes?: string;
135
135
  title?: string;
136
136
  }
@@ -308,7 +308,7 @@ interface BlockImagesProps {
308
308
  }
309
309
  declare function BlockImages({ classes, images, title, }: BlockImagesProps): react_jsx_runtime.JSX.Element;
310
310
 
311
- interface IWorker$1 {
311
+ interface IWorker {
312
312
  imageUrl?: string;
313
313
  description?: string;
314
314
  firstName?: string;
@@ -325,7 +325,7 @@ interface IWorker$1 {
325
325
  interface IBlockOurTeam {
326
326
  title?: string;
327
327
  text?: string;
328
- team?: IWorker$1[];
328
+ team?: IWorker[];
329
329
  classes?: string;
330
330
  full?: boolean;
331
331
  }
@@ -1426,54 +1426,6 @@ interface HProps extends PropsWithChildren {
1426
1426
  leftXs?: boolean;
1427
1427
  bold?: boolean;
1428
1428
  }
1429
- interface IWorker {
1430
- imageUrl?: string;
1431
- description?: string;
1432
- firstName?: string;
1433
- lastName?: string;
1434
- fullName?: string;
1435
- position?: string;
1436
- instagram?: string;
1437
- facebook?: string;
1438
- youTube?: string;
1439
- linkedIn?: string;
1440
- phone?: string;
1441
- email?: string;
1442
- }
1443
- interface IRealty {
1444
- images?: Array<string | null>;
1445
- dealId?: number;
1446
- price?: string;
1447
- district?: string;
1448
- metro?: string[];
1449
- address?: string;
1450
- id?: number;
1451
- houseNumber?: string;
1452
- city?: string;
1453
- cityCrmId?: number;
1454
- residentialComplexName?: string;
1455
- rooms?: string;
1456
- areaTotal?: string;
1457
- areaLand?: string;
1458
- areaLiving?: string;
1459
- areaKitchen?: string;
1460
- floor?: string;
1461
- totalFloors?: string;
1462
- slug?: string;
1463
- title?: string;
1464
- description?: string;
1465
- realtor?: IWorker;
1466
- borough?: string;
1467
- region?: string;
1468
- crmId?: string;
1469
- article?: number;
1470
- studio?: boolean;
1471
- realtyType?: {
1472
- machineName?: string;
1473
- value?: string;
1474
- };
1475
- repair?: string;
1476
- }
1477
1429
 
1478
1430
  declare const H1: FC<HProps>;
1479
1431
 
@@ -1532,7 +1484,7 @@ interface ITeamPersonCard {
1532
1484
  declare function TeamPersonCard({ image_url, name, position, text, }: ITeamPersonCard): react_jsx_runtime.JSX.Element;
1533
1485
 
1534
1486
  interface IRealtorCard {
1535
- realtor?: IWorker$2;
1487
+ realtor?: IWorker$1;
1536
1488
  site: Site;
1537
1489
  actionComponent?: ReactNode;
1538
1490
  }
@@ -1545,13 +1497,40 @@ interface CategoryCardProps {
1545
1497
  }
1546
1498
  declare function CategoryCard({ link, title, image_url, }: CategoryCardProps): react_jsx_runtime.JSX.Element;
1547
1499
 
1548
- interface IRealtyCard extends IRealty {
1549
- classes?: string;
1550
- titleClasses?: string;
1500
+ interface DetailsProps {
1501
+ studio?: boolean;
1502
+ rooms?: string;
1503
+ areaTotal?: string;
1504
+ areaLand?: string;
1505
+ floor?: string;
1506
+ totalFloors?: string;
1507
+ realtyType?: {
1508
+ machineName?: string;
1509
+ value?: string;
1510
+ };
1511
+ houseTypes?: string[];
1512
+ }
1513
+
1514
+ interface RealtyCardProps {
1515
+ images?: Array<string | null>;
1516
+ address?: string;
1517
+ addressWithIcon?: boolean;
1518
+ metro?: string[];
1551
1519
  href: string;
1552
1520
  mainCityCrmId: number;
1553
1521
  tags: string[];
1522
+ details: DetailsProps;
1523
+ classes?: string;
1524
+ titleClasses?: string;
1525
+ title?: string;
1526
+ subTitle?: string;
1527
+ slug?: string;
1528
+ realtyForRent?: boolean;
1529
+ newRealty?: {
1530
+ priceFrom: string;
1531
+ developer: string;
1532
+ };
1554
1533
  }
1555
- declare function RealtyCard({ classes, titleClasses, images, address, district, metro, price, dealId, houseNumber, residentialComplexName, areaTotal, totalFloors, floor, city, rooms, slug, borough, region, cityCrmId, areaLand, realtyType, title, href, mainCityCrmId, studio, tags, }: IRealtyCard): react_jsx_runtime.JSX.Element;
1534
+ declare function RealtyCard({ classes, titleClasses, images, address, addressWithIcon, metro, realtyForRent, title, subTitle, slug, href, tags, details, newRealty, }: RealtyCardProps): react_jsx_runtime.JSX.Element;
1556
1535
 
1557
1536
  export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreaCard, AreasFull, AreasSlider, ArticleCard, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, BreadCrumbs, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogCategoriesBlock, CatalogContainer, CatalogNewProjects, CatalogViewSwitch, CategoryCard, Chip, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, DevelopersFull, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, Gallery, 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, NewProjectCard, NumberInput, ObjectInfoBlock, ObjectProperties, ObjectPropertyChip, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, RealtorCard, RealtyCard, ReferralProgramFirstBlock, SearchInput, Select, ServicesFull, ServicesTexts, SimpleSelect, SingleSlider, SliderContainer, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamPersonCard, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, TwoTextColumn as TwoTextColumnBlock, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };