mayak-common-library 0.2.19 → 0.2.21
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.cjs +4 -4
- package/dist/index.d.cts +108 -109
- package/dist/index.d.ts +108 -109
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/styles/globals.scss +0 -8
package/dist/index.d.cts
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 { PropsWithChildren, ReactNode,
|
|
3
|
+
import { PropsWithChildren, ReactNode, ReactElement, MouseEventHandler, MouseEvent, FC, ButtonHTMLAttributes, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
4
4
|
import { Document } from '@contentful/rich-text-types';
|
|
5
5
|
import * as zustand from 'zustand';
|
|
6
6
|
import { StateCreator } from 'zustand';
|
|
@@ -113,7 +113,7 @@ interface AmenitiesBlockProps {
|
|
|
113
113
|
title?: string;
|
|
114
114
|
box?: IBoxItem$4[];
|
|
115
115
|
}
|
|
116
|
-
declare const AmenitiesBlock:
|
|
116
|
+
declare const AmenitiesBlock: ({ className, box, title }: AmenitiesBlockProps) => react_jsx_runtime.JSX.Element;
|
|
117
117
|
|
|
118
118
|
interface IAnyLevelBlock {
|
|
119
119
|
block1: {
|
|
@@ -135,7 +135,7 @@ interface AnyQuestionsBlockProps {
|
|
|
135
135
|
className?: string;
|
|
136
136
|
title?: string;
|
|
137
137
|
}
|
|
138
|
-
declare const AnyQuestionsBlock:
|
|
138
|
+
declare const AnyQuestionsBlock: (props: PropsWithChildren & AnyQuestionsBlockProps) => react_jsx_runtime.JSX.Element;
|
|
139
139
|
|
|
140
140
|
interface IArticleContent {
|
|
141
141
|
title?: string;
|
|
@@ -169,7 +169,7 @@ interface BannerBlock2Props {
|
|
|
169
169
|
text2?: string;
|
|
170
170
|
className?: string;
|
|
171
171
|
}
|
|
172
|
-
declare const BannerBlock2:
|
|
172
|
+
declare const BannerBlock2: ({ image_url, bigText, text1, text2, className, }: BannerBlock2Props) => react_jsx_runtime.JSX.Element;
|
|
173
173
|
|
|
174
174
|
interface IBoxItem$3 {
|
|
175
175
|
text1?: string;
|
|
@@ -186,7 +186,7 @@ interface BannerReferralProgramProps {
|
|
|
186
186
|
personWidth: string;
|
|
187
187
|
personHeight: string;
|
|
188
188
|
}
|
|
189
|
-
declare const BannerReferralProgram:
|
|
189
|
+
declare const BannerReferralProgram: ({ className, box, imgBack, imgPerson, strongText, text, personWidth, personHeight, }: BannerReferralProgramProps) => react_jsx_runtime.JSX.Element;
|
|
190
190
|
|
|
191
191
|
interface BecomePartnerProps {
|
|
192
192
|
className?: string;
|
|
@@ -195,7 +195,7 @@ interface BecomePartnerProps {
|
|
|
195
195
|
text2?: string;
|
|
196
196
|
img?: string;
|
|
197
197
|
}
|
|
198
|
-
declare const BecomePartner:
|
|
198
|
+
declare const BecomePartner: ({ className, title, text2, text1, }: BecomePartnerProps) => react_jsx_runtime.JSX.Element;
|
|
199
199
|
|
|
200
200
|
interface IBenefit$1 {
|
|
201
201
|
imageUrl?: string;
|
|
@@ -222,7 +222,7 @@ interface BenefitsVacanciesBlockProps {
|
|
|
222
222
|
className?: string;
|
|
223
223
|
inlineItem?: boolean;
|
|
224
224
|
}
|
|
225
|
-
declare const BenefitsVacanciesBlock:
|
|
225
|
+
declare const BenefitsVacanciesBlock: ({ title, benefits, className, inlineItem, }: BenefitsVacanciesBlockProps) => react_jsx_runtime.JSX.Element;
|
|
226
226
|
|
|
227
227
|
interface IComponentItem {
|
|
228
228
|
text1?: string;
|
|
@@ -240,7 +240,7 @@ interface BlockAboutCareerProps {
|
|
|
240
240
|
className?: string;
|
|
241
241
|
videoLink?: string;
|
|
242
242
|
}
|
|
243
|
-
declare const BlockAboutCareer:
|
|
243
|
+
declare const BlockAboutCareer: ({ title, className, videoLink, }: BlockAboutCareerProps) => react_jsx_runtime.JSX.Element;
|
|
244
244
|
|
|
245
245
|
interface BlockContactsProps extends PropsWithChildren {
|
|
246
246
|
className?: string;
|
|
@@ -278,14 +278,14 @@ interface CallConsultProps {
|
|
|
278
278
|
className?: string;
|
|
279
279
|
title?: string;
|
|
280
280
|
}
|
|
281
|
-
declare const CallConsult:
|
|
281
|
+
declare const CallConsult: ({ className, title }: CallConsultProps) => react_jsx_runtime.JSX.Element;
|
|
282
282
|
|
|
283
283
|
interface CatalogCategoriesBlockProps {
|
|
284
284
|
title?: string;
|
|
285
285
|
categories?: ReactNode[];
|
|
286
286
|
className?: string;
|
|
287
287
|
}
|
|
288
|
-
declare const CatalogCategoriesBlock:
|
|
288
|
+
declare const CatalogCategoriesBlock: ({ title, categories, className, }: CatalogCategoriesBlockProps) => react_jsx_runtime.JSX.Element;
|
|
289
289
|
|
|
290
290
|
interface IBoxItem$2 {
|
|
291
291
|
label?: string;
|
|
@@ -299,7 +299,7 @@ interface ClientTransferProcessProps {
|
|
|
299
299
|
box?: IBoxItem$2[];
|
|
300
300
|
actionComponent?: ReactNode;
|
|
301
301
|
}
|
|
302
|
-
declare const ClientTransferProcess:
|
|
302
|
+
declare const ClientTransferProcess: ({ className, box, title, text, actionComponent, }: ClientTransferProcessProps) => react_jsx_runtime.JSX.Element;
|
|
303
303
|
|
|
304
304
|
interface IContactUsBlock {
|
|
305
305
|
className?: string;
|
|
@@ -324,7 +324,7 @@ interface ExpertiseBlockProps {
|
|
|
324
324
|
};
|
|
325
325
|
className?: string;
|
|
326
326
|
}
|
|
327
|
-
declare const ExpertiseBlock:
|
|
327
|
+
declare const ExpertiseBlock: ({ block1, block2, className }: ExpertiseBlockProps) => react_jsx_runtime.JSX.Element;
|
|
328
328
|
|
|
329
329
|
interface IFAQProps {
|
|
330
330
|
className?: string;
|
|
@@ -346,7 +346,7 @@ interface GalleryProps {
|
|
|
346
346
|
alt: string;
|
|
347
347
|
site: Site;
|
|
348
348
|
}
|
|
349
|
-
declare const Gallery:
|
|
349
|
+
declare const Gallery: ({ images, alt, site, imagePlaceholders }: GalleryProps) => react_jsx_runtime.JSX.Element;
|
|
350
350
|
|
|
351
351
|
interface JoinTeamBlockProps {
|
|
352
352
|
imageUrl?: string;
|
|
@@ -354,7 +354,7 @@ interface JoinTeamBlockProps {
|
|
|
354
354
|
className?: string;
|
|
355
355
|
text?: string;
|
|
356
356
|
}
|
|
357
|
-
declare const JoinTeamBlock:
|
|
357
|
+
declare const JoinTeamBlock: ({ imageUrl, text, title, className, }: JoinTeamBlockProps) => react_jsx_runtime.JSX.Element;
|
|
358
358
|
|
|
359
359
|
interface IItem$2 {
|
|
360
360
|
text1?: string;
|
|
@@ -367,7 +367,7 @@ interface LegalSupportProps {
|
|
|
367
367
|
items?: IItem$2[];
|
|
368
368
|
className?: string;
|
|
369
369
|
}
|
|
370
|
-
declare const LegalSupport:
|
|
370
|
+
declare const LegalSupport: ({ title2, title, items, text, imageUrl, className, }: LegalSupportProps) => react_jsx_runtime.JSX.Element;
|
|
371
371
|
|
|
372
372
|
interface IOfficeItem {
|
|
373
373
|
phone?: string;
|
|
@@ -428,7 +428,7 @@ interface OurAdvantagesProps {
|
|
|
428
428
|
images?: string[];
|
|
429
429
|
block?: IBlock;
|
|
430
430
|
}
|
|
431
|
-
declare const OurAdvantages:
|
|
431
|
+
declare const OurAdvantages: ({ className, block, title, text2, text1, images, }: OurAdvantagesProps) => react_jsx_runtime.JSX.Element;
|
|
432
432
|
|
|
433
433
|
interface IOurServicesItem {
|
|
434
434
|
text1?: string;
|
|
@@ -439,7 +439,7 @@ interface OurServicesProps {
|
|
|
439
439
|
items?: IOurServicesItem[];
|
|
440
440
|
title?: string;
|
|
441
441
|
}
|
|
442
|
-
declare const OurServices:
|
|
442
|
+
declare const OurServices: ({ title, items, className }: OurServicesProps) => react_jsx_runtime.JSX.Element;
|
|
443
443
|
|
|
444
444
|
interface PopularAreasProps {
|
|
445
445
|
className?: string;
|
|
@@ -453,7 +453,7 @@ interface PopularAreasProps {
|
|
|
453
453
|
}
|
|
454
454
|
declare const PopularAreas: ({ className, items, title, actionComponent, }: PopularAreasProps) => react_jsx_runtime.JSX.Element;
|
|
455
455
|
|
|
456
|
-
declare const ObjectProperties:
|
|
456
|
+
declare const ObjectProperties: ({ children }: PropsWithChildren) => react_jsx_runtime.JSX.Element;
|
|
457
457
|
|
|
458
458
|
interface IItem$1 {
|
|
459
459
|
img?: string | null;
|
|
@@ -498,7 +498,7 @@ interface ReferralProgramFirstBlockProps {
|
|
|
498
498
|
className?: string;
|
|
499
499
|
actionComponent?: ReactNode;
|
|
500
500
|
}
|
|
501
|
-
declare const ReferralProgramFirstBlock:
|
|
501
|
+
declare const ReferralProgramFirstBlock: ({ title, box, text1, className, subtitle, text2, actionComponent, }: ReferralProgramFirstBlockProps) => react_jsx_runtime.JSX.Element;
|
|
502
502
|
|
|
503
503
|
interface IServicesTexts {
|
|
504
504
|
title?: string;
|
|
@@ -517,7 +517,7 @@ interface SocialBlockProps {
|
|
|
517
517
|
whatsapp?: string;
|
|
518
518
|
telegram?: string;
|
|
519
519
|
}
|
|
520
|
-
declare const SocialBlock:
|
|
520
|
+
declare const SocialBlock: ({ className, telegram, whatsapp, instagram, }: SocialBlockProps) => react_jsx_runtime.JSX.Element;
|
|
521
521
|
|
|
522
522
|
interface SocialBlockMainProps {
|
|
523
523
|
className?: string;
|
|
@@ -526,7 +526,7 @@ interface SocialBlockMainProps {
|
|
|
526
526
|
youtube?: string;
|
|
527
527
|
linkedIn?: string;
|
|
528
528
|
}
|
|
529
|
-
declare const SocialBlockMain:
|
|
529
|
+
declare const SocialBlockMain: ({ className, instagram, facebook, youtube, }: SocialBlockMainProps) => react_jsx_runtime.JSX.Element;
|
|
530
530
|
|
|
531
531
|
interface TeamWorkerBlockProps {
|
|
532
532
|
image_url?: string | null;
|
|
@@ -541,14 +541,14 @@ interface TeamWorkerBlockProps {
|
|
|
541
541
|
bgSrc?: string | null;
|
|
542
542
|
site?: Site;
|
|
543
543
|
}
|
|
544
|
-
declare const TeamWorkerBlock:
|
|
544
|
+
declare const TeamWorkerBlock: ({ image_url, name, position, social, text, turn, site, }: TeamWorkerBlockProps) => react_jsx_runtime.JSX.Element;
|
|
545
545
|
|
|
546
546
|
interface TextBlockProps {
|
|
547
547
|
className?: string;
|
|
548
548
|
title?: string;
|
|
549
549
|
text?: string;
|
|
550
550
|
}
|
|
551
|
-
declare const TextBlock:
|
|
551
|
+
declare const TextBlock: ({ className, text, title }: TextBlockProps) => react_jsx_runtime.JSX.Element;
|
|
552
552
|
|
|
553
553
|
declare const ThanksBlock: () => react_jsx_runtime.JSX.Element;
|
|
554
554
|
|
|
@@ -564,7 +564,7 @@ interface VacancyBoxInfoProps {
|
|
|
564
564
|
inLink?: boolean;
|
|
565
565
|
linkLabel?: string;
|
|
566
566
|
}
|
|
567
|
-
declare const VacancyBoxInfo:
|
|
567
|
+
declare const VacancyBoxInfo: ({ label, updatedAt, className, salary, button, location, slug, href, inLink, linkLabel, }: VacancyBoxInfoProps) => react_jsx_runtime.JSX.Element;
|
|
568
568
|
|
|
569
569
|
interface VacancyInfoItemsProps {
|
|
570
570
|
updatedAt?: string;
|
|
@@ -572,7 +572,7 @@ interface VacancyInfoItemsProps {
|
|
|
572
572
|
location?: string;
|
|
573
573
|
innerClasses?: string;
|
|
574
574
|
}
|
|
575
|
-
declare const VacancyInfoItems:
|
|
575
|
+
declare const VacancyInfoItems: ({ updatedAt, location, salary, innerClasses, }: VacancyInfoItemsProps) => react_jsx_runtime.JSX.Element;
|
|
576
576
|
|
|
577
577
|
interface IVacancyContent {
|
|
578
578
|
title?: string;
|
|
@@ -604,7 +604,7 @@ interface IWeOffer {
|
|
|
604
604
|
imageUrl: string;
|
|
605
605
|
className?: string;
|
|
606
606
|
}
|
|
607
|
-
declare const WeOffer:
|
|
607
|
+
declare const WeOffer: ({ title, sellerItems, buyerItems, imageUrl, className, }: IWeOffer) => react_jsx_runtime.JSX.Element;
|
|
608
608
|
|
|
609
609
|
interface WeTakeFullProps {
|
|
610
610
|
className?: string;
|
|
@@ -613,7 +613,7 @@ interface WeTakeFullProps {
|
|
|
613
613
|
text?: string;
|
|
614
614
|
actionComponent?: ReactNode;
|
|
615
615
|
}
|
|
616
|
-
declare const WeTakeFull:
|
|
616
|
+
declare const WeTakeFull: ({ className, text, imgSrc, title, actionComponent, }: WeTakeFullProps) => react_jsx_runtime.JSX.Element;
|
|
617
617
|
|
|
618
618
|
interface TextImageTileBlockProps {
|
|
619
619
|
className?: string;
|
|
@@ -624,7 +624,7 @@ interface TextImageTileBlockProps {
|
|
|
624
624
|
actionComponent?: ReactNode;
|
|
625
625
|
turn?: 'right' | 'left';
|
|
626
626
|
}
|
|
627
|
-
declare const TextImageTileBlock:
|
|
627
|
+
declare const TextImageTileBlock: ({ className, actionComponent, turn, text, title, image, imageAlt, }: TextImageTileBlockProps) => react_jsx_runtime.JSX.Element;
|
|
628
628
|
|
|
629
629
|
interface IBoxItem {
|
|
630
630
|
number?: number;
|
|
@@ -638,7 +638,7 @@ interface WhyShouldWorkProps {
|
|
|
638
638
|
box?: IBoxItem[];
|
|
639
639
|
actionComponent?: ReactNode;
|
|
640
640
|
}
|
|
641
|
-
declare const WhyShouldWork:
|
|
641
|
+
declare const WhyShouldWork: ({ className, box, title, text, actionComponent, }: WhyShouldWorkProps) => react_jsx_runtime.JSX.Element;
|
|
642
642
|
|
|
643
643
|
interface IWheWeItem {
|
|
644
644
|
imageUrl?: string;
|
|
@@ -651,7 +651,7 @@ interface WhyWeProps {
|
|
|
651
651
|
title?: string;
|
|
652
652
|
items?: IWheWeItem[];
|
|
653
653
|
}
|
|
654
|
-
declare const WhyWe:
|
|
654
|
+
declare const WhyWe: ({ items, title, className, imageUrl }: WhyWeProps) => react_jsx_runtime.JSX.Element;
|
|
655
655
|
|
|
656
656
|
interface ObjectInfoBlockProps {
|
|
657
657
|
title?: string | null;
|
|
@@ -667,7 +667,7 @@ interface ObjectInfoBlockProps {
|
|
|
667
667
|
more: string;
|
|
668
668
|
};
|
|
669
669
|
}
|
|
670
|
-
declare const ObjectInfoBlock:
|
|
670
|
+
declare const ObjectInfoBlock: ({ title, text, properties, className, actionComponent, showButtonLabel, }: ObjectInfoBlockProps) => react_jsx_runtime.JSX.Element;
|
|
671
671
|
|
|
672
672
|
interface PaymentPlanBlockProps {
|
|
673
673
|
data: PresentBlockProps[];
|
|
@@ -676,7 +676,7 @@ interface PresentBlockProps {
|
|
|
676
676
|
present: string;
|
|
677
677
|
description: string;
|
|
678
678
|
}
|
|
679
|
-
declare const PaymentPlanBlock:
|
|
679
|
+
declare const PaymentPlanBlock: ({ data }: PaymentPlanBlockProps) => react_jsx_runtime.JSX.Element;
|
|
680
680
|
|
|
681
681
|
declare const FloorPlansBlock: () => react_jsx_runtime.JSX.Element;
|
|
682
682
|
|
|
@@ -687,7 +687,7 @@ interface FullScreenImageProps {
|
|
|
687
687
|
className?: string;
|
|
688
688
|
tagsContainerClassName?: string;
|
|
689
689
|
}
|
|
690
|
-
declare const FullScreenImage:
|
|
690
|
+
declare const FullScreenImage: ({ src, alt, tags, className, tagsContainerClassName, }: FullScreenImageProps) => react_jsx_runtime.JSX.Element;
|
|
691
691
|
|
|
692
692
|
interface GalleryBlockProps {
|
|
693
693
|
className?: string;
|
|
@@ -696,15 +696,16 @@ interface GalleryBlockProps {
|
|
|
696
696
|
imageAlt?: string;
|
|
697
697
|
title?: string;
|
|
698
698
|
}
|
|
699
|
-
declare const GalleryBlock:
|
|
699
|
+
declare const GalleryBlock: (props: GalleryBlockProps) => react_jsx_runtime.JSX.Element;
|
|
700
700
|
|
|
701
|
-
|
|
701
|
+
interface ContactDubaiBlockProps {
|
|
702
702
|
className?: string;
|
|
703
703
|
actionComponent?: ReactNode;
|
|
704
704
|
advisorImage?: string;
|
|
705
705
|
title: string;
|
|
706
706
|
subTitle: string;
|
|
707
|
-
}
|
|
707
|
+
}
|
|
708
|
+
declare const ContactDubaiBlock: ({ className, actionComponent, advisorImage, title, subTitle, }: ContactDubaiBlockProps) => react_jsx_runtime.JSX.Element;
|
|
708
709
|
|
|
709
710
|
interface NewProjectCardProps {
|
|
710
711
|
slug?: string;
|
|
@@ -739,7 +740,7 @@ interface DeveloperBannerProps {
|
|
|
739
740
|
imgBanner?: string | null;
|
|
740
741
|
imgLogo?: string | null;
|
|
741
742
|
}
|
|
742
|
-
declare const DeveloperBanner:
|
|
743
|
+
declare const DeveloperBanner: ({ className, imgBanner, imgLogo, }: DeveloperBannerProps) => react_jsx_runtime.JSX.Element;
|
|
743
744
|
|
|
744
745
|
interface IDeveloperTwoBlocks {
|
|
745
746
|
className?: string;
|
|
@@ -753,11 +754,11 @@ interface IDeveloperTwoBlocks {
|
|
|
753
754
|
}
|
|
754
755
|
declare function DeveloperTwoBlocks({ className, block, text, title, }: IDeveloperTwoBlocks): react_jsx_runtime.JSX.Element;
|
|
755
756
|
|
|
756
|
-
interface ImageAndTextBlockProps {
|
|
757
|
+
interface ImageAndTextBlockProps extends PropsWithChildren {
|
|
757
758
|
className?: string;
|
|
758
759
|
imgSrc?: string;
|
|
759
760
|
}
|
|
760
|
-
declare const ImageAndTextBlock:
|
|
761
|
+
declare const ImageAndTextBlock: (props: ImageAndTextBlockProps) => react_jsx_runtime.JSX.Element;
|
|
761
762
|
|
|
762
763
|
interface TwoTextColumnProps {
|
|
763
764
|
className?: string;
|
|
@@ -766,7 +767,7 @@ interface TwoTextColumnProps {
|
|
|
766
767
|
text: string;
|
|
767
768
|
}[];
|
|
768
769
|
}
|
|
769
|
-
declare const TwoTextColumn:
|
|
770
|
+
declare const TwoTextColumn: ({ className, info }: TwoTextColumnProps) => react_jsx_runtime.JSX.Element;
|
|
770
771
|
|
|
771
772
|
interface InvestModelBlockProps {
|
|
772
773
|
label: string;
|
|
@@ -815,7 +816,7 @@ interface RealtyTitleProps {
|
|
|
815
816
|
title?: string | null;
|
|
816
817
|
article?: string | number | null;
|
|
817
818
|
}
|
|
818
|
-
declare const RealtyTitle:
|
|
819
|
+
declare const RealtyTitle: ({ title, article }: RealtyTitleProps) => react_jsx_runtime.JSX.Element;
|
|
819
820
|
|
|
820
821
|
interface RealtyPriceProps {
|
|
821
822
|
realtyForRent?: string;
|
|
@@ -833,21 +834,18 @@ interface RealtyAddressProps {
|
|
|
833
834
|
declare const RealtyAddress: ({ address, metros, addressLinks, restAddress, }: RealtyAddressProps) => react_jsx_runtime.JSX.Element;
|
|
834
835
|
|
|
835
836
|
interface RealtyDetailsProps {
|
|
836
|
-
realtyType?:
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
totalFloors?: string | null;
|
|
849
|
-
repair?: string | null;
|
|
850
|
-
roomCountLink?: ReactElement | null;
|
|
837
|
+
realtyType?: string | null;
|
|
838
|
+
realtyValue?: ReactElement | string | null;
|
|
839
|
+
areaTotal?: ReactElement | string | null;
|
|
840
|
+
areaLand?: ReactElement | string | null;
|
|
841
|
+
areaLiving?: ReactElement | string | null;
|
|
842
|
+
areaKitchen?: ReactElement | string | null;
|
|
843
|
+
rooms?: ReactElement | string | null;
|
|
844
|
+
bathrooms?: ReactElement | string | null;
|
|
845
|
+
parkingCount?: ReactElement | string | null;
|
|
846
|
+
floor?: ReactElement | string | null;
|
|
847
|
+
totalFloors?: ReactElement | string | null;
|
|
848
|
+
repair?: ReactElement | string | null;
|
|
851
849
|
propertyType?: string | null;
|
|
852
850
|
furnishStatus?: string | null;
|
|
853
851
|
construction?: string | null;
|
|
@@ -855,7 +853,7 @@ interface RealtyDetailsProps {
|
|
|
855
853
|
className?: string;
|
|
856
854
|
site: Site;
|
|
857
855
|
}
|
|
858
|
-
declare const RealtyDetails:
|
|
856
|
+
declare const RealtyDetails: (props: RealtyDetailsProps) => react_jsx_runtime.JSX.Element;
|
|
859
857
|
|
|
860
858
|
interface RealtyDescriptionProps {
|
|
861
859
|
description?: string | null;
|
|
@@ -864,13 +862,13 @@ interface RealtyDescriptionProps {
|
|
|
864
862
|
}
|
|
865
863
|
declare const RealtyDescription: ({ description, className, title, }: RealtyDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
866
864
|
|
|
867
|
-
interface CatalogContainerProps {
|
|
865
|
+
interface CatalogContainerProps extends PropsWithChildren {
|
|
868
866
|
className?: string;
|
|
869
867
|
emptyCatalogMessage?: string;
|
|
870
868
|
}
|
|
871
|
-
declare const CatalogContainer:
|
|
869
|
+
declare const CatalogContainer: ({ className, children, emptyCatalogMessage, }: CatalogContainerProps) => react_jsx_runtime.JSX.Element;
|
|
872
870
|
|
|
873
|
-
interface SliderContainerProps {
|
|
871
|
+
interface SliderContainerProps extends PropsWithChildren {
|
|
874
872
|
className?: string;
|
|
875
873
|
actionComponent?: ReactNode;
|
|
876
874
|
title?: string;
|
|
@@ -883,29 +881,30 @@ interface SliderContainerProps {
|
|
|
883
881
|
loop?: boolean;
|
|
884
882
|
fullScreen?: boolean;
|
|
885
883
|
}
|
|
886
|
-
declare const SliderContainer:
|
|
884
|
+
declare const SliderContainer: (props: SliderContainerProps) => react_jsx_runtime.JSX.Element;
|
|
887
885
|
|
|
888
886
|
interface MainContainerProps extends PropsWithChildren {
|
|
889
887
|
className?: string;
|
|
890
888
|
}
|
|
891
889
|
declare const MainContainer: ({ children, className }: MainContainerProps) => react_jsx_runtime.JSX.Element;
|
|
892
890
|
|
|
893
|
-
|
|
891
|
+
interface PageContainerProps extends PropsWithChildren {
|
|
894
892
|
className?: string;
|
|
895
|
-
}
|
|
893
|
+
}
|
|
894
|
+
declare const PageContainer: ({ children, className }: PageContainerProps) => react_jsx_runtime.JSX.Element;
|
|
896
895
|
|
|
897
|
-
interface VacancyContainerProps {
|
|
896
|
+
interface VacancyContainerProps extends PropsWithChildren {
|
|
898
897
|
title?: string;
|
|
899
898
|
className?: string;
|
|
900
899
|
}
|
|
901
|
-
declare const VacancyContainer:
|
|
900
|
+
declare const VacancyContainer: ({ className, children, title, }: VacancyContainerProps) => react_jsx_runtime.JSX.Element;
|
|
902
901
|
|
|
903
|
-
interface CardsCatalogProps {
|
|
902
|
+
interface CardsCatalogProps extends PropsWithChildren {
|
|
904
903
|
className?: string;
|
|
905
904
|
banner?: ReactNode;
|
|
906
905
|
bannerSequence?: number;
|
|
907
906
|
}
|
|
908
|
-
declare const CardsCatalog:
|
|
907
|
+
declare const CardsCatalog: ({ className, children, banner, bannerSequence, }: CardsCatalogProps) => react_jsx_runtime.JSX.Element;
|
|
909
908
|
|
|
910
909
|
declare function useWindowSize(): {
|
|
911
910
|
windowSize: number;
|
|
@@ -947,7 +946,7 @@ interface HeaderContactButtonProps {
|
|
|
947
946
|
title: string;
|
|
948
947
|
homePage: string;
|
|
949
948
|
}
|
|
950
|
-
declare const _default: react.
|
|
949
|
+
declare const _default: react.MemoExoticComponent<(props: HeaderContactButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
951
950
|
|
|
952
951
|
type MenuItem = {
|
|
953
952
|
path: string;
|
|
@@ -984,9 +983,9 @@ interface FooterDubaiProps {
|
|
|
984
983
|
}
|
|
985
984
|
declare const FooterDubai: ({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, city, location, bottomText, logo, }: FooterDubaiProps) => react_jsx_runtime.JSX.Element;
|
|
986
985
|
|
|
987
|
-
declare const HeaderMob:
|
|
986
|
+
declare const HeaderMob: ({ children, logo, }: PropsWithChildren & {
|
|
988
987
|
logo: ReactNode;
|
|
989
|
-
}
|
|
988
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
990
989
|
|
|
991
990
|
interface IMainBoxProps {
|
|
992
991
|
children: ReactNode;
|
|
@@ -1001,16 +1000,16 @@ interface LogoBlockProps {
|
|
|
1001
1000
|
homePage: string;
|
|
1002
1001
|
oneLogo?: string;
|
|
1003
1002
|
}
|
|
1004
|
-
declare const LogoBlock:
|
|
1003
|
+
declare const LogoBlock: ({ className, small, locale, oneLogo, }: LogoBlockProps) => react_jsx_runtime.JSX.Element;
|
|
1005
1004
|
|
|
1006
1005
|
declare const LogoBlockWhite: () => react_jsx_runtime.JSX.Element;
|
|
1007
1006
|
|
|
1008
|
-
interface BadgeProps {
|
|
1007
|
+
interface BadgeProps extends PropsWithChildren {
|
|
1009
1008
|
content?: number;
|
|
1010
1009
|
className?: string;
|
|
1011
1010
|
showZero?: boolean;
|
|
1012
1011
|
}
|
|
1013
|
-
declare const Badge:
|
|
1012
|
+
declare const Badge: ({ content, children, className, showZero }: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
1014
1013
|
|
|
1015
1014
|
interface CustomCheckboxProps {
|
|
1016
1015
|
labelProps?: FormControlLabelProps;
|
|
@@ -1018,7 +1017,7 @@ interface CustomCheckboxProps {
|
|
|
1018
1017
|
label?: string;
|
|
1019
1018
|
toggleView?: boolean;
|
|
1020
1019
|
}
|
|
1021
|
-
declare const Checkbox:
|
|
1020
|
+
declare const Checkbox: (props: CustomCheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
1022
1021
|
|
|
1023
1022
|
interface SelectChildProps {
|
|
1024
1023
|
collapseParent?: () => void;
|
|
@@ -1094,24 +1093,24 @@ interface LinkIconBorderProps {
|
|
|
1094
1093
|
color?: 'dark' | 'gray';
|
|
1095
1094
|
onClick?: () => void;
|
|
1096
1095
|
}
|
|
1097
|
-
declare const LinkIconBorder:
|
|
1096
|
+
declare const LinkIconBorder: ({ icon, title, className, classesText, color, onClick, }: LinkIconBorderProps) => react_jsx_runtime.JSX.Element;
|
|
1098
1097
|
|
|
1099
1098
|
interface CustomSwitchProps {
|
|
1100
1099
|
beforeText?: string;
|
|
1101
1100
|
afterText?: string;
|
|
1102
1101
|
}
|
|
1103
|
-
declare const Switch:
|
|
1102
|
+
declare const Switch: (props: CustomSwitchProps & SwitchProps) => react_jsx_runtime.JSX.Element;
|
|
1104
1103
|
|
|
1105
|
-
declare const LocaleSwitch:
|
|
1104
|
+
declare const LocaleSwitch: ({ locales, homePage, defLocale, select, }: LocaleSwitcherProps) => react_jsx_runtime.JSX.Element;
|
|
1106
1105
|
|
|
1107
1106
|
interface SiteSwitcherProps {
|
|
1108
1107
|
currentSite: Site;
|
|
1109
1108
|
onlyGlobal?: boolean;
|
|
1110
1109
|
select?: boolean;
|
|
1111
1110
|
}
|
|
1112
|
-
declare const SiteSwitch:
|
|
1111
|
+
declare const SiteSwitch: (props: SiteSwitcherProps) => react_jsx_runtime.JSX.Element;
|
|
1113
1112
|
|
|
1114
|
-
declare const LocaleSwitchToggle:
|
|
1113
|
+
declare const LocaleSwitchToggle: ({ locales, defLocale }: LocaleSwitcherProps) => react_jsx_runtime.JSX.Element;
|
|
1115
1114
|
|
|
1116
1115
|
declare const CatalogViewSwitch: () => react_jsx_runtime.JSX.Element;
|
|
1117
1116
|
|
|
@@ -1123,16 +1122,16 @@ interface ChipProps {
|
|
|
1123
1122
|
icon?: ReactNode;
|
|
1124
1123
|
view: 'black' | 'line' | 'line-light' | 'white' | 'silver' | 'accent' | 'accent-white';
|
|
1125
1124
|
}
|
|
1126
|
-
declare const Chip:
|
|
1125
|
+
declare const Chip: (props: ChipProps) => react_jsx_runtime.JSX.Element;
|
|
1127
1126
|
|
|
1128
1127
|
interface ObjectPropertyProps {
|
|
1129
1128
|
icon: 'LAND' | 'COMMERCE' | 'HOUSE' | 'ROOM_COUNT' | 'AREA_TOTAL' | 'AREA_LAND' | 'AREA_LIVING' | 'AREA_KITCHEN' | 'FLOORS_TOTAL' | 'FLOOR' | 'REPAIR' | 'PARKING' | 'BATH_COUNT';
|
|
1130
1129
|
label: string;
|
|
1131
1130
|
path?: string;
|
|
1132
1131
|
}
|
|
1133
|
-
declare const ObjectPropertyChip:
|
|
1132
|
+
declare const ObjectPropertyChip: ({ path, icon, label }: ObjectPropertyProps) => react_jsx_runtime.JSX.Element;
|
|
1134
1133
|
|
|
1135
|
-
declare const List:
|
|
1134
|
+
declare const List: (props: ListProps) => react_jsx_runtime.JSX.Element;
|
|
1136
1135
|
|
|
1137
1136
|
declare enum MACHINE_NAME {
|
|
1138
1137
|
RESIDENTIAL = "residential",
|
|
@@ -1220,7 +1219,7 @@ interface ListItemProps {
|
|
|
1220
1219
|
active?: boolean;
|
|
1221
1220
|
className?: string;
|
|
1222
1221
|
}
|
|
1223
|
-
declare const ListItem:
|
|
1222
|
+
declare const ListItem: ({ icon, title, subTitle, bold, value, onClickHandler, active, tag, className, }: ListItemProps) => react_jsx_runtime.JSX.Element;
|
|
1224
1223
|
|
|
1225
1224
|
interface TermListProps {
|
|
1226
1225
|
options: {
|
|
@@ -1249,7 +1248,7 @@ interface CustomButtonProps extends PropsWithChildren {
|
|
|
1249
1248
|
onClick?: () => void;
|
|
1250
1249
|
endIcon?: ReactNode;
|
|
1251
1250
|
}
|
|
1252
|
-
declare const Button:
|
|
1251
|
+
declare const Button: (props: CustomButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1253
1252
|
|
|
1254
1253
|
interface ButtonDarkProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1255
1254
|
title: string;
|
|
@@ -1265,7 +1264,7 @@ declare const ButtonDark: FC<ButtonDarkProps>;
|
|
|
1265
1264
|
interface CustomIconButtonProps extends IconButtonProps, PropsWithChildren {
|
|
1266
1265
|
isblack?: string;
|
|
1267
1266
|
}
|
|
1268
|
-
declare const IconButton:
|
|
1267
|
+
declare const IconButton: (props: CustomIconButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1269
1268
|
|
|
1270
1269
|
interface ToggleSortProps {
|
|
1271
1270
|
name: SORT_NAME;
|
|
@@ -1275,7 +1274,7 @@ interface ToggleSortProps {
|
|
|
1275
1274
|
flip: boolean;
|
|
1276
1275
|
defFlip?: boolean;
|
|
1277
1276
|
}
|
|
1278
|
-
declare const ToggleSort:
|
|
1277
|
+
declare const ToggleSort: (props: ToggleSortProps) => react_jsx_runtime.JSX.Element;
|
|
1279
1278
|
|
|
1280
1279
|
declare const SubmitSelectButton: (props: SelectChildrenProps) => react_jsx_runtime.JSX.Element;
|
|
1281
1280
|
|
|
@@ -1321,7 +1320,7 @@ interface ToggleButtonsMultipleProps {
|
|
|
1321
1320
|
value?: any;
|
|
1322
1321
|
exclusive?: boolean;
|
|
1323
1322
|
}
|
|
1324
|
-
declare const ToggleButtonsWithLabel:
|
|
1323
|
+
declare const ToggleButtonsWithLabel: (props: ToggleButtonsMultipleProps) => react_jsx_runtime.JSX.Element;
|
|
1325
1324
|
|
|
1326
1325
|
declare const ScrollButton: () => react_jsx_runtime.JSX.Element;
|
|
1327
1326
|
|
|
@@ -1330,12 +1329,12 @@ interface ButtonBadgeProps extends SelectChildrenProps {
|
|
|
1330
1329
|
badgeCount?: number;
|
|
1331
1330
|
className?: string;
|
|
1332
1331
|
}
|
|
1333
|
-
declare const ButtonBadge:
|
|
1332
|
+
declare const ButtonBadge: (props: ButtonBadgeProps) => react_jsx_runtime.JSX.Element;
|
|
1334
1333
|
|
|
1335
1334
|
interface ErrorMessageProps {
|
|
1336
1335
|
errorMessage?: string;
|
|
1337
1336
|
}
|
|
1338
|
-
declare const ErrorMessage:
|
|
1337
|
+
declare const ErrorMessage: (props: ErrorMessageProps) => react_jsx_runtime.JSX.Element;
|
|
1339
1338
|
|
|
1340
1339
|
declare const Input: FC<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
|
|
1341
1340
|
|
|
@@ -1347,7 +1346,7 @@ interface SearchInputProps$1 {
|
|
|
1347
1346
|
value: string;
|
|
1348
1347
|
onChange: (value: string) => void;
|
|
1349
1348
|
}
|
|
1350
|
-
declare const SearchInput:
|
|
1349
|
+
declare const SearchInput: (props: SearchInputProps$1) => react_jsx_runtime.JSX.Element;
|
|
1351
1350
|
|
|
1352
1351
|
declare const FormInput: FC<{
|
|
1353
1352
|
name: string;
|
|
@@ -1375,7 +1374,7 @@ interface SearchInputProps {
|
|
|
1375
1374
|
withoutIcon?: boolean;
|
|
1376
1375
|
transparentView?: boolean;
|
|
1377
1376
|
}
|
|
1378
|
-
declare const SearchPlaceInput:
|
|
1377
|
+
declare const SearchPlaceInput: (props: SearchInputProps) => react_jsx_runtime.JSX.Element;
|
|
1379
1378
|
|
|
1380
1379
|
interface PhoneInputProps {
|
|
1381
1380
|
defaultCountry?: CountryIso2;
|
|
@@ -1383,7 +1382,7 @@ interface PhoneInputProps {
|
|
|
1383
1382
|
onChange: (value: string) => void;
|
|
1384
1383
|
placeholder?: string;
|
|
1385
1384
|
}
|
|
1386
|
-
declare const PhoneInput:
|
|
1385
|
+
declare const PhoneInput: (props: PhoneInputProps) => react_jsx_runtime.JSX.Element;
|
|
1387
1386
|
|
|
1388
1387
|
declare const TextAreaInput: FC<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>>;
|
|
1389
1388
|
|
|
@@ -1402,35 +1401,35 @@ interface IPaginatorSimpleProps {
|
|
|
1402
1401
|
}
|
|
1403
1402
|
declare function PaginatorSimple({ total }: IPaginatorSimpleProps): react_jsx_runtime.JSX.Element;
|
|
1404
1403
|
|
|
1405
|
-
declare const H1:
|
|
1404
|
+
declare const H1: ({ children, className, smallerXs, uppercase, catalog, }: HProps) => react_jsx_runtime.JSX.Element;
|
|
1406
1405
|
|
|
1407
|
-
declare const H2:
|
|
1406
|
+
declare const H2: ({ children, className, leftXs }: HProps) => react_jsx_runtime.JSX.Element;
|
|
1408
1407
|
|
|
1409
|
-
declare const H3:
|
|
1408
|
+
declare const H3: ({ children, className }: HProps) => react_jsx_runtime.JSX.Element;
|
|
1410
1409
|
|
|
1411
|
-
declare const H4:
|
|
1410
|
+
declare const H4: ({ children, className, smallerXs, leftXs, }: HProps) => react_jsx_runtime.JSX.Element;
|
|
1412
1411
|
|
|
1413
|
-
declare const H5:
|
|
1412
|
+
declare const H5: ({ children, className }: HProps) => react_jsx_runtime.JSX.Element;
|
|
1414
1413
|
|
|
1415
|
-
declare const H6:
|
|
1414
|
+
declare const H6: ({ children, className, smallerXs, bold, }: HProps) => react_jsx_runtime.JSX.Element;
|
|
1416
1415
|
|
|
1417
1416
|
interface RichTextBlockProps {
|
|
1418
1417
|
body: Document | null | any;
|
|
1419
1418
|
className?: string;
|
|
1420
1419
|
}
|
|
1421
|
-
declare const RichTextBlock:
|
|
1420
|
+
declare const RichTextBlock: ({ body, className }: RichTextBlockProps) => react_jsx_runtime.JSX.Element;
|
|
1422
1421
|
|
|
1423
1422
|
interface FancyBoxProps {
|
|
1424
1423
|
options?: Partial<FancyboxOptions>;
|
|
1425
1424
|
delegate?: string;
|
|
1426
1425
|
}
|
|
1427
|
-
declare const FancyBox:
|
|
1426
|
+
declare const FancyBox: (props: PropsWithChildren<FancyBoxProps>) => react_jsx_runtime.JSX.Element;
|
|
1428
1427
|
|
|
1429
|
-
interface SingleSliderProps {
|
|
1428
|
+
interface SingleSliderProps extends PropsWithChildren {
|
|
1430
1429
|
singleView?: boolean;
|
|
1431
1430
|
dots?: boolean;
|
|
1432
1431
|
}
|
|
1433
|
-
declare const SingleSlider:
|
|
1432
|
+
declare const SingleSlider: ({ children, singleView, dots, }: SingleSliderProps) => react_jsx_runtime.JSX.Element;
|
|
1434
1433
|
|
|
1435
1434
|
interface CasesSliderProps {
|
|
1436
1435
|
cases: {
|
|
@@ -1439,7 +1438,7 @@ interface CasesSliderProps {
|
|
|
1439
1438
|
text2?: string;
|
|
1440
1439
|
}[];
|
|
1441
1440
|
}
|
|
1442
|
-
declare const CasesSlider:
|
|
1441
|
+
declare const CasesSlider: ({ cases }: CasesSliderProps) => react_jsx_runtime.JSX.Element;
|
|
1443
1442
|
|
|
1444
1443
|
interface BreadCrumbsProps extends PropsWithChildren {
|
|
1445
1444
|
activeLast?: boolean;
|
|
@@ -1478,7 +1477,7 @@ interface IArea {
|
|
|
1478
1477
|
interface AreaCardProps extends IArea {
|
|
1479
1478
|
className?: string;
|
|
1480
1479
|
}
|
|
1481
|
-
declare const AreaCard:
|
|
1480
|
+
declare const AreaCard: ({ imageUrl, className, title, whiteBottom, }: AreaCardProps) => react_jsx_runtime.JSX.Element;
|
|
1482
1481
|
|
|
1483
1482
|
interface IArticle {
|
|
1484
1483
|
imageUrl?: string;
|
|
@@ -1556,7 +1555,7 @@ interface RealtyCardProps {
|
|
|
1556
1555
|
imagePlaceholders?: string[];
|
|
1557
1556
|
imageUnoptimized?: boolean;
|
|
1558
1557
|
}
|
|
1559
|
-
declare const RealtyCard:
|
|
1558
|
+
declare const RealtyCard: (props: RealtyCardProps) => react_jsx_runtime.JSX.Element;
|
|
1560
1559
|
|
|
1561
1560
|
interface FeedbackCardProps {
|
|
1562
1561
|
imageUrl: string;
|
|
@@ -1565,15 +1564,15 @@ interface FeedbackCardProps {
|
|
|
1565
1564
|
rating: number;
|
|
1566
1565
|
feedbackText: string;
|
|
1567
1566
|
}
|
|
1568
|
-
declare const FeedbackCard:
|
|
1567
|
+
declare const FeedbackCard: (props: FeedbackCardProps) => react_jsx_runtime.JSX.Element;
|
|
1569
1568
|
|
|
1570
|
-
interface VacancyCardProps {
|
|
1569
|
+
interface VacancyCardProps extends PropsWithChildren {
|
|
1571
1570
|
shortDescription?: Document;
|
|
1572
1571
|
position?: string;
|
|
1573
1572
|
title?: ReactElement;
|
|
1574
1573
|
className?: string;
|
|
1575
1574
|
}
|
|
1576
|
-
declare const VacancyCard:
|
|
1575
|
+
declare const VacancyCard: (props: VacancyCardProps) => react_jsx_runtime.JSX.Element;
|
|
1577
1576
|
|
|
1578
1577
|
interface DeveloperCardProps {
|
|
1579
1578
|
className?: string;
|
|
@@ -1581,7 +1580,7 @@ interface DeveloperCardProps {
|
|
|
1581
1580
|
title?: string;
|
|
1582
1581
|
img_alt?: string;
|
|
1583
1582
|
}
|
|
1584
|
-
declare const DeveloperCard:
|
|
1583
|
+
declare const DeveloperCard: ({ className, title, img, img_alt, }: DeveloperCardProps) => react_jsx_runtime.JSX.Element;
|
|
1585
1584
|
|
|
1586
1585
|
interface InvestFormatCardProps {
|
|
1587
1586
|
title: string;
|