mayak-common-library 0.2.20 → 0.2.22
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 +112 -110
- package/dist/index.d.ts +112 -110
- package/dist/index.js +4 -4
- package/package.json +1 -1
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;
|
|
@@ -308,8 +308,11 @@ interface IContactUsBlock {
|
|
|
308
308
|
subtitle?: string;
|
|
309
309
|
description?: string;
|
|
310
310
|
manager: IWorker;
|
|
311
|
+
telegram?: boolean;
|
|
312
|
+
whatsapp?: boolean;
|
|
313
|
+
viber?: boolean;
|
|
311
314
|
}
|
|
312
|
-
declare function ContactUsBlock({ className, phone, manager, description, title, subtitle, }: IContactUsBlock): react_jsx_runtime.JSX.Element;
|
|
315
|
+
declare function ContactUsBlock({ className, phone, manager, description, title, subtitle, telegram, whatsapp, viber, }: IContactUsBlock): react_jsx_runtime.JSX.Element;
|
|
313
316
|
|
|
314
317
|
interface ExpertiseBlockProps {
|
|
315
318
|
block1: {
|
|
@@ -324,7 +327,7 @@ interface ExpertiseBlockProps {
|
|
|
324
327
|
};
|
|
325
328
|
className?: string;
|
|
326
329
|
}
|
|
327
|
-
declare const ExpertiseBlock:
|
|
330
|
+
declare const ExpertiseBlock: ({ block1, block2, className }: ExpertiseBlockProps) => react_jsx_runtime.JSX.Element;
|
|
328
331
|
|
|
329
332
|
interface IFAQProps {
|
|
330
333
|
className?: string;
|
|
@@ -346,7 +349,7 @@ interface GalleryProps {
|
|
|
346
349
|
alt: string;
|
|
347
350
|
site: Site;
|
|
348
351
|
}
|
|
349
|
-
declare const Gallery:
|
|
352
|
+
declare const Gallery: ({ images, alt, site, imagePlaceholders }: GalleryProps) => react_jsx_runtime.JSX.Element;
|
|
350
353
|
|
|
351
354
|
interface JoinTeamBlockProps {
|
|
352
355
|
imageUrl?: string;
|
|
@@ -354,7 +357,7 @@ interface JoinTeamBlockProps {
|
|
|
354
357
|
className?: string;
|
|
355
358
|
text?: string;
|
|
356
359
|
}
|
|
357
|
-
declare const JoinTeamBlock:
|
|
360
|
+
declare const JoinTeamBlock: ({ imageUrl, text, title, className, }: JoinTeamBlockProps) => react_jsx_runtime.JSX.Element;
|
|
358
361
|
|
|
359
362
|
interface IItem$2 {
|
|
360
363
|
text1?: string;
|
|
@@ -367,7 +370,7 @@ interface LegalSupportProps {
|
|
|
367
370
|
items?: IItem$2[];
|
|
368
371
|
className?: string;
|
|
369
372
|
}
|
|
370
|
-
declare const LegalSupport:
|
|
373
|
+
declare const LegalSupport: ({ title2, title, items, text, imageUrl, className, }: LegalSupportProps) => react_jsx_runtime.JSX.Element;
|
|
371
374
|
|
|
372
375
|
interface IOfficeItem {
|
|
373
376
|
phone?: string;
|
|
@@ -428,7 +431,7 @@ interface OurAdvantagesProps {
|
|
|
428
431
|
images?: string[];
|
|
429
432
|
block?: IBlock;
|
|
430
433
|
}
|
|
431
|
-
declare const OurAdvantages:
|
|
434
|
+
declare const OurAdvantages: ({ className, block, title, text2, text1, images, }: OurAdvantagesProps) => react_jsx_runtime.JSX.Element;
|
|
432
435
|
|
|
433
436
|
interface IOurServicesItem {
|
|
434
437
|
text1?: string;
|
|
@@ -439,7 +442,7 @@ interface OurServicesProps {
|
|
|
439
442
|
items?: IOurServicesItem[];
|
|
440
443
|
title?: string;
|
|
441
444
|
}
|
|
442
|
-
declare const OurServices:
|
|
445
|
+
declare const OurServices: ({ title, items, className }: OurServicesProps) => react_jsx_runtime.JSX.Element;
|
|
443
446
|
|
|
444
447
|
interface PopularAreasProps {
|
|
445
448
|
className?: string;
|
|
@@ -453,7 +456,7 @@ interface PopularAreasProps {
|
|
|
453
456
|
}
|
|
454
457
|
declare const PopularAreas: ({ className, items, title, actionComponent, }: PopularAreasProps) => react_jsx_runtime.JSX.Element;
|
|
455
458
|
|
|
456
|
-
declare const ObjectProperties:
|
|
459
|
+
declare const ObjectProperties: ({ children }: PropsWithChildren) => react_jsx_runtime.JSX.Element;
|
|
457
460
|
|
|
458
461
|
interface IItem$1 {
|
|
459
462
|
img?: string | null;
|
|
@@ -498,7 +501,7 @@ interface ReferralProgramFirstBlockProps {
|
|
|
498
501
|
className?: string;
|
|
499
502
|
actionComponent?: ReactNode;
|
|
500
503
|
}
|
|
501
|
-
declare const ReferralProgramFirstBlock:
|
|
504
|
+
declare const ReferralProgramFirstBlock: ({ title, box, text1, className, subtitle, text2, actionComponent, }: ReferralProgramFirstBlockProps) => react_jsx_runtime.JSX.Element;
|
|
502
505
|
|
|
503
506
|
interface IServicesTexts {
|
|
504
507
|
title?: string;
|
|
@@ -517,7 +520,7 @@ interface SocialBlockProps {
|
|
|
517
520
|
whatsapp?: string;
|
|
518
521
|
telegram?: string;
|
|
519
522
|
}
|
|
520
|
-
declare const SocialBlock:
|
|
523
|
+
declare const SocialBlock: ({ className, telegram, whatsapp, instagram, }: SocialBlockProps) => react_jsx_runtime.JSX.Element;
|
|
521
524
|
|
|
522
525
|
interface SocialBlockMainProps {
|
|
523
526
|
className?: string;
|
|
@@ -526,7 +529,7 @@ interface SocialBlockMainProps {
|
|
|
526
529
|
youtube?: string;
|
|
527
530
|
linkedIn?: string;
|
|
528
531
|
}
|
|
529
|
-
declare const SocialBlockMain:
|
|
532
|
+
declare const SocialBlockMain: ({ className, instagram, facebook, youtube, }: SocialBlockMainProps) => react_jsx_runtime.JSX.Element;
|
|
530
533
|
|
|
531
534
|
interface TeamWorkerBlockProps {
|
|
532
535
|
image_url?: string | null;
|
|
@@ -541,14 +544,14 @@ interface TeamWorkerBlockProps {
|
|
|
541
544
|
bgSrc?: string | null;
|
|
542
545
|
site?: Site;
|
|
543
546
|
}
|
|
544
|
-
declare const TeamWorkerBlock:
|
|
547
|
+
declare const TeamWorkerBlock: ({ image_url, name, position, social, text, turn, site, }: TeamWorkerBlockProps) => react_jsx_runtime.JSX.Element;
|
|
545
548
|
|
|
546
549
|
interface TextBlockProps {
|
|
547
550
|
className?: string;
|
|
548
551
|
title?: string;
|
|
549
552
|
text?: string;
|
|
550
553
|
}
|
|
551
|
-
declare const TextBlock:
|
|
554
|
+
declare const TextBlock: ({ className, text, title }: TextBlockProps) => react_jsx_runtime.JSX.Element;
|
|
552
555
|
|
|
553
556
|
declare const ThanksBlock: () => react_jsx_runtime.JSX.Element;
|
|
554
557
|
|
|
@@ -564,7 +567,7 @@ interface VacancyBoxInfoProps {
|
|
|
564
567
|
inLink?: boolean;
|
|
565
568
|
linkLabel?: string;
|
|
566
569
|
}
|
|
567
|
-
declare const VacancyBoxInfo:
|
|
570
|
+
declare const VacancyBoxInfo: ({ label, updatedAt, className, salary, button, location, slug, href, inLink, linkLabel, }: VacancyBoxInfoProps) => react_jsx_runtime.JSX.Element;
|
|
568
571
|
|
|
569
572
|
interface VacancyInfoItemsProps {
|
|
570
573
|
updatedAt?: string;
|
|
@@ -572,7 +575,7 @@ interface VacancyInfoItemsProps {
|
|
|
572
575
|
location?: string;
|
|
573
576
|
innerClasses?: string;
|
|
574
577
|
}
|
|
575
|
-
declare const VacancyInfoItems:
|
|
578
|
+
declare const VacancyInfoItems: ({ updatedAt, location, salary, innerClasses, }: VacancyInfoItemsProps) => react_jsx_runtime.JSX.Element;
|
|
576
579
|
|
|
577
580
|
interface IVacancyContent {
|
|
578
581
|
title?: string;
|
|
@@ -604,7 +607,7 @@ interface IWeOffer {
|
|
|
604
607
|
imageUrl: string;
|
|
605
608
|
className?: string;
|
|
606
609
|
}
|
|
607
|
-
declare const WeOffer:
|
|
610
|
+
declare const WeOffer: ({ title, sellerItems, buyerItems, imageUrl, className, }: IWeOffer) => react_jsx_runtime.JSX.Element;
|
|
608
611
|
|
|
609
612
|
interface WeTakeFullProps {
|
|
610
613
|
className?: string;
|
|
@@ -613,7 +616,7 @@ interface WeTakeFullProps {
|
|
|
613
616
|
text?: string;
|
|
614
617
|
actionComponent?: ReactNode;
|
|
615
618
|
}
|
|
616
|
-
declare const WeTakeFull:
|
|
619
|
+
declare const WeTakeFull: ({ className, text, imgSrc, title, actionComponent, }: WeTakeFullProps) => react_jsx_runtime.JSX.Element;
|
|
617
620
|
|
|
618
621
|
interface TextImageTileBlockProps {
|
|
619
622
|
className?: string;
|
|
@@ -624,7 +627,7 @@ interface TextImageTileBlockProps {
|
|
|
624
627
|
actionComponent?: ReactNode;
|
|
625
628
|
turn?: 'right' | 'left';
|
|
626
629
|
}
|
|
627
|
-
declare const TextImageTileBlock:
|
|
630
|
+
declare const TextImageTileBlock: ({ className, actionComponent, turn, text, title, image, imageAlt, }: TextImageTileBlockProps) => react_jsx_runtime.JSX.Element;
|
|
628
631
|
|
|
629
632
|
interface IBoxItem {
|
|
630
633
|
number?: number;
|
|
@@ -638,7 +641,7 @@ interface WhyShouldWorkProps {
|
|
|
638
641
|
box?: IBoxItem[];
|
|
639
642
|
actionComponent?: ReactNode;
|
|
640
643
|
}
|
|
641
|
-
declare const WhyShouldWork:
|
|
644
|
+
declare const WhyShouldWork: ({ className, box, title, text, actionComponent, }: WhyShouldWorkProps) => react_jsx_runtime.JSX.Element;
|
|
642
645
|
|
|
643
646
|
interface IWheWeItem {
|
|
644
647
|
imageUrl?: string;
|
|
@@ -651,7 +654,7 @@ interface WhyWeProps {
|
|
|
651
654
|
title?: string;
|
|
652
655
|
items?: IWheWeItem[];
|
|
653
656
|
}
|
|
654
|
-
declare const WhyWe:
|
|
657
|
+
declare const WhyWe: ({ items, title, className, imageUrl }: WhyWeProps) => react_jsx_runtime.JSX.Element;
|
|
655
658
|
|
|
656
659
|
interface ObjectInfoBlockProps {
|
|
657
660
|
title?: string | null;
|
|
@@ -667,7 +670,7 @@ interface ObjectInfoBlockProps {
|
|
|
667
670
|
more: string;
|
|
668
671
|
};
|
|
669
672
|
}
|
|
670
|
-
declare const ObjectInfoBlock:
|
|
673
|
+
declare const ObjectInfoBlock: ({ title, text, properties, className, actionComponent, showButtonLabel, }: ObjectInfoBlockProps) => react_jsx_runtime.JSX.Element;
|
|
671
674
|
|
|
672
675
|
interface PaymentPlanBlockProps {
|
|
673
676
|
data: PresentBlockProps[];
|
|
@@ -676,7 +679,7 @@ interface PresentBlockProps {
|
|
|
676
679
|
present: string;
|
|
677
680
|
description: string;
|
|
678
681
|
}
|
|
679
|
-
declare const PaymentPlanBlock:
|
|
682
|
+
declare const PaymentPlanBlock: ({ data }: PaymentPlanBlockProps) => react_jsx_runtime.JSX.Element;
|
|
680
683
|
|
|
681
684
|
declare const FloorPlansBlock: () => react_jsx_runtime.JSX.Element;
|
|
682
685
|
|
|
@@ -687,7 +690,7 @@ interface FullScreenImageProps {
|
|
|
687
690
|
className?: string;
|
|
688
691
|
tagsContainerClassName?: string;
|
|
689
692
|
}
|
|
690
|
-
declare const FullScreenImage:
|
|
693
|
+
declare const FullScreenImage: ({ src, alt, tags, className, tagsContainerClassName, }: FullScreenImageProps) => react_jsx_runtime.JSX.Element;
|
|
691
694
|
|
|
692
695
|
interface GalleryBlockProps {
|
|
693
696
|
className?: string;
|
|
@@ -696,15 +699,16 @@ interface GalleryBlockProps {
|
|
|
696
699
|
imageAlt?: string;
|
|
697
700
|
title?: string;
|
|
698
701
|
}
|
|
699
|
-
declare const GalleryBlock:
|
|
702
|
+
declare const GalleryBlock: (props: GalleryBlockProps) => react_jsx_runtime.JSX.Element;
|
|
700
703
|
|
|
701
|
-
|
|
704
|
+
interface ContactDubaiBlockProps {
|
|
702
705
|
className?: string;
|
|
703
706
|
actionComponent?: ReactNode;
|
|
704
707
|
advisorImage?: string;
|
|
705
708
|
title: string;
|
|
706
709
|
subTitle: string;
|
|
707
|
-
}
|
|
710
|
+
}
|
|
711
|
+
declare const ContactDubaiBlock: ({ className, actionComponent, advisorImage, title, subTitle, }: ContactDubaiBlockProps) => react_jsx_runtime.JSX.Element;
|
|
708
712
|
|
|
709
713
|
interface NewProjectCardProps {
|
|
710
714
|
slug?: string;
|
|
@@ -739,7 +743,7 @@ interface DeveloperBannerProps {
|
|
|
739
743
|
imgBanner?: string | null;
|
|
740
744
|
imgLogo?: string | null;
|
|
741
745
|
}
|
|
742
|
-
declare const DeveloperBanner:
|
|
746
|
+
declare const DeveloperBanner: ({ className, imgBanner, imgLogo, }: DeveloperBannerProps) => react_jsx_runtime.JSX.Element;
|
|
743
747
|
|
|
744
748
|
interface IDeveloperTwoBlocks {
|
|
745
749
|
className?: string;
|
|
@@ -753,11 +757,11 @@ interface IDeveloperTwoBlocks {
|
|
|
753
757
|
}
|
|
754
758
|
declare function DeveloperTwoBlocks({ className, block, text, title, }: IDeveloperTwoBlocks): react_jsx_runtime.JSX.Element;
|
|
755
759
|
|
|
756
|
-
interface ImageAndTextBlockProps {
|
|
760
|
+
interface ImageAndTextBlockProps extends PropsWithChildren {
|
|
757
761
|
className?: string;
|
|
758
762
|
imgSrc?: string;
|
|
759
763
|
}
|
|
760
|
-
declare const ImageAndTextBlock:
|
|
764
|
+
declare const ImageAndTextBlock: (props: ImageAndTextBlockProps) => react_jsx_runtime.JSX.Element;
|
|
761
765
|
|
|
762
766
|
interface TwoTextColumnProps {
|
|
763
767
|
className?: string;
|
|
@@ -766,7 +770,7 @@ interface TwoTextColumnProps {
|
|
|
766
770
|
text: string;
|
|
767
771
|
}[];
|
|
768
772
|
}
|
|
769
|
-
declare const TwoTextColumn:
|
|
773
|
+
declare const TwoTextColumn: ({ className, info }: TwoTextColumnProps) => react_jsx_runtime.JSX.Element;
|
|
770
774
|
|
|
771
775
|
interface InvestModelBlockProps {
|
|
772
776
|
label: string;
|
|
@@ -815,7 +819,7 @@ interface RealtyTitleProps {
|
|
|
815
819
|
title?: string | null;
|
|
816
820
|
article?: string | number | null;
|
|
817
821
|
}
|
|
818
|
-
declare const RealtyTitle:
|
|
822
|
+
declare const RealtyTitle: ({ title, article }: RealtyTitleProps) => react_jsx_runtime.JSX.Element;
|
|
819
823
|
|
|
820
824
|
interface RealtyPriceProps {
|
|
821
825
|
realtyForRent?: string;
|
|
@@ -833,21 +837,18 @@ interface RealtyAddressProps {
|
|
|
833
837
|
declare const RealtyAddress: ({ address, metros, addressLinks, restAddress, }: RealtyAddressProps) => react_jsx_runtime.JSX.Element;
|
|
834
838
|
|
|
835
839
|
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;
|
|
840
|
+
realtyType?: string | null;
|
|
841
|
+
realtyValue?: ReactElement | string | null;
|
|
842
|
+
areaTotal?: ReactElement | string | null;
|
|
843
|
+
areaLand?: ReactElement | string | null;
|
|
844
|
+
areaLiving?: ReactElement | string | null;
|
|
845
|
+
areaKitchen?: ReactElement | string | null;
|
|
846
|
+
rooms?: ReactElement | string | null;
|
|
847
|
+
bathrooms?: ReactElement | string | null;
|
|
848
|
+
parkingCount?: ReactElement | string | null;
|
|
849
|
+
floor?: ReactElement | string | null;
|
|
850
|
+
totalFloors?: ReactElement | string | null;
|
|
851
|
+
repair?: ReactElement | string | null;
|
|
851
852
|
propertyType?: string | null;
|
|
852
853
|
furnishStatus?: string | null;
|
|
853
854
|
construction?: string | null;
|
|
@@ -855,7 +856,7 @@ interface RealtyDetailsProps {
|
|
|
855
856
|
className?: string;
|
|
856
857
|
site: Site;
|
|
857
858
|
}
|
|
858
|
-
declare const RealtyDetails:
|
|
859
|
+
declare const RealtyDetails: (props: RealtyDetailsProps) => react_jsx_runtime.JSX.Element;
|
|
859
860
|
|
|
860
861
|
interface RealtyDescriptionProps {
|
|
861
862
|
description?: string | null;
|
|
@@ -864,13 +865,13 @@ interface RealtyDescriptionProps {
|
|
|
864
865
|
}
|
|
865
866
|
declare const RealtyDescription: ({ description, className, title, }: RealtyDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
866
867
|
|
|
867
|
-
interface CatalogContainerProps {
|
|
868
|
+
interface CatalogContainerProps extends PropsWithChildren {
|
|
868
869
|
className?: string;
|
|
869
870
|
emptyCatalogMessage?: string;
|
|
870
871
|
}
|
|
871
|
-
declare const CatalogContainer:
|
|
872
|
+
declare const CatalogContainer: ({ className, children, emptyCatalogMessage, }: CatalogContainerProps) => react_jsx_runtime.JSX.Element;
|
|
872
873
|
|
|
873
|
-
interface SliderContainerProps {
|
|
874
|
+
interface SliderContainerProps extends PropsWithChildren {
|
|
874
875
|
className?: string;
|
|
875
876
|
actionComponent?: ReactNode;
|
|
876
877
|
title?: string;
|
|
@@ -883,29 +884,30 @@ interface SliderContainerProps {
|
|
|
883
884
|
loop?: boolean;
|
|
884
885
|
fullScreen?: boolean;
|
|
885
886
|
}
|
|
886
|
-
declare const SliderContainer:
|
|
887
|
+
declare const SliderContainer: (props: SliderContainerProps) => react_jsx_runtime.JSX.Element;
|
|
887
888
|
|
|
888
889
|
interface MainContainerProps extends PropsWithChildren {
|
|
889
890
|
className?: string;
|
|
890
891
|
}
|
|
891
892
|
declare const MainContainer: ({ children, className }: MainContainerProps) => react_jsx_runtime.JSX.Element;
|
|
892
893
|
|
|
893
|
-
|
|
894
|
+
interface PageContainerProps extends PropsWithChildren {
|
|
894
895
|
className?: string;
|
|
895
|
-
}
|
|
896
|
+
}
|
|
897
|
+
declare const PageContainer: ({ children, className }: PageContainerProps) => react_jsx_runtime.JSX.Element;
|
|
896
898
|
|
|
897
|
-
interface VacancyContainerProps {
|
|
899
|
+
interface VacancyContainerProps extends PropsWithChildren {
|
|
898
900
|
title?: string;
|
|
899
901
|
className?: string;
|
|
900
902
|
}
|
|
901
|
-
declare const VacancyContainer:
|
|
903
|
+
declare const VacancyContainer: ({ className, children, title, }: VacancyContainerProps) => react_jsx_runtime.JSX.Element;
|
|
902
904
|
|
|
903
|
-
interface CardsCatalogProps {
|
|
905
|
+
interface CardsCatalogProps extends PropsWithChildren {
|
|
904
906
|
className?: string;
|
|
905
907
|
banner?: ReactNode;
|
|
906
908
|
bannerSequence?: number;
|
|
907
909
|
}
|
|
908
|
-
declare const CardsCatalog:
|
|
910
|
+
declare const CardsCatalog: ({ className, children, banner, bannerSequence, }: CardsCatalogProps) => react_jsx_runtime.JSX.Element;
|
|
909
911
|
|
|
910
912
|
declare function useWindowSize(): {
|
|
911
913
|
windowSize: number;
|
|
@@ -947,7 +949,7 @@ interface HeaderContactButtonProps {
|
|
|
947
949
|
title: string;
|
|
948
950
|
homePage: string;
|
|
949
951
|
}
|
|
950
|
-
declare const _default: react.
|
|
952
|
+
declare const _default: react.MemoExoticComponent<(props: HeaderContactButtonProps) => react_jsx_runtime.JSX.Element>;
|
|
951
953
|
|
|
952
954
|
type MenuItem = {
|
|
953
955
|
path: string;
|
|
@@ -984,9 +986,9 @@ interface FooterDubaiProps {
|
|
|
984
986
|
}
|
|
985
987
|
declare const FooterDubai: ({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, city, location, bottomText, logo, }: FooterDubaiProps) => react_jsx_runtime.JSX.Element;
|
|
986
988
|
|
|
987
|
-
declare const HeaderMob:
|
|
989
|
+
declare const HeaderMob: ({ children, logo, }: PropsWithChildren & {
|
|
988
990
|
logo: ReactNode;
|
|
989
|
-
}
|
|
991
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
990
992
|
|
|
991
993
|
interface IMainBoxProps {
|
|
992
994
|
children: ReactNode;
|
|
@@ -1001,16 +1003,16 @@ interface LogoBlockProps {
|
|
|
1001
1003
|
homePage: string;
|
|
1002
1004
|
oneLogo?: string;
|
|
1003
1005
|
}
|
|
1004
|
-
declare const LogoBlock:
|
|
1006
|
+
declare const LogoBlock: ({ className, small, locale, oneLogo, }: LogoBlockProps) => react_jsx_runtime.JSX.Element;
|
|
1005
1007
|
|
|
1006
1008
|
declare const LogoBlockWhite: () => react_jsx_runtime.JSX.Element;
|
|
1007
1009
|
|
|
1008
|
-
interface BadgeProps {
|
|
1010
|
+
interface BadgeProps extends PropsWithChildren {
|
|
1009
1011
|
content?: number;
|
|
1010
1012
|
className?: string;
|
|
1011
1013
|
showZero?: boolean;
|
|
1012
1014
|
}
|
|
1013
|
-
declare const Badge:
|
|
1015
|
+
declare const Badge: ({ content, children, className, showZero }: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
1014
1016
|
|
|
1015
1017
|
interface CustomCheckboxProps {
|
|
1016
1018
|
labelProps?: FormControlLabelProps;
|
|
@@ -1018,7 +1020,7 @@ interface CustomCheckboxProps {
|
|
|
1018
1020
|
label?: string;
|
|
1019
1021
|
toggleView?: boolean;
|
|
1020
1022
|
}
|
|
1021
|
-
declare const Checkbox:
|
|
1023
|
+
declare const Checkbox: (props: CustomCheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
1022
1024
|
|
|
1023
1025
|
interface SelectChildProps {
|
|
1024
1026
|
collapseParent?: () => void;
|
|
@@ -1094,24 +1096,24 @@ interface LinkIconBorderProps {
|
|
|
1094
1096
|
color?: 'dark' | 'gray';
|
|
1095
1097
|
onClick?: () => void;
|
|
1096
1098
|
}
|
|
1097
|
-
declare const LinkIconBorder:
|
|
1099
|
+
declare const LinkIconBorder: ({ icon, title, className, classesText, color, onClick, }: LinkIconBorderProps) => react_jsx_runtime.JSX.Element;
|
|
1098
1100
|
|
|
1099
1101
|
interface CustomSwitchProps {
|
|
1100
1102
|
beforeText?: string;
|
|
1101
1103
|
afterText?: string;
|
|
1102
1104
|
}
|
|
1103
|
-
declare const Switch:
|
|
1105
|
+
declare const Switch: (props: CustomSwitchProps & SwitchProps) => react_jsx_runtime.JSX.Element;
|
|
1104
1106
|
|
|
1105
|
-
declare const LocaleSwitch:
|
|
1107
|
+
declare const LocaleSwitch: ({ locales, homePage, defLocale, select, }: LocaleSwitcherProps) => react_jsx_runtime.JSX.Element;
|
|
1106
1108
|
|
|
1107
1109
|
interface SiteSwitcherProps {
|
|
1108
1110
|
currentSite: Site;
|
|
1109
1111
|
onlyGlobal?: boolean;
|
|
1110
1112
|
select?: boolean;
|
|
1111
1113
|
}
|
|
1112
|
-
declare const SiteSwitch:
|
|
1114
|
+
declare const SiteSwitch: (props: SiteSwitcherProps) => react_jsx_runtime.JSX.Element;
|
|
1113
1115
|
|
|
1114
|
-
declare const LocaleSwitchToggle:
|
|
1116
|
+
declare const LocaleSwitchToggle: ({ locales, defLocale }: LocaleSwitcherProps) => react_jsx_runtime.JSX.Element;
|
|
1115
1117
|
|
|
1116
1118
|
declare const CatalogViewSwitch: () => react_jsx_runtime.JSX.Element;
|
|
1117
1119
|
|
|
@@ -1123,16 +1125,16 @@ interface ChipProps {
|
|
|
1123
1125
|
icon?: ReactNode;
|
|
1124
1126
|
view: 'black' | 'line' | 'line-light' | 'white' | 'silver' | 'accent' | 'accent-white';
|
|
1125
1127
|
}
|
|
1126
|
-
declare const Chip:
|
|
1128
|
+
declare const Chip: (props: ChipProps) => react_jsx_runtime.JSX.Element;
|
|
1127
1129
|
|
|
1128
1130
|
interface ObjectPropertyProps {
|
|
1129
1131
|
icon: 'LAND' | 'COMMERCE' | 'HOUSE' | 'ROOM_COUNT' | 'AREA_TOTAL' | 'AREA_LAND' | 'AREA_LIVING' | 'AREA_KITCHEN' | 'FLOORS_TOTAL' | 'FLOOR' | 'REPAIR' | 'PARKING' | 'BATH_COUNT';
|
|
1130
1132
|
label: string;
|
|
1131
1133
|
path?: string;
|
|
1132
1134
|
}
|
|
1133
|
-
declare const ObjectPropertyChip:
|
|
1135
|
+
declare const ObjectPropertyChip: ({ path, icon, label }: ObjectPropertyProps) => react_jsx_runtime.JSX.Element;
|
|
1134
1136
|
|
|
1135
|
-
declare const List:
|
|
1137
|
+
declare const List: (props: ListProps) => react_jsx_runtime.JSX.Element;
|
|
1136
1138
|
|
|
1137
1139
|
declare enum MACHINE_NAME {
|
|
1138
1140
|
RESIDENTIAL = "residential",
|
|
@@ -1220,7 +1222,7 @@ interface ListItemProps {
|
|
|
1220
1222
|
active?: boolean;
|
|
1221
1223
|
className?: string;
|
|
1222
1224
|
}
|
|
1223
|
-
declare const ListItem:
|
|
1225
|
+
declare const ListItem: ({ icon, title, subTitle, bold, value, onClickHandler, active, tag, className, }: ListItemProps) => react_jsx_runtime.JSX.Element;
|
|
1224
1226
|
|
|
1225
1227
|
interface TermListProps {
|
|
1226
1228
|
options: {
|
|
@@ -1249,7 +1251,7 @@ interface CustomButtonProps extends PropsWithChildren {
|
|
|
1249
1251
|
onClick?: () => void;
|
|
1250
1252
|
endIcon?: ReactNode;
|
|
1251
1253
|
}
|
|
1252
|
-
declare const Button:
|
|
1254
|
+
declare const Button: (props: CustomButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1253
1255
|
|
|
1254
1256
|
interface ButtonDarkProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1255
1257
|
title: string;
|
|
@@ -1265,7 +1267,7 @@ declare const ButtonDark: FC<ButtonDarkProps>;
|
|
|
1265
1267
|
interface CustomIconButtonProps extends IconButtonProps, PropsWithChildren {
|
|
1266
1268
|
isblack?: string;
|
|
1267
1269
|
}
|
|
1268
|
-
declare const IconButton:
|
|
1270
|
+
declare const IconButton: (props: CustomIconButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1269
1271
|
|
|
1270
1272
|
interface ToggleSortProps {
|
|
1271
1273
|
name: SORT_NAME;
|
|
@@ -1275,7 +1277,7 @@ interface ToggleSortProps {
|
|
|
1275
1277
|
flip: boolean;
|
|
1276
1278
|
defFlip?: boolean;
|
|
1277
1279
|
}
|
|
1278
|
-
declare const ToggleSort:
|
|
1280
|
+
declare const ToggleSort: (props: ToggleSortProps) => react_jsx_runtime.JSX.Element;
|
|
1279
1281
|
|
|
1280
1282
|
declare const SubmitSelectButton: (props: SelectChildrenProps) => react_jsx_runtime.JSX.Element;
|
|
1281
1283
|
|
|
@@ -1321,7 +1323,7 @@ interface ToggleButtonsMultipleProps {
|
|
|
1321
1323
|
value?: any;
|
|
1322
1324
|
exclusive?: boolean;
|
|
1323
1325
|
}
|
|
1324
|
-
declare const ToggleButtonsWithLabel:
|
|
1326
|
+
declare const ToggleButtonsWithLabel: (props: ToggleButtonsMultipleProps) => react_jsx_runtime.JSX.Element;
|
|
1325
1327
|
|
|
1326
1328
|
declare const ScrollButton: () => react_jsx_runtime.JSX.Element;
|
|
1327
1329
|
|
|
@@ -1330,12 +1332,12 @@ interface ButtonBadgeProps extends SelectChildrenProps {
|
|
|
1330
1332
|
badgeCount?: number;
|
|
1331
1333
|
className?: string;
|
|
1332
1334
|
}
|
|
1333
|
-
declare const ButtonBadge:
|
|
1335
|
+
declare const ButtonBadge: (props: ButtonBadgeProps) => react_jsx_runtime.JSX.Element;
|
|
1334
1336
|
|
|
1335
1337
|
interface ErrorMessageProps {
|
|
1336
1338
|
errorMessage?: string;
|
|
1337
1339
|
}
|
|
1338
|
-
declare const ErrorMessage:
|
|
1340
|
+
declare const ErrorMessage: (props: ErrorMessageProps) => react_jsx_runtime.JSX.Element;
|
|
1339
1341
|
|
|
1340
1342
|
declare const Input: FC<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
|
|
1341
1343
|
|
|
@@ -1347,7 +1349,7 @@ interface SearchInputProps$1 {
|
|
|
1347
1349
|
value: string;
|
|
1348
1350
|
onChange: (value: string) => void;
|
|
1349
1351
|
}
|
|
1350
|
-
declare const SearchInput:
|
|
1352
|
+
declare const SearchInput: (props: SearchInputProps$1) => react_jsx_runtime.JSX.Element;
|
|
1351
1353
|
|
|
1352
1354
|
declare const FormInput: FC<{
|
|
1353
1355
|
name: string;
|
|
@@ -1375,7 +1377,7 @@ interface SearchInputProps {
|
|
|
1375
1377
|
withoutIcon?: boolean;
|
|
1376
1378
|
transparentView?: boolean;
|
|
1377
1379
|
}
|
|
1378
|
-
declare const SearchPlaceInput:
|
|
1380
|
+
declare const SearchPlaceInput: (props: SearchInputProps) => react_jsx_runtime.JSX.Element;
|
|
1379
1381
|
|
|
1380
1382
|
interface PhoneInputProps {
|
|
1381
1383
|
defaultCountry?: CountryIso2;
|
|
@@ -1383,7 +1385,7 @@ interface PhoneInputProps {
|
|
|
1383
1385
|
onChange: (value: string) => void;
|
|
1384
1386
|
placeholder?: string;
|
|
1385
1387
|
}
|
|
1386
|
-
declare const PhoneInput:
|
|
1388
|
+
declare const PhoneInput: (props: PhoneInputProps) => react_jsx_runtime.JSX.Element;
|
|
1387
1389
|
|
|
1388
1390
|
declare const TextAreaInput: FC<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>>;
|
|
1389
1391
|
|
|
@@ -1402,35 +1404,35 @@ interface IPaginatorSimpleProps {
|
|
|
1402
1404
|
}
|
|
1403
1405
|
declare function PaginatorSimple({ total }: IPaginatorSimpleProps): react_jsx_runtime.JSX.Element;
|
|
1404
1406
|
|
|
1405
|
-
declare const H1:
|
|
1407
|
+
declare const H1: ({ children, className, smallerXs, uppercase, catalog, }: HProps) => react_jsx_runtime.JSX.Element;
|
|
1406
1408
|
|
|
1407
|
-
declare const H2:
|
|
1409
|
+
declare const H2: ({ children, className, leftXs }: HProps) => react_jsx_runtime.JSX.Element;
|
|
1408
1410
|
|
|
1409
|
-
declare const H3:
|
|
1411
|
+
declare const H3: ({ children, className }: HProps) => react_jsx_runtime.JSX.Element;
|
|
1410
1412
|
|
|
1411
|
-
declare const H4:
|
|
1413
|
+
declare const H4: ({ children, className, smallerXs, leftXs, }: HProps) => react_jsx_runtime.JSX.Element;
|
|
1412
1414
|
|
|
1413
|
-
declare const H5:
|
|
1415
|
+
declare const H5: ({ children, className }: HProps) => react_jsx_runtime.JSX.Element;
|
|
1414
1416
|
|
|
1415
|
-
declare const H6:
|
|
1417
|
+
declare const H6: ({ children, className, smallerXs, bold, }: HProps) => react_jsx_runtime.JSX.Element;
|
|
1416
1418
|
|
|
1417
1419
|
interface RichTextBlockProps {
|
|
1418
1420
|
body: Document | null | any;
|
|
1419
1421
|
className?: string;
|
|
1420
1422
|
}
|
|
1421
|
-
declare const RichTextBlock:
|
|
1423
|
+
declare const RichTextBlock: ({ body, className }: RichTextBlockProps) => react_jsx_runtime.JSX.Element;
|
|
1422
1424
|
|
|
1423
1425
|
interface FancyBoxProps {
|
|
1424
1426
|
options?: Partial<FancyboxOptions>;
|
|
1425
1427
|
delegate?: string;
|
|
1426
1428
|
}
|
|
1427
|
-
declare const FancyBox:
|
|
1429
|
+
declare const FancyBox: (props: PropsWithChildren<FancyBoxProps>) => react_jsx_runtime.JSX.Element;
|
|
1428
1430
|
|
|
1429
|
-
interface SingleSliderProps {
|
|
1431
|
+
interface SingleSliderProps extends PropsWithChildren {
|
|
1430
1432
|
singleView?: boolean;
|
|
1431
1433
|
dots?: boolean;
|
|
1432
1434
|
}
|
|
1433
|
-
declare const SingleSlider:
|
|
1435
|
+
declare const SingleSlider: ({ children, singleView, dots, }: SingleSliderProps) => react_jsx_runtime.JSX.Element;
|
|
1434
1436
|
|
|
1435
1437
|
interface CasesSliderProps {
|
|
1436
1438
|
cases: {
|
|
@@ -1439,7 +1441,7 @@ interface CasesSliderProps {
|
|
|
1439
1441
|
text2?: string;
|
|
1440
1442
|
}[];
|
|
1441
1443
|
}
|
|
1442
|
-
declare const CasesSlider:
|
|
1444
|
+
declare const CasesSlider: ({ cases }: CasesSliderProps) => react_jsx_runtime.JSX.Element;
|
|
1443
1445
|
|
|
1444
1446
|
interface BreadCrumbsProps extends PropsWithChildren {
|
|
1445
1447
|
activeLast?: boolean;
|
|
@@ -1478,7 +1480,7 @@ interface IArea {
|
|
|
1478
1480
|
interface AreaCardProps extends IArea {
|
|
1479
1481
|
className?: string;
|
|
1480
1482
|
}
|
|
1481
|
-
declare const AreaCard:
|
|
1483
|
+
declare const AreaCard: ({ imageUrl, className, title, whiteBottom, }: AreaCardProps) => react_jsx_runtime.JSX.Element;
|
|
1482
1484
|
|
|
1483
1485
|
interface IArticle {
|
|
1484
1486
|
imageUrl?: string;
|
|
@@ -1556,7 +1558,7 @@ interface RealtyCardProps {
|
|
|
1556
1558
|
imagePlaceholders?: string[];
|
|
1557
1559
|
imageUnoptimized?: boolean;
|
|
1558
1560
|
}
|
|
1559
|
-
declare const RealtyCard:
|
|
1561
|
+
declare const RealtyCard: (props: RealtyCardProps) => react_jsx_runtime.JSX.Element;
|
|
1560
1562
|
|
|
1561
1563
|
interface FeedbackCardProps {
|
|
1562
1564
|
imageUrl: string;
|
|
@@ -1565,15 +1567,15 @@ interface FeedbackCardProps {
|
|
|
1565
1567
|
rating: number;
|
|
1566
1568
|
feedbackText: string;
|
|
1567
1569
|
}
|
|
1568
|
-
declare const FeedbackCard:
|
|
1570
|
+
declare const FeedbackCard: (props: FeedbackCardProps) => react_jsx_runtime.JSX.Element;
|
|
1569
1571
|
|
|
1570
|
-
interface VacancyCardProps {
|
|
1572
|
+
interface VacancyCardProps extends PropsWithChildren {
|
|
1571
1573
|
shortDescription?: Document;
|
|
1572
1574
|
position?: string;
|
|
1573
1575
|
title?: ReactElement;
|
|
1574
1576
|
className?: string;
|
|
1575
1577
|
}
|
|
1576
|
-
declare const VacancyCard:
|
|
1578
|
+
declare const VacancyCard: (props: VacancyCardProps) => react_jsx_runtime.JSX.Element;
|
|
1577
1579
|
|
|
1578
1580
|
interface DeveloperCardProps {
|
|
1579
1581
|
className?: string;
|
|
@@ -1581,7 +1583,7 @@ interface DeveloperCardProps {
|
|
|
1581
1583
|
title?: string;
|
|
1582
1584
|
img_alt?: string;
|
|
1583
1585
|
}
|
|
1584
|
-
declare const DeveloperCard:
|
|
1586
|
+
declare const DeveloperCard: ({ className, title, img, img_alt, }: DeveloperCardProps) => react_jsx_runtime.JSX.Element;
|
|
1585
1587
|
|
|
1586
1588
|
interface InvestFormatCardProps {
|
|
1587
1589
|
title: string;
|