mayak-common-library-payload 0.2.6 → 0.2.8
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 +48 -380
- package/dist/index.d.ts +48 -380
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/next.config.mjs +1 -4
- package/package.json +1 -2
- package/i18n/i18n.ts +0 -7
- package/i18n/request.ts +0 -14
- package/i18n/routing.ts +0 -15
- package/messages/en.json +0 -207
- package/messages/ru.json +0 -207
- package/messages/uk.json +0 -206
package/dist/index.d.mts
CHANGED
|
@@ -24,16 +24,6 @@ type SelectChildrenProps = {
|
|
|
24
24
|
type LanguageSlugsType = {
|
|
25
25
|
[key: string]: string;
|
|
26
26
|
};
|
|
27
|
-
type localesProps = {
|
|
28
|
-
label: string;
|
|
29
|
-
locale: string;
|
|
30
|
-
}[];
|
|
31
|
-
interface LocaleSwitcherProps {
|
|
32
|
-
locales: localesProps;
|
|
33
|
-
homePage: string;
|
|
34
|
-
defLocale: string;
|
|
35
|
-
select?: boolean;
|
|
36
|
-
}
|
|
37
27
|
declare const SITE: {
|
|
38
28
|
KYIV: string;
|
|
39
29
|
DUBAI: string;
|
|
@@ -69,11 +59,7 @@ interface IBenefit {
|
|
|
69
59
|
description?: ReactNode;
|
|
70
60
|
}
|
|
71
61
|
|
|
72
|
-
interface
|
|
73
|
-
number?: number | null;
|
|
74
|
-
text?: string | null;
|
|
75
|
-
}
|
|
76
|
-
interface IBoxItem$3 {
|
|
62
|
+
interface IBoxItem$2 {
|
|
77
63
|
title?: string | null;
|
|
78
64
|
label?: string | null;
|
|
79
65
|
description?: ReactNode | null;
|
|
@@ -81,7 +67,7 @@ interface IBoxItem$3 {
|
|
|
81
67
|
interface AboutCompanyMainProps {
|
|
82
68
|
title?: string | null;
|
|
83
69
|
content: ReactNode;
|
|
84
|
-
box?: IBoxItem$
|
|
70
|
+
box?: IBoxItem$2[] | null;
|
|
85
71
|
workerCeo?: IWorker | null;
|
|
86
72
|
className?: string;
|
|
87
73
|
site?: Site;
|
|
@@ -106,7 +92,7 @@ interface IAboutUsFirstBlockProps {
|
|
|
106
92
|
}
|
|
107
93
|
declare function AboutUsFirstBlock({ className, box, content, additionalContent, title, actionButton, videoLink, }: IAboutUsFirstBlockProps): react_jsx_runtime.JSX.Element;
|
|
108
94
|
|
|
109
|
-
interface IBoxItem$
|
|
95
|
+
interface IBoxItem$1 {
|
|
110
96
|
icon?: string;
|
|
111
97
|
label?: string;
|
|
112
98
|
text?: string;
|
|
@@ -114,7 +100,7 @@ interface IBoxItem$2 {
|
|
|
114
100
|
interface AmenitiesBlockProps {
|
|
115
101
|
className?: string;
|
|
116
102
|
title?: string;
|
|
117
|
-
box?: IBoxItem$
|
|
103
|
+
box?: IBoxItem$1[];
|
|
118
104
|
}
|
|
119
105
|
declare const AmenitiesBlock: FC<AmenitiesBlockProps>;
|
|
120
106
|
|
|
@@ -150,26 +136,6 @@ interface ArticleContentProps {
|
|
|
150
136
|
}
|
|
151
137
|
declare function ArticleContent({ title, content, imageUrl, date, className, contactComponent, }: ArticleContentProps): react_jsx_runtime.JSX.Element;
|
|
152
138
|
|
|
153
|
-
interface IArticle {
|
|
154
|
-
imageUrl?: string | null;
|
|
155
|
-
title?: string | null;
|
|
156
|
-
text?: string | null;
|
|
157
|
-
}
|
|
158
|
-
interface IArticleCard extends IArticle {
|
|
159
|
-
className?: string;
|
|
160
|
-
}
|
|
161
|
-
declare function ArticleCard({ imageUrl, className, title, text, }: IArticleCard): react_jsx_runtime.JSX.Element;
|
|
162
|
-
|
|
163
|
-
interface IArticlesFull {
|
|
164
|
-
className?: string;
|
|
165
|
-
title?: string;
|
|
166
|
-
articles?: IArticle[];
|
|
167
|
-
totalArticles: number;
|
|
168
|
-
pageCount: number;
|
|
169
|
-
href: string;
|
|
170
|
-
}
|
|
171
|
-
declare function ArticlesFull({ title, className, totalArticles, pageCount, }: IArticlesFull): react_jsx_runtime.JSX.Element;
|
|
172
|
-
|
|
173
139
|
interface BannerBlockProps {
|
|
174
140
|
videoLink?: string | null;
|
|
175
141
|
title?: string | null;
|
|
@@ -273,14 +239,13 @@ interface BlockImagesProps {
|
|
|
273
239
|
}
|
|
274
240
|
declare function BlockImages({ className, images, title, }: BlockImagesProps): react_jsx_runtime.JSX.Element;
|
|
275
241
|
|
|
276
|
-
interface BlockOurTeamProps {
|
|
242
|
+
interface BlockOurTeamProps extends PropsWithChildren {
|
|
277
243
|
title?: string | null;
|
|
278
244
|
text?: string | null;
|
|
279
|
-
team?: IWorker[] | null;
|
|
280
245
|
className?: string;
|
|
281
246
|
full?: boolean;
|
|
282
247
|
}
|
|
283
|
-
declare const BlockOurTeam:
|
|
248
|
+
declare const BlockOurTeam: ({ title, text, className, full, children, }: BlockOurTeamProps) => react_jsx_runtime.JSX.Element;
|
|
284
249
|
|
|
285
250
|
interface IBlockOurTeam {
|
|
286
251
|
title?: string;
|
|
@@ -291,17 +256,6 @@ interface IBlockOurTeam {
|
|
|
291
256
|
}
|
|
292
257
|
declare function BlockOurTeamGrid({ team, title, text, className, btnLabel, }: IBlockOurTeam): react_jsx_runtime.JSX.Element | null;
|
|
293
258
|
|
|
294
|
-
interface CallConsultProps {
|
|
295
|
-
className?: string;
|
|
296
|
-
title?: string;
|
|
297
|
-
}
|
|
298
|
-
declare const CallConsult: FC<CallConsultProps>;
|
|
299
|
-
|
|
300
|
-
interface ICallMeBlock {
|
|
301
|
-
className?: string;
|
|
302
|
-
}
|
|
303
|
-
declare function CallMeBlock({ className }: ICallMeBlock): react_jsx_runtime.JSX.Element;
|
|
304
|
-
|
|
305
259
|
interface CatalogCategoriesBlockProps {
|
|
306
260
|
title?: string;
|
|
307
261
|
categories?: ReactElement[];
|
|
@@ -320,14 +274,13 @@ declare const ClientTransferProcess: FC<ClientTransferProcessProps>;
|
|
|
320
274
|
|
|
321
275
|
interface IContactUsBlock {
|
|
322
276
|
className?: string;
|
|
323
|
-
phone
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
};
|
|
277
|
+
phone?: string | null;
|
|
278
|
+
title?: string;
|
|
279
|
+
subtitle?: string;
|
|
280
|
+
description?: string;
|
|
281
|
+
manager: IWorker;
|
|
329
282
|
}
|
|
330
|
-
declare function ContactUsBlock({ className, phone, manager, }: IContactUsBlock): react_jsx_runtime.JSX.Element;
|
|
283
|
+
declare function ContactUsBlock({ className, phone, manager, description, title, subtitle, }: IContactUsBlock): react_jsx_runtime.JSX.Element;
|
|
331
284
|
|
|
332
285
|
interface ExpertiseBlockProps {
|
|
333
286
|
block1: {
|
|
@@ -401,23 +354,6 @@ interface OfficesBlockProps {
|
|
|
401
354
|
}
|
|
402
355
|
declare const OfficesBlock: FC<OfficesBlockProps>;
|
|
403
356
|
|
|
404
|
-
interface IVacancy {
|
|
405
|
-
slug?: string;
|
|
406
|
-
position?: string;
|
|
407
|
-
salary?: string;
|
|
408
|
-
location?: string;
|
|
409
|
-
updatedAt?: string;
|
|
410
|
-
qualitiesText?: any;
|
|
411
|
-
shortDescription?: ReactNode;
|
|
412
|
-
fullDescription?: ReactNode;
|
|
413
|
-
}
|
|
414
|
-
interface OtherVacanciesProps {
|
|
415
|
-
vacancies?: IVacancy[];
|
|
416
|
-
className?: string;
|
|
417
|
-
href: string;
|
|
418
|
-
}
|
|
419
|
-
declare function OtherVacancies({ vacancies, className, href, }: OtherVacanciesProps): react_jsx_runtime.JSX.Element;
|
|
420
|
-
|
|
421
357
|
interface IBlock {
|
|
422
358
|
strongText?: string;
|
|
423
359
|
text?: string;
|
|
@@ -443,40 +379,8 @@ interface OurServicesProps {
|
|
|
443
379
|
}
|
|
444
380
|
declare const OurServices: FC<OurServicesProps>;
|
|
445
381
|
|
|
446
|
-
interface PopularAreasProps {
|
|
447
|
-
className?: string;
|
|
448
|
-
title?: string;
|
|
449
|
-
items?: {
|
|
450
|
-
label?: string;
|
|
451
|
-
text?: string;
|
|
452
|
-
imgSrc?: string;
|
|
453
|
-
rows?: number;
|
|
454
|
-
cols?: number;
|
|
455
|
-
slug?: string;
|
|
456
|
-
}[];
|
|
457
|
-
href: string;
|
|
458
|
-
}
|
|
459
|
-
declare const PopularAreas: FC<PopularAreasProps>;
|
|
460
|
-
|
|
461
382
|
declare const ObjectProperties: FC<PropsWithChildren>;
|
|
462
383
|
|
|
463
|
-
interface IBoxItem$1 {
|
|
464
|
-
img?: string | null;
|
|
465
|
-
label?: string | null;
|
|
466
|
-
from?: string | null;
|
|
467
|
-
to?: string | null;
|
|
468
|
-
description?: ReactNode;
|
|
469
|
-
date?: string | null;
|
|
470
|
-
income?: string | null;
|
|
471
|
-
}
|
|
472
|
-
interface IPortfoliosProps {
|
|
473
|
-
className?: string;
|
|
474
|
-
title?: string | null;
|
|
475
|
-
box?: IBoxItem$1[];
|
|
476
|
-
actionComponent?: ReactNode;
|
|
477
|
-
}
|
|
478
|
-
declare function Portfolios({ className, box, title, actionComponent, }: IPortfoliosProps): react_jsx_runtime.JSX.Element;
|
|
479
|
-
|
|
480
384
|
interface ReferralProgramFirstBlockProps {
|
|
481
385
|
title?: string | null;
|
|
482
386
|
subtitle?: string | null;
|
|
@@ -487,17 +391,6 @@ interface ReferralProgramFirstBlockProps {
|
|
|
487
391
|
}
|
|
488
392
|
declare const ReferralProgramFirstBlock: ({ title, subtitle, box, content, className, actionComponent, }: ReferralProgramFirstBlockProps) => react_jsx_runtime.JSX.Element;
|
|
489
393
|
|
|
490
|
-
interface IServicesTexts {
|
|
491
|
-
title?: string;
|
|
492
|
-
subtitle?: string;
|
|
493
|
-
text1?: string;
|
|
494
|
-
text2?: string;
|
|
495
|
-
title2?: string;
|
|
496
|
-
text3?: string;
|
|
497
|
-
className?: string;
|
|
498
|
-
}
|
|
499
|
-
declare function ServicesTexts({ text1, text2, text3, title2, title, subtitle, className, }: IServicesTexts): react_jsx_runtime.JSX.Element;
|
|
500
|
-
|
|
501
394
|
interface SocialBlockProps {
|
|
502
395
|
className?: string;
|
|
503
396
|
instagram?: string | null;
|
|
@@ -527,7 +420,7 @@ interface TeamWorkerBlockProps {
|
|
|
527
420
|
turn?: 'right' | 'left';
|
|
528
421
|
bgSrc?: string | null;
|
|
529
422
|
}
|
|
530
|
-
declare const TeamWorkerBlock:
|
|
423
|
+
declare const TeamWorkerBlock: ({ image_url, name, position, social, description, turn, }: TeamWorkerBlockProps) => react_jsx_runtime.JSX.Element;
|
|
531
424
|
|
|
532
425
|
interface TextBlockProps {
|
|
533
426
|
className?: string;
|
|
@@ -538,28 +431,16 @@ declare const TextBlock: FC<TextBlockProps>;
|
|
|
538
431
|
|
|
539
432
|
declare const ThanksBlock: () => react_jsx_runtime.JSX.Element;
|
|
540
433
|
|
|
541
|
-
interface ITrustUs {
|
|
542
|
-
className?: string;
|
|
543
|
-
title?: string;
|
|
544
|
-
text?: string;
|
|
545
|
-
numbers?: INumberText[];
|
|
546
|
-
imageUrl?: string;
|
|
547
|
-
}
|
|
548
|
-
declare function TrustUs({ className, title, text, numbers, imageUrl, }: ITrustUs): react_jsx_runtime.JSX.Element;
|
|
549
|
-
|
|
550
434
|
interface VacancyBoxInfoProps {
|
|
551
435
|
label?: string | null;
|
|
552
436
|
updatedAt?: string | null;
|
|
553
437
|
salary?: string | null;
|
|
554
438
|
location?: string | null;
|
|
555
|
-
button?: boolean;
|
|
556
439
|
className?: string;
|
|
557
|
-
slug?: string | null;
|
|
558
|
-
href?: string;
|
|
559
440
|
inLink?: boolean;
|
|
560
|
-
|
|
441
|
+
actionComponent?: ReactNode;
|
|
561
442
|
}
|
|
562
|
-
declare const VacancyBoxInfo: ({ label, updatedAt, className, salary,
|
|
443
|
+
declare const VacancyBoxInfo: ({ label, updatedAt, className, salary, location, inLink, actionComponent, }: VacancyBoxInfoProps) => react_jsx_runtime.JSX.Element;
|
|
563
444
|
|
|
564
445
|
interface VacancyInfoItemsProps {
|
|
565
446
|
updatedAt?: string | null;
|
|
@@ -567,7 +448,7 @@ interface VacancyInfoItemsProps {
|
|
|
567
448
|
location?: string | null;
|
|
568
449
|
innerClasses?: string;
|
|
569
450
|
}
|
|
570
|
-
declare const VacancyInfoItems:
|
|
451
|
+
declare const VacancyInfoItems: ({ updatedAt, location, salary, innerClasses, }: VacancyInfoItemsProps) => react_jsx_runtime.JSX.Element;
|
|
571
452
|
|
|
572
453
|
interface IVacancyContent {
|
|
573
454
|
title?: string | null;
|
|
@@ -673,12 +554,13 @@ declare const ObjectInfoBlock: ({ title, text, properties, className, actionComp
|
|
|
673
554
|
|
|
674
555
|
interface PaymentPlanBlockProps {
|
|
675
556
|
data: PresentBlockProps[];
|
|
557
|
+
label: string;
|
|
676
558
|
}
|
|
677
559
|
interface PresentBlockProps {
|
|
678
560
|
present: string;
|
|
679
561
|
description: string;
|
|
680
562
|
}
|
|
681
|
-
declare const PaymentPlanBlock:
|
|
563
|
+
declare const PaymentPlanBlock: ({ data, label }: PaymentPlanBlockProps) => react_jsx_runtime.JSX.Element;
|
|
682
564
|
|
|
683
565
|
interface FloorPlansBlockProps {
|
|
684
566
|
}
|
|
@@ -704,30 +586,15 @@ interface GalleryBlockProps {
|
|
|
704
586
|
}
|
|
705
587
|
declare const GalleryBlock: FC<GalleryBlockProps>;
|
|
706
588
|
|
|
707
|
-
|
|
589
|
+
interface ContactBlockProps {
|
|
708
590
|
className?: string;
|
|
591
|
+
managerImage?: string;
|
|
592
|
+
bgImage?: string;
|
|
709
593
|
actionComponent?: ReactNode;
|
|
710
|
-
}>;
|
|
711
|
-
|
|
712
|
-
interface NewProjectCardProps {
|
|
713
|
-
slug?: string;
|
|
714
|
-
images?: Array<string | null>;
|
|
715
594
|
title?: string;
|
|
716
|
-
|
|
717
|
-
price?: string;
|
|
718
|
-
developer?: string;
|
|
719
|
-
houseTypes?: string[];
|
|
720
|
-
href: string;
|
|
721
|
-
handover?: string;
|
|
722
|
-
}
|
|
723
|
-
declare const NewProjectCard: FC<NewProjectCardProps>;
|
|
724
|
-
|
|
725
|
-
interface ICatalogNewProjectsProps {
|
|
726
|
-
className?: string;
|
|
727
|
-
href: string;
|
|
728
|
-
newProjects?: NewProjectCardProps[];
|
|
595
|
+
description?: string;
|
|
729
596
|
}
|
|
730
|
-
declare
|
|
597
|
+
declare const ContactBlock: ({ className, actionComponent, description, title, managerImage, bgImage, }: ContactBlockProps) => react_jsx_runtime.JSX.Element;
|
|
731
598
|
|
|
732
599
|
interface IServiceItem {
|
|
733
600
|
imageUrl?: string | null;
|
|
@@ -740,10 +607,9 @@ interface ServicesFullProps {
|
|
|
740
607
|
className?: string;
|
|
741
608
|
services?: IServiceItem[];
|
|
742
609
|
totalServices?: number;
|
|
743
|
-
href: string;
|
|
744
610
|
linkLabel: string;
|
|
745
611
|
}
|
|
746
|
-
declare const ServicesFull: ({ services, className
|
|
612
|
+
declare const ServicesFull: ({ services, className }: ServicesFullProps) => react_jsx_runtime.JSX.Element;
|
|
747
613
|
|
|
748
614
|
interface DeveloperBannerProps {
|
|
749
615
|
className?: string;
|
|
@@ -752,18 +618,6 @@ interface DeveloperBannerProps {
|
|
|
752
618
|
}
|
|
753
619
|
declare const DeveloperBanner: FC<DeveloperBannerProps>;
|
|
754
620
|
|
|
755
|
-
interface IDeveloperTwoBlocks {
|
|
756
|
-
className?: string;
|
|
757
|
-
title?: string;
|
|
758
|
-
text?: string;
|
|
759
|
-
block: {
|
|
760
|
-
projects?: string;
|
|
761
|
-
priceFrom?: string;
|
|
762
|
-
begin?: string;
|
|
763
|
-
};
|
|
764
|
-
}
|
|
765
|
-
declare function DeveloperTwoBlocks({ className, block, text, title, }: IDeveloperTwoBlocks): react_jsx_runtime.JSX.Element;
|
|
766
|
-
|
|
767
621
|
interface ImageAndTextBlockProps {
|
|
768
622
|
className?: string;
|
|
769
623
|
imgSrc?: string;
|
|
@@ -779,111 +633,6 @@ interface TwoTextColumnProps {
|
|
|
779
633
|
}
|
|
780
634
|
declare const TwoTextColumn: ({ className, info }: TwoTextColumnProps) => react_jsx_runtime.JSX.Element;
|
|
781
635
|
|
|
782
|
-
interface RealtyTitleProps {
|
|
783
|
-
title?: string | null;
|
|
784
|
-
article?: string | number | null;
|
|
785
|
-
}
|
|
786
|
-
declare const RealtyTitle: FC<RealtyTitleProps>;
|
|
787
|
-
|
|
788
|
-
interface RealtyPriceProps {
|
|
789
|
-
realtyForRent?: boolean;
|
|
790
|
-
price: string;
|
|
791
|
-
currencySwitcher?: ReactNode;
|
|
792
|
-
}
|
|
793
|
-
declare const RealtyPrice: FC<RealtyPriceProps>;
|
|
794
|
-
|
|
795
|
-
declare enum ESTagEnum {
|
|
796
|
-
Borough = "borough",
|
|
797
|
-
District = "district",
|
|
798
|
-
City = "city",
|
|
799
|
-
Metro = "metro",
|
|
800
|
-
Street = "street",
|
|
801
|
-
Complex = "complex",
|
|
802
|
-
Region = "region",
|
|
803
|
-
Property = "property",
|
|
804
|
-
Town = "town",
|
|
805
|
-
County = "county"
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
type MenuItem = {
|
|
809
|
-
path: string;
|
|
810
|
-
title: string;
|
|
811
|
-
};
|
|
812
|
-
interface IFooter {
|
|
813
|
-
instagram?: string;
|
|
814
|
-
facebook?: string;
|
|
815
|
-
youtube?: string;
|
|
816
|
-
linkedIn?: string;
|
|
817
|
-
menuItems: MenuItem[];
|
|
818
|
-
mainPhone?: string;
|
|
819
|
-
site: Site;
|
|
820
|
-
homePage: string;
|
|
821
|
-
}
|
|
822
|
-
type BreadCrumbsItem = {
|
|
823
|
-
label: string;
|
|
824
|
-
path: string;
|
|
825
|
-
tag?: ESTagEnum;
|
|
826
|
-
};
|
|
827
|
-
|
|
828
|
-
interface RealtyAddressProps {
|
|
829
|
-
address?: string;
|
|
830
|
-
addressLinks: Array<BreadCrumbsItem | undefined>;
|
|
831
|
-
metros?: BreadCrumbsItem[] | null;
|
|
832
|
-
}
|
|
833
|
-
declare const RealtyAddress: FC<RealtyAddressProps>;
|
|
834
|
-
|
|
835
|
-
interface RealtyDetailsProps {
|
|
836
|
-
realtyType?: {
|
|
837
|
-
machineName?: string | null;
|
|
838
|
-
value?: string;
|
|
839
|
-
};
|
|
840
|
-
areaTotal?: number | string | null;
|
|
841
|
-
areaLand?: string | null;
|
|
842
|
-
areaLiving?: string | null;
|
|
843
|
-
areaKitchen?: string | null;
|
|
844
|
-
rooms?: number | null;
|
|
845
|
-
bathrooms?: number | null;
|
|
846
|
-
parkingCount?: string | number | null;
|
|
847
|
-
floor?: string | null;
|
|
848
|
-
totalFloors?: string | null;
|
|
849
|
-
repair?: string | null;
|
|
850
|
-
roomCountLink?: string | null;
|
|
851
|
-
propertyType?: string | null;
|
|
852
|
-
furnishStatus?: string | null;
|
|
853
|
-
construction?: string | null;
|
|
854
|
-
stars?: string | null;
|
|
855
|
-
className?: string;
|
|
856
|
-
site: Site;
|
|
857
|
-
}
|
|
858
|
-
declare const RealtyDetails: FC<RealtyDetailsProps>;
|
|
859
|
-
|
|
860
|
-
interface RealtyDescriptionProps {
|
|
861
|
-
description?: string | null;
|
|
862
|
-
}
|
|
863
|
-
declare const RealtyDescription: FC<RealtyDescriptionProps>;
|
|
864
|
-
|
|
865
|
-
interface CatalogContainerProps {
|
|
866
|
-
className?: string;
|
|
867
|
-
emptyCatalogMessage?: string;
|
|
868
|
-
}
|
|
869
|
-
declare const CatalogContainer: FC<CatalogContainerProps & PropsWithChildren>;
|
|
870
|
-
|
|
871
|
-
interface SliderContainerProps {
|
|
872
|
-
className?: string;
|
|
873
|
-
buttonText?: string;
|
|
874
|
-
buttonHref?: string;
|
|
875
|
-
title?: string;
|
|
876
|
-
titleTag?: 'h2' | 'h3';
|
|
877
|
-
slidesView?: 3 | 4 | 6;
|
|
878
|
-
dots?: boolean;
|
|
879
|
-
dotsOnMobile?: boolean;
|
|
880
|
-
classNameDots?: string;
|
|
881
|
-
navigation?: boolean;
|
|
882
|
-
loop?: boolean;
|
|
883
|
-
fullScreen?: boolean;
|
|
884
|
-
}
|
|
885
|
-
declare const SliderContainer: FC<SliderContainerProps & PropsWithChildren>;
|
|
886
|
-
|
|
887
636
|
interface MainContainerProps {
|
|
888
637
|
className?: string;
|
|
889
638
|
}
|
|
@@ -935,29 +684,6 @@ type LocaleSlug = LocaleSlugSlice & LocaleSlugActions;
|
|
|
935
684
|
declare const createLocaleSlugSlice: StateCreator<LocaleSlug>;
|
|
936
685
|
declare const useLocaleSlugStore: zustand.UseBoundStore<zustand.StoreApi<LocaleSlug>>;
|
|
937
686
|
|
|
938
|
-
type LayoutStore = Modal;
|
|
939
|
-
declare enum MODAL_COMPONENT {
|
|
940
|
-
GENERAL = "GENERAL",
|
|
941
|
-
THANKS = "THANKS",
|
|
942
|
-
REQUEST = "REQUEST"
|
|
943
|
-
}
|
|
944
|
-
declare const MODAL_COMPONENTS: any;
|
|
945
|
-
declare const MODAL_TITLES: any;
|
|
946
|
-
interface ModalSlice {
|
|
947
|
-
openModal: boolean;
|
|
948
|
-
typeModal?: MODAL_COMPONENT;
|
|
949
|
-
dataModal?: any;
|
|
950
|
-
additionalCloseBtn?: boolean;
|
|
951
|
-
bgColor?: 'gold' | 'white';
|
|
952
|
-
}
|
|
953
|
-
interface ModalActions {
|
|
954
|
-
showModal: (type: MODAL_COMPONENT, data?: any, additionalCloseBtn?: boolean, bgColor?: 'gold' | 'white') => void;
|
|
955
|
-
hideModal: () => void;
|
|
956
|
-
}
|
|
957
|
-
type Modal = ModalSlice & ModalActions;
|
|
958
|
-
declare const createModalSlice: StateCreator<Modal>;
|
|
959
|
-
declare const useLayoutStore: zustand.UseBoundStore<zustand.StoreApi<Modal>>;
|
|
960
|
-
|
|
961
687
|
declare const Header: FC<PropsWithChildren & {
|
|
962
688
|
locale: string;
|
|
963
689
|
homePage: string;
|
|
@@ -972,9 +698,7 @@ interface HeaderContactButtonProps {
|
|
|
972
698
|
}
|
|
973
699
|
declare const _default: react.NamedExoticComponent<HeaderContactButtonProps>;
|
|
974
700
|
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
interface FooterDubaiProps {
|
|
701
|
+
interface FooterProps {
|
|
978
702
|
instagram?: string | null;
|
|
979
703
|
city?: string | null;
|
|
980
704
|
location?: string | null;
|
|
@@ -984,16 +708,14 @@ interface FooterDubaiProps {
|
|
|
984
708
|
menuItems: ReactNode[][];
|
|
985
709
|
mainPhone?: string | null;
|
|
986
710
|
site: Site;
|
|
987
|
-
homePage: string;
|
|
988
711
|
locale: string;
|
|
989
712
|
bottomText: string;
|
|
990
713
|
oneLogo?: string | null;
|
|
991
714
|
}
|
|
992
|
-
declare const
|
|
715
|
+
declare const Footer: ({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, oneLogo, city, location, locale, bottomText, }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
993
716
|
|
|
994
717
|
declare const HeaderMob: FC<PropsWithChildren & {
|
|
995
718
|
locale: string;
|
|
996
|
-
homePage: string;
|
|
997
719
|
}>;
|
|
998
720
|
|
|
999
721
|
interface IMainBoxProps {
|
|
@@ -1006,12 +728,9 @@ interface LogoBlockProps {
|
|
|
1006
728
|
className?: string;
|
|
1007
729
|
small?: boolean;
|
|
1008
730
|
locale: string;
|
|
1009
|
-
homePage: string;
|
|
1010
731
|
oneLogo?: string | null;
|
|
1011
732
|
}
|
|
1012
|
-
declare const LogoBlock:
|
|
1013
|
-
|
|
1014
|
-
declare const LogoBlockWhite: () => react_jsx_runtime.JSX.Element;
|
|
733
|
+
declare const LogoBlock: ({ className, small, locale, oneLogo, }: LogoBlockProps) => react_jsx_runtime.JSX.Element;
|
|
1015
734
|
|
|
1016
735
|
interface BadgeProps {
|
|
1017
736
|
content?: number;
|
|
@@ -1085,7 +804,6 @@ interface LinkIconBorderProps {
|
|
|
1085
804
|
classesText?: string;
|
|
1086
805
|
color?: 'dark' | 'gray';
|
|
1087
806
|
onClick?: Function;
|
|
1088
|
-
href?: string;
|
|
1089
807
|
}
|
|
1090
808
|
declare const LinkIconBorder: FC<LinkIconBorderProps>;
|
|
1091
809
|
|
|
@@ -1095,16 +813,13 @@ interface CustomSwitchProps {
|
|
|
1095
813
|
}
|
|
1096
814
|
declare const Switch: FC<CustomSwitchProps & SwitchProps>;
|
|
1097
815
|
|
|
1098
|
-
declare const LocaleSwitch: FC<LocaleSwitcherProps>;
|
|
1099
|
-
|
|
1100
816
|
interface SiteSwitcherProps {
|
|
1101
817
|
currentSite: Site;
|
|
1102
818
|
onlyGlobal?: boolean;
|
|
1103
819
|
select?: boolean;
|
|
820
|
+
pathname: string;
|
|
1104
821
|
}
|
|
1105
|
-
declare const SiteSwitch:
|
|
1106
|
-
|
|
1107
|
-
declare const LocaleSwitchToggle: FC<LocaleSwitcherProps>;
|
|
822
|
+
declare const SiteSwitch: (props: SiteSwitcherProps) => react_jsx_runtime.JSX.Element;
|
|
1108
823
|
|
|
1109
824
|
declare const CatalogViewSwitch: () => react_jsx_runtime.JSX.Element;
|
|
1110
825
|
|
|
@@ -1121,9 +836,9 @@ declare const Chip: FC<ChipProps>;
|
|
|
1121
836
|
interface ObjectPropertyProps {
|
|
1122
837
|
icon: 'LAND' | 'COMMERCE' | 'HOUSE' | 'ROOM_COUNT' | 'AREA_TOTAL' | 'AREA_LAND' | 'AREA_LIVING' | 'AREA_KITCHEN' | 'FLOORS_TOTAL' | 'FLOOR' | 'REPAIR' | 'PARKING' | 'BATH_COUNT';
|
|
1123
838
|
label: string;
|
|
1124
|
-
|
|
839
|
+
link?: ReactNode;
|
|
1125
840
|
}
|
|
1126
|
-
declare const ObjectPropertyChip:
|
|
841
|
+
declare const ObjectPropertyChip: ({ link, icon, label }: ObjectPropertyProps) => react_jsx_runtime.JSX.Element;
|
|
1127
842
|
|
|
1128
843
|
declare const List: FC<ListProps>;
|
|
1129
844
|
|
|
@@ -1268,8 +983,6 @@ interface ToggleSortProps {
|
|
|
1268
983
|
}
|
|
1269
984
|
declare const ToggleSort: FC<ToggleSortProps>;
|
|
1270
985
|
|
|
1271
|
-
declare const SubmitSelectButton: (props: SelectChildrenProps) => react_jsx_runtime.JSX.Element;
|
|
1272
|
-
|
|
1273
986
|
declare const ToggleButton: FC<ToggleButtonProps & {
|
|
1274
987
|
textView?: boolean;
|
|
1275
988
|
}>;
|
|
@@ -1327,7 +1040,7 @@ declare const ButtonBadge: FC<SelectChildrenProps & ButtonBadgeProps>;
|
|
|
1327
1040
|
interface ErrorMessageProps {
|
|
1328
1041
|
errorMessage?: string;
|
|
1329
1042
|
}
|
|
1330
|
-
declare const ErrorMessage:
|
|
1043
|
+
declare const ErrorMessage: (props: ErrorMessageProps) => react_jsx_runtime.JSX.Element;
|
|
1331
1044
|
|
|
1332
1045
|
declare const Input: FC<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
|
|
1333
1046
|
|
|
@@ -1432,6 +1145,7 @@ interface SingleSliderProps {
|
|
|
1432
1145
|
declare const SingleSlider: FC<PropsWithChildren & SingleSliderProps>;
|
|
1433
1146
|
|
|
1434
1147
|
interface CasesSliderProps {
|
|
1148
|
+
label?: string;
|
|
1435
1149
|
cases: {
|
|
1436
1150
|
imageUrl?: string;
|
|
1437
1151
|
text1?: string;
|
|
@@ -1440,18 +1154,13 @@ interface CasesSliderProps {
|
|
|
1440
1154
|
}
|
|
1441
1155
|
declare const CasesSlider: FC<CasesSliderProps>;
|
|
1442
1156
|
|
|
1443
|
-
interface BreadCrumbsProps {
|
|
1444
|
-
breadCrumbsList: Array<BreadCrumbsItem | undefined | null>;
|
|
1445
|
-
}
|
|
1446
|
-
declare const BreadCrumbs: FC<BreadCrumbsProps>;
|
|
1447
|
-
|
|
1448
1157
|
interface TeamPersonCardProps {
|
|
1449
1158
|
image_url?: string | null;
|
|
1450
1159
|
name?: string | null;
|
|
1451
1160
|
position?: string | null;
|
|
1452
1161
|
description?: ReactNode | null;
|
|
1453
1162
|
}
|
|
1454
|
-
declare const TeamPersonCard:
|
|
1163
|
+
declare const TeamPersonCard: ({ image_url, name, position, description, }: TeamPersonCardProps) => react_jsx_runtime.JSX.Element;
|
|
1455
1164
|
|
|
1456
1165
|
interface IArea {
|
|
1457
1166
|
imageUrl?: string;
|
|
@@ -1464,6 +1173,16 @@ interface AreaCardProps extends IArea {
|
|
|
1464
1173
|
}
|
|
1465
1174
|
declare const AreaCard: FC<AreaCardProps>;
|
|
1466
1175
|
|
|
1176
|
+
interface IArticle {
|
|
1177
|
+
imageUrl?: string | null;
|
|
1178
|
+
title?: string | null;
|
|
1179
|
+
text?: string | null;
|
|
1180
|
+
}
|
|
1181
|
+
interface IArticleCard extends IArticle {
|
|
1182
|
+
className?: string;
|
|
1183
|
+
}
|
|
1184
|
+
declare function ArticleCard({ imageUrl, className, title, text, }: IArticleCard): react_jsx_runtime.JSX.Element;
|
|
1185
|
+
|
|
1467
1186
|
interface IRealtorCard {
|
|
1468
1187
|
realtor?: IWorker;
|
|
1469
1188
|
site: Site;
|
|
@@ -1477,57 +1196,6 @@ interface CategoryCardProps {
|
|
|
1477
1196
|
}
|
|
1478
1197
|
declare function CategoryCard({ title, image_url }: CategoryCardProps): react_jsx_runtime.JSX.Element;
|
|
1479
1198
|
|
|
1480
|
-
interface DetailsProps {
|
|
1481
|
-
studio?: boolean | null;
|
|
1482
|
-
rooms?: string | null;
|
|
1483
|
-
bedrooms?: string | null;
|
|
1484
|
-
bathrooms?: string | number | null;
|
|
1485
|
-
stars?: string | null;
|
|
1486
|
-
areaTotal?: string | null;
|
|
1487
|
-
areaLand?: string | null;
|
|
1488
|
-
floor?: string | null;
|
|
1489
|
-
totalFloors?: string | null;
|
|
1490
|
-
realtyType?: {
|
|
1491
|
-
machineName?: string | null;
|
|
1492
|
-
value?: string | null;
|
|
1493
|
-
};
|
|
1494
|
-
houseTypes?: Array<string | undefined | null> | null;
|
|
1495
|
-
}
|
|
1496
|
-
interface PropertyDetailsProps {
|
|
1497
|
-
details: DetailsProps;
|
|
1498
|
-
site: Site;
|
|
1499
|
-
}
|
|
1500
|
-
declare const RealtyCardProperty: FC<PropertyDetailsProps>;
|
|
1501
|
-
|
|
1502
|
-
interface RealtyCardProps {
|
|
1503
|
-
href: string;
|
|
1504
|
-
view?: 'vertical' | 'horizontal';
|
|
1505
|
-
tags?: Array<string | undefined | null>;
|
|
1506
|
-
details: DetailsProps;
|
|
1507
|
-
images?: Array<string | null>;
|
|
1508
|
-
address?: string;
|
|
1509
|
-
addressWithIcon?: boolean;
|
|
1510
|
-
metro?: string[];
|
|
1511
|
-
className?: string;
|
|
1512
|
-
title?: string;
|
|
1513
|
-
subTitle?: string;
|
|
1514
|
-
imageAlt?: string;
|
|
1515
|
-
slug?: string;
|
|
1516
|
-
realtyForRent?: boolean;
|
|
1517
|
-
newRealty?: {
|
|
1518
|
-
priceFrom?: string;
|
|
1519
|
-
developer?: string;
|
|
1520
|
-
};
|
|
1521
|
-
publisher?: {
|
|
1522
|
-
image: string;
|
|
1523
|
-
name: string;
|
|
1524
|
-
};
|
|
1525
|
-
site?: Site;
|
|
1526
|
-
imagePlaceholders?: string[];
|
|
1527
|
-
imageUnoptimized?: boolean;
|
|
1528
|
-
}
|
|
1529
|
-
declare const RealtyCard: FC<RealtyCardProps>;
|
|
1530
|
-
|
|
1531
1199
|
interface FeedbackCardProps {
|
|
1532
1200
|
imageUrl: string;
|
|
1533
1201
|
userName: string;
|
|
@@ -1535,15 +1203,15 @@ interface FeedbackCardProps {
|
|
|
1535
1203
|
rating: number;
|
|
1536
1204
|
feedbackText: string;
|
|
1537
1205
|
}
|
|
1538
|
-
declare const FeedbackCard:
|
|
1206
|
+
declare const FeedbackCard: ({ imageUrl, feedbackDate, feedbackText, rating, userName, }: FeedbackCardProps) => react_jsx_runtime.JSX.Element;
|
|
1539
1207
|
|
|
1540
|
-
interface VacancyCardProps {
|
|
1208
|
+
interface VacancyCardProps extends PropsWithChildren {
|
|
1541
1209
|
content?: ReactNode;
|
|
1542
1210
|
position?: string;
|
|
1543
1211
|
title?: ReactElement;
|
|
1544
1212
|
className?: string;
|
|
1545
1213
|
}
|
|
1546
|
-
declare const VacancyCard:
|
|
1214
|
+
declare const VacancyCard: ({ content, title, className, children, }: VacancyCardProps) => react_jsx_runtime.JSX.Element;
|
|
1547
1215
|
|
|
1548
1216
|
interface DeveloperCardProps {
|
|
1549
1217
|
className?: string;
|
|
@@ -1560,4 +1228,4 @@ interface GoldBoxProps {
|
|
|
1560
1228
|
}
|
|
1561
1229
|
declare const GoldBox: ({ content, image }: GoldBoxProps) => react_jsx_runtime.JSX.Element;
|
|
1562
1230
|
|
|
1563
|
-
export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreaCard, ArticleCard, ArticleContent,
|
|
1231
|
+
export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreaCard, ArticleCard, ArticleContent, Badge, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockContacts, BlockImages, BlockOurTeam, BlockOurTeamGrid, Button, ButtonBadge, ButtonDark, CardsCatalog, CasesSlider, CatalogCategoriesBlock, CatalogViewSwitch, CategoryCard, Checkbox, Chip, ClientTransferProcess, ContactBlock, ContactUsBlock, DeveloperBanner, DeveloperCard, Dialog, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FeedbackCard, FloorPlansBlock, Footer, FormInput, FullScreenImage, Gallery, GalleryBlock, GoldBox, H1, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, ImageAndTextBlock, Input, JoinTeamBlock, LegalSupport, LinkIconBorder, LinkOut, List, ListItem, type LocaleSlug, LogoBlock, Main, MainContainer, NumberInput, ObjectInfoBlock, ObjectProperties, ObjectPropertyChip, Offices, OfficesBlock, OurAdvantages, OurServices, PageContainer, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneInput, RealtorCard, ReferralProgramFirstBlock, ScrollButton, SearchInput, SearchPlaceInput, Select, ServicesFull, SimpleSelect, SingleSlider, SiteSwitch, SliderDefault, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, Switch, TeamPersonCard, TeamWorkerBlock, TermList, TextAreaInput, TextBlock, TextImageTileBlock, ThanksBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TwoTextColumn as TwoTextColumnBlock, VacancyBoxInfo, VacancyCard, VacancyContainer, VacancyContent, VacancyInfoItems, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, hrefSlugPrefix, useLocaleSlugStore, useWindowSize };
|