mayak-common-library-payload 0.2.7 → 0.2.9
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 +47 -378
- package/dist/index.d.ts +47 -378
- 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,7 +274,7 @@ declare const ClientTransferProcess: FC<ClientTransferProcessProps>;
|
|
|
320
274
|
|
|
321
275
|
interface IContactUsBlock {
|
|
322
276
|
className?: string;
|
|
323
|
-
phone
|
|
277
|
+
phone?: string | null;
|
|
324
278
|
title?: string;
|
|
325
279
|
subtitle?: string;
|
|
326
280
|
description?: string;
|
|
@@ -400,23 +354,6 @@ interface OfficesBlockProps {
|
|
|
400
354
|
}
|
|
401
355
|
declare const OfficesBlock: FC<OfficesBlockProps>;
|
|
402
356
|
|
|
403
|
-
interface IVacancy {
|
|
404
|
-
slug?: string;
|
|
405
|
-
position?: string;
|
|
406
|
-
salary?: string;
|
|
407
|
-
location?: string;
|
|
408
|
-
updatedAt?: string;
|
|
409
|
-
qualitiesText?: any;
|
|
410
|
-
shortDescription?: ReactNode;
|
|
411
|
-
fullDescription?: ReactNode;
|
|
412
|
-
}
|
|
413
|
-
interface OtherVacanciesProps {
|
|
414
|
-
vacancies?: IVacancy[];
|
|
415
|
-
className?: string;
|
|
416
|
-
href: string;
|
|
417
|
-
}
|
|
418
|
-
declare function OtherVacancies({ vacancies, className, href, }: OtherVacanciesProps): react_jsx_runtime.JSX.Element;
|
|
419
|
-
|
|
420
357
|
interface IBlock {
|
|
421
358
|
strongText?: string;
|
|
422
359
|
text?: string;
|
|
@@ -442,40 +379,8 @@ interface OurServicesProps {
|
|
|
442
379
|
}
|
|
443
380
|
declare const OurServices: FC<OurServicesProps>;
|
|
444
381
|
|
|
445
|
-
interface PopularAreasProps {
|
|
446
|
-
className?: string;
|
|
447
|
-
title?: string;
|
|
448
|
-
items?: {
|
|
449
|
-
label?: string;
|
|
450
|
-
text?: string;
|
|
451
|
-
imgSrc?: string;
|
|
452
|
-
rows?: number;
|
|
453
|
-
cols?: number;
|
|
454
|
-
slug?: string;
|
|
455
|
-
}[];
|
|
456
|
-
href: string;
|
|
457
|
-
}
|
|
458
|
-
declare const PopularAreas: FC<PopularAreasProps>;
|
|
459
|
-
|
|
460
382
|
declare const ObjectProperties: FC<PropsWithChildren>;
|
|
461
383
|
|
|
462
|
-
interface IBoxItem$1 {
|
|
463
|
-
img?: string | null;
|
|
464
|
-
label?: string | null;
|
|
465
|
-
from?: string | null;
|
|
466
|
-
to?: string | null;
|
|
467
|
-
description?: ReactNode;
|
|
468
|
-
date?: string | null;
|
|
469
|
-
income?: string | null;
|
|
470
|
-
}
|
|
471
|
-
interface IPortfoliosProps {
|
|
472
|
-
className?: string;
|
|
473
|
-
title?: string | null;
|
|
474
|
-
box?: IBoxItem$1[];
|
|
475
|
-
actionComponent?: ReactNode;
|
|
476
|
-
}
|
|
477
|
-
declare function Portfolios({ className, box, title, actionComponent, }: IPortfoliosProps): react_jsx_runtime.JSX.Element;
|
|
478
|
-
|
|
479
384
|
interface ReferralProgramFirstBlockProps {
|
|
480
385
|
title?: string | null;
|
|
481
386
|
subtitle?: string | null;
|
|
@@ -486,17 +391,6 @@ interface ReferralProgramFirstBlockProps {
|
|
|
486
391
|
}
|
|
487
392
|
declare const ReferralProgramFirstBlock: ({ title, subtitle, box, content, className, actionComponent, }: ReferralProgramFirstBlockProps) => react_jsx_runtime.JSX.Element;
|
|
488
393
|
|
|
489
|
-
interface IServicesTexts {
|
|
490
|
-
title?: string;
|
|
491
|
-
subtitle?: string;
|
|
492
|
-
text1?: string;
|
|
493
|
-
text2?: string;
|
|
494
|
-
title2?: string;
|
|
495
|
-
text3?: string;
|
|
496
|
-
className?: string;
|
|
497
|
-
}
|
|
498
|
-
declare function ServicesTexts({ text1, text2, text3, title2, title, subtitle, className, }: IServicesTexts): react_jsx_runtime.JSX.Element;
|
|
499
|
-
|
|
500
394
|
interface SocialBlockProps {
|
|
501
395
|
className?: string;
|
|
502
396
|
instagram?: string | null;
|
|
@@ -526,7 +420,7 @@ interface TeamWorkerBlockProps {
|
|
|
526
420
|
turn?: 'right' | 'left';
|
|
527
421
|
bgSrc?: string | null;
|
|
528
422
|
}
|
|
529
|
-
declare const TeamWorkerBlock:
|
|
423
|
+
declare const TeamWorkerBlock: ({ image_url, name, position, social, description, turn, }: TeamWorkerBlockProps) => react_jsx_runtime.JSX.Element;
|
|
530
424
|
|
|
531
425
|
interface TextBlockProps {
|
|
532
426
|
className?: string;
|
|
@@ -537,28 +431,16 @@ declare const TextBlock: FC<TextBlockProps>;
|
|
|
537
431
|
|
|
538
432
|
declare const ThanksBlock: () => react_jsx_runtime.JSX.Element;
|
|
539
433
|
|
|
540
|
-
interface ITrustUs {
|
|
541
|
-
className?: string;
|
|
542
|
-
title?: string;
|
|
543
|
-
text?: string;
|
|
544
|
-
numbers?: INumberText[];
|
|
545
|
-
imageUrl?: string;
|
|
546
|
-
}
|
|
547
|
-
declare function TrustUs({ className, title, text, numbers, imageUrl, }: ITrustUs): react_jsx_runtime.JSX.Element;
|
|
548
|
-
|
|
549
434
|
interface VacancyBoxInfoProps {
|
|
550
435
|
label?: string | null;
|
|
551
436
|
updatedAt?: string | null;
|
|
552
437
|
salary?: string | null;
|
|
553
438
|
location?: string | null;
|
|
554
|
-
button?: boolean;
|
|
555
439
|
className?: string;
|
|
556
|
-
slug?: string | null;
|
|
557
|
-
href?: string;
|
|
558
440
|
inLink?: boolean;
|
|
559
|
-
|
|
441
|
+
actionComponent?: ReactNode;
|
|
560
442
|
}
|
|
561
|
-
declare const VacancyBoxInfo: ({ label, updatedAt, className, salary,
|
|
443
|
+
declare const VacancyBoxInfo: ({ label, updatedAt, className, salary, location, inLink, actionComponent, }: VacancyBoxInfoProps) => react_jsx_runtime.JSX.Element;
|
|
562
444
|
|
|
563
445
|
interface VacancyInfoItemsProps {
|
|
564
446
|
updatedAt?: string | null;
|
|
@@ -566,7 +448,7 @@ interface VacancyInfoItemsProps {
|
|
|
566
448
|
location?: string | null;
|
|
567
449
|
innerClasses?: string;
|
|
568
450
|
}
|
|
569
|
-
declare const VacancyInfoItems:
|
|
451
|
+
declare const VacancyInfoItems: ({ updatedAt, location, salary, innerClasses, }: VacancyInfoItemsProps) => react_jsx_runtime.JSX.Element;
|
|
570
452
|
|
|
571
453
|
interface IVacancyContent {
|
|
572
454
|
title?: string | null;
|
|
@@ -672,12 +554,13 @@ declare const ObjectInfoBlock: ({ title, text, properties, className, actionComp
|
|
|
672
554
|
|
|
673
555
|
interface PaymentPlanBlockProps {
|
|
674
556
|
data: PresentBlockProps[];
|
|
557
|
+
label: string;
|
|
675
558
|
}
|
|
676
559
|
interface PresentBlockProps {
|
|
677
560
|
present: string;
|
|
678
561
|
description: string;
|
|
679
562
|
}
|
|
680
|
-
declare const PaymentPlanBlock:
|
|
563
|
+
declare const PaymentPlanBlock: ({ data, label }: PaymentPlanBlockProps) => react_jsx_runtime.JSX.Element;
|
|
681
564
|
|
|
682
565
|
interface FloorPlansBlockProps {
|
|
683
566
|
}
|
|
@@ -703,30 +586,15 @@ interface GalleryBlockProps {
|
|
|
703
586
|
}
|
|
704
587
|
declare const GalleryBlock: FC<GalleryBlockProps>;
|
|
705
588
|
|
|
706
|
-
|
|
589
|
+
interface ContactBlockProps {
|
|
707
590
|
className?: string;
|
|
591
|
+
managerImage?: string;
|
|
592
|
+
bgImage?: string;
|
|
708
593
|
actionComponent?: ReactNode;
|
|
709
|
-
}>;
|
|
710
|
-
|
|
711
|
-
interface NewProjectCardProps {
|
|
712
|
-
slug?: string;
|
|
713
|
-
images?: Array<string | null>;
|
|
714
594
|
title?: string;
|
|
715
|
-
|
|
716
|
-
price?: string;
|
|
717
|
-
developer?: string;
|
|
718
|
-
houseTypes?: string[];
|
|
719
|
-
href: string;
|
|
720
|
-
handover?: string;
|
|
721
|
-
}
|
|
722
|
-
declare const NewProjectCard: FC<NewProjectCardProps>;
|
|
723
|
-
|
|
724
|
-
interface ICatalogNewProjectsProps {
|
|
725
|
-
className?: string;
|
|
726
|
-
href: string;
|
|
727
|
-
newProjects?: NewProjectCardProps[];
|
|
595
|
+
description?: string;
|
|
728
596
|
}
|
|
729
|
-
declare
|
|
597
|
+
declare const ContactBlock: ({ className, actionComponent, description, title, managerImage, bgImage, }: ContactBlockProps) => react_jsx_runtime.JSX.Element;
|
|
730
598
|
|
|
731
599
|
interface IServiceItem {
|
|
732
600
|
imageUrl?: string | null;
|
|
@@ -739,10 +607,9 @@ interface ServicesFullProps {
|
|
|
739
607
|
className?: string;
|
|
740
608
|
services?: IServiceItem[];
|
|
741
609
|
totalServices?: number;
|
|
742
|
-
href: string;
|
|
743
610
|
linkLabel: string;
|
|
744
611
|
}
|
|
745
|
-
declare const ServicesFull: ({ services, className
|
|
612
|
+
declare const ServicesFull: ({ services, className }: ServicesFullProps) => react_jsx_runtime.JSX.Element;
|
|
746
613
|
|
|
747
614
|
interface DeveloperBannerProps {
|
|
748
615
|
className?: string;
|
|
@@ -751,18 +618,6 @@ interface DeveloperBannerProps {
|
|
|
751
618
|
}
|
|
752
619
|
declare const DeveloperBanner: FC<DeveloperBannerProps>;
|
|
753
620
|
|
|
754
|
-
interface IDeveloperTwoBlocks {
|
|
755
|
-
className?: string;
|
|
756
|
-
title?: string;
|
|
757
|
-
text?: string;
|
|
758
|
-
block: {
|
|
759
|
-
projects?: string;
|
|
760
|
-
priceFrom?: string;
|
|
761
|
-
begin?: string;
|
|
762
|
-
};
|
|
763
|
-
}
|
|
764
|
-
declare function DeveloperTwoBlocks({ className, block, text, title, }: IDeveloperTwoBlocks): react_jsx_runtime.JSX.Element;
|
|
765
|
-
|
|
766
621
|
interface ImageAndTextBlockProps {
|
|
767
622
|
className?: string;
|
|
768
623
|
imgSrc?: string;
|
|
@@ -778,111 +633,6 @@ interface TwoTextColumnProps {
|
|
|
778
633
|
}
|
|
779
634
|
declare const TwoTextColumn: ({ className, info }: TwoTextColumnProps) => react_jsx_runtime.JSX.Element;
|
|
780
635
|
|
|
781
|
-
interface RealtyTitleProps {
|
|
782
|
-
title?: string | null;
|
|
783
|
-
article?: string | number | null;
|
|
784
|
-
}
|
|
785
|
-
declare const RealtyTitle: FC<RealtyTitleProps>;
|
|
786
|
-
|
|
787
|
-
interface RealtyPriceProps {
|
|
788
|
-
realtyForRent?: boolean;
|
|
789
|
-
price: string;
|
|
790
|
-
currencySwitcher?: ReactNode;
|
|
791
|
-
}
|
|
792
|
-
declare const RealtyPrice: FC<RealtyPriceProps>;
|
|
793
|
-
|
|
794
|
-
declare enum ESTagEnum {
|
|
795
|
-
Borough = "borough",
|
|
796
|
-
District = "district",
|
|
797
|
-
City = "city",
|
|
798
|
-
Metro = "metro",
|
|
799
|
-
Street = "street",
|
|
800
|
-
Complex = "complex",
|
|
801
|
-
Region = "region",
|
|
802
|
-
Property = "property",
|
|
803
|
-
Town = "town",
|
|
804
|
-
County = "county"
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
type MenuItem = {
|
|
808
|
-
path: string;
|
|
809
|
-
title: string;
|
|
810
|
-
};
|
|
811
|
-
interface IFooter {
|
|
812
|
-
instagram?: string;
|
|
813
|
-
facebook?: string;
|
|
814
|
-
youtube?: string;
|
|
815
|
-
linkedIn?: string;
|
|
816
|
-
menuItems: MenuItem[];
|
|
817
|
-
mainPhone?: string;
|
|
818
|
-
site: Site;
|
|
819
|
-
homePage: string;
|
|
820
|
-
}
|
|
821
|
-
type BreadCrumbsItem = {
|
|
822
|
-
label: string;
|
|
823
|
-
path: string;
|
|
824
|
-
tag?: ESTagEnum;
|
|
825
|
-
};
|
|
826
|
-
|
|
827
|
-
interface RealtyAddressProps {
|
|
828
|
-
address?: string;
|
|
829
|
-
addressLinks: Array<BreadCrumbsItem | undefined>;
|
|
830
|
-
metros?: BreadCrumbsItem[] | null;
|
|
831
|
-
}
|
|
832
|
-
declare const RealtyAddress: FC<RealtyAddressProps>;
|
|
833
|
-
|
|
834
|
-
interface RealtyDetailsProps {
|
|
835
|
-
realtyType?: {
|
|
836
|
-
machineName?: string | null;
|
|
837
|
-
value?: string;
|
|
838
|
-
};
|
|
839
|
-
areaTotal?: number | string | null;
|
|
840
|
-
areaLand?: string | null;
|
|
841
|
-
areaLiving?: string | null;
|
|
842
|
-
areaKitchen?: string | null;
|
|
843
|
-
rooms?: number | null;
|
|
844
|
-
bathrooms?: number | null;
|
|
845
|
-
parkingCount?: string | number | null;
|
|
846
|
-
floor?: string | null;
|
|
847
|
-
totalFloors?: string | null;
|
|
848
|
-
repair?: string | null;
|
|
849
|
-
roomCountLink?: string | null;
|
|
850
|
-
propertyType?: string | null;
|
|
851
|
-
furnishStatus?: string | null;
|
|
852
|
-
construction?: string | null;
|
|
853
|
-
stars?: string | null;
|
|
854
|
-
className?: string;
|
|
855
|
-
site: Site;
|
|
856
|
-
}
|
|
857
|
-
declare const RealtyDetails: FC<RealtyDetailsProps>;
|
|
858
|
-
|
|
859
|
-
interface RealtyDescriptionProps {
|
|
860
|
-
description?: string | null;
|
|
861
|
-
}
|
|
862
|
-
declare const RealtyDescription: FC<RealtyDescriptionProps>;
|
|
863
|
-
|
|
864
|
-
interface CatalogContainerProps {
|
|
865
|
-
className?: string;
|
|
866
|
-
emptyCatalogMessage?: string;
|
|
867
|
-
}
|
|
868
|
-
declare const CatalogContainer: FC<CatalogContainerProps & PropsWithChildren>;
|
|
869
|
-
|
|
870
|
-
interface SliderContainerProps {
|
|
871
|
-
className?: string;
|
|
872
|
-
buttonText?: string;
|
|
873
|
-
buttonHref?: string;
|
|
874
|
-
title?: string;
|
|
875
|
-
titleTag?: 'h2' | 'h3';
|
|
876
|
-
slidesView?: 3 | 4 | 6;
|
|
877
|
-
dots?: boolean;
|
|
878
|
-
dotsOnMobile?: boolean;
|
|
879
|
-
classNameDots?: string;
|
|
880
|
-
navigation?: boolean;
|
|
881
|
-
loop?: boolean;
|
|
882
|
-
fullScreen?: boolean;
|
|
883
|
-
}
|
|
884
|
-
declare const SliderContainer: FC<SliderContainerProps & PropsWithChildren>;
|
|
885
|
-
|
|
886
636
|
interface MainContainerProps {
|
|
887
637
|
className?: string;
|
|
888
638
|
}
|
|
@@ -934,35 +684,12 @@ type LocaleSlug = LocaleSlugSlice & LocaleSlugActions;
|
|
|
934
684
|
declare const createLocaleSlugSlice: StateCreator<LocaleSlug>;
|
|
935
685
|
declare const useLocaleSlugStore: zustand.UseBoundStore<zustand.StoreApi<LocaleSlug>>;
|
|
936
686
|
|
|
937
|
-
|
|
938
|
-
declare enum MODAL_COMPONENT {
|
|
939
|
-
GENERAL = "GENERAL",
|
|
940
|
-
THANKS = "THANKS",
|
|
941
|
-
REQUEST = "REQUEST"
|
|
942
|
-
}
|
|
943
|
-
declare const MODAL_COMPONENTS: any;
|
|
944
|
-
declare const MODAL_TITLES: any;
|
|
945
|
-
interface ModalSlice {
|
|
946
|
-
openModal: boolean;
|
|
947
|
-
typeModal?: MODAL_COMPONENT;
|
|
948
|
-
dataModal?: any;
|
|
949
|
-
additionalCloseBtn?: boolean;
|
|
950
|
-
bgColor?: 'gold' | 'white';
|
|
951
|
-
}
|
|
952
|
-
interface ModalActions {
|
|
953
|
-
showModal: (type: MODAL_COMPONENT, data?: any, additionalCloseBtn?: boolean, bgColor?: 'gold' | 'white') => void;
|
|
954
|
-
hideModal: () => void;
|
|
955
|
-
}
|
|
956
|
-
type Modal = ModalSlice & ModalActions;
|
|
957
|
-
declare const createModalSlice: StateCreator<Modal>;
|
|
958
|
-
declare const useLayoutStore: zustand.UseBoundStore<zustand.StoreApi<Modal>>;
|
|
959
|
-
|
|
960
|
-
declare const Header: FC<PropsWithChildren & {
|
|
961
|
-
locale: string;
|
|
687
|
+
interface HeaderProps extends PropsWithChildren {
|
|
962
688
|
homePage: string;
|
|
963
|
-
oneLogo?: string;
|
|
964
689
|
selectPart: ReactNode;
|
|
965
|
-
|
|
690
|
+
logoPart?: ReactNode;
|
|
691
|
+
}
|
|
692
|
+
declare const Header: (props: HeaderProps) => react_jsx_runtime.JSX.Element;
|
|
966
693
|
|
|
967
694
|
interface HeaderContactButtonProps {
|
|
968
695
|
onClick: MouseEventHandler<HTMLButtonElement> | undefined;
|
|
@@ -971,9 +698,7 @@ interface HeaderContactButtonProps {
|
|
|
971
698
|
}
|
|
972
699
|
declare const _default: react.NamedExoticComponent<HeaderContactButtonProps>;
|
|
973
700
|
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
interface FooterDubaiProps {
|
|
701
|
+
interface FooterProps {
|
|
977
702
|
instagram?: string | null;
|
|
978
703
|
city?: string | null;
|
|
979
704
|
location?: string | null;
|
|
@@ -983,16 +708,14 @@ interface FooterDubaiProps {
|
|
|
983
708
|
menuItems: ReactNode[][];
|
|
984
709
|
mainPhone?: string | null;
|
|
985
710
|
site: Site;
|
|
986
|
-
homePage: string;
|
|
987
711
|
locale: string;
|
|
988
712
|
bottomText: string;
|
|
989
713
|
oneLogo?: string | null;
|
|
990
714
|
}
|
|
991
|
-
declare const
|
|
715
|
+
declare const Footer: ({ instagram, facebook, youtube, linkedIn, menuItems, mainPhone, site, oneLogo, city, location, locale, bottomText, }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
992
716
|
|
|
993
717
|
declare const HeaderMob: FC<PropsWithChildren & {
|
|
994
718
|
locale: string;
|
|
995
|
-
homePage: string;
|
|
996
719
|
}>;
|
|
997
720
|
|
|
998
721
|
interface IMainBoxProps {
|
|
@@ -1005,12 +728,9 @@ interface LogoBlockProps {
|
|
|
1005
728
|
className?: string;
|
|
1006
729
|
small?: boolean;
|
|
1007
730
|
locale: string;
|
|
1008
|
-
homePage: string;
|
|
1009
731
|
oneLogo?: string | null;
|
|
1010
732
|
}
|
|
1011
|
-
declare const LogoBlock:
|
|
1012
|
-
|
|
1013
|
-
declare const LogoBlockWhite: () => react_jsx_runtime.JSX.Element;
|
|
733
|
+
declare const LogoBlock: ({ className, small, locale, oneLogo, }: LogoBlockProps) => react_jsx_runtime.JSX.Element;
|
|
1014
734
|
|
|
1015
735
|
interface BadgeProps {
|
|
1016
736
|
content?: number;
|
|
@@ -1084,7 +804,6 @@ interface LinkIconBorderProps {
|
|
|
1084
804
|
classesText?: string;
|
|
1085
805
|
color?: 'dark' | 'gray';
|
|
1086
806
|
onClick?: Function;
|
|
1087
|
-
href?: string;
|
|
1088
807
|
}
|
|
1089
808
|
declare const LinkIconBorder: FC<LinkIconBorderProps>;
|
|
1090
809
|
|
|
@@ -1094,16 +813,13 @@ interface CustomSwitchProps {
|
|
|
1094
813
|
}
|
|
1095
814
|
declare const Switch: FC<CustomSwitchProps & SwitchProps>;
|
|
1096
815
|
|
|
1097
|
-
declare const LocaleSwitch: FC<LocaleSwitcherProps>;
|
|
1098
|
-
|
|
1099
816
|
interface SiteSwitcherProps {
|
|
1100
817
|
currentSite: Site;
|
|
1101
818
|
onlyGlobal?: boolean;
|
|
1102
819
|
select?: boolean;
|
|
820
|
+
pathname: string;
|
|
1103
821
|
}
|
|
1104
|
-
declare const SiteSwitch:
|
|
1105
|
-
|
|
1106
|
-
declare const LocaleSwitchToggle: FC<LocaleSwitcherProps>;
|
|
822
|
+
declare const SiteSwitch: (props: SiteSwitcherProps) => react_jsx_runtime.JSX.Element;
|
|
1107
823
|
|
|
1108
824
|
declare const CatalogViewSwitch: () => react_jsx_runtime.JSX.Element;
|
|
1109
825
|
|
|
@@ -1120,9 +836,9 @@ declare const Chip: FC<ChipProps>;
|
|
|
1120
836
|
interface ObjectPropertyProps {
|
|
1121
837
|
icon: 'LAND' | 'COMMERCE' | 'HOUSE' | 'ROOM_COUNT' | 'AREA_TOTAL' | 'AREA_LAND' | 'AREA_LIVING' | 'AREA_KITCHEN' | 'FLOORS_TOTAL' | 'FLOOR' | 'REPAIR' | 'PARKING' | 'BATH_COUNT';
|
|
1122
838
|
label: string;
|
|
1123
|
-
|
|
839
|
+
link?: ReactNode;
|
|
1124
840
|
}
|
|
1125
|
-
declare const ObjectPropertyChip:
|
|
841
|
+
declare const ObjectPropertyChip: ({ link, icon, label }: ObjectPropertyProps) => react_jsx_runtime.JSX.Element;
|
|
1126
842
|
|
|
1127
843
|
declare const List: FC<ListProps>;
|
|
1128
844
|
|
|
@@ -1267,8 +983,6 @@ interface ToggleSortProps {
|
|
|
1267
983
|
}
|
|
1268
984
|
declare const ToggleSort: FC<ToggleSortProps>;
|
|
1269
985
|
|
|
1270
|
-
declare const SubmitSelectButton: (props: SelectChildrenProps) => react_jsx_runtime.JSX.Element;
|
|
1271
|
-
|
|
1272
986
|
declare const ToggleButton: FC<ToggleButtonProps & {
|
|
1273
987
|
textView?: boolean;
|
|
1274
988
|
}>;
|
|
@@ -1326,7 +1040,7 @@ declare const ButtonBadge: FC<SelectChildrenProps & ButtonBadgeProps>;
|
|
|
1326
1040
|
interface ErrorMessageProps {
|
|
1327
1041
|
errorMessage?: string;
|
|
1328
1042
|
}
|
|
1329
|
-
declare const ErrorMessage:
|
|
1043
|
+
declare const ErrorMessage: (props: ErrorMessageProps) => react_jsx_runtime.JSX.Element;
|
|
1330
1044
|
|
|
1331
1045
|
declare const Input: FC<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
|
|
1332
1046
|
|
|
@@ -1431,6 +1145,7 @@ interface SingleSliderProps {
|
|
|
1431
1145
|
declare const SingleSlider: FC<PropsWithChildren & SingleSliderProps>;
|
|
1432
1146
|
|
|
1433
1147
|
interface CasesSliderProps {
|
|
1148
|
+
label?: string;
|
|
1434
1149
|
cases: {
|
|
1435
1150
|
imageUrl?: string;
|
|
1436
1151
|
text1?: string;
|
|
@@ -1439,18 +1154,13 @@ interface CasesSliderProps {
|
|
|
1439
1154
|
}
|
|
1440
1155
|
declare const CasesSlider: FC<CasesSliderProps>;
|
|
1441
1156
|
|
|
1442
|
-
interface BreadCrumbsProps {
|
|
1443
|
-
breadCrumbsList: Array<BreadCrumbsItem | undefined | null>;
|
|
1444
|
-
}
|
|
1445
|
-
declare const BreadCrumbs: FC<BreadCrumbsProps>;
|
|
1446
|
-
|
|
1447
1157
|
interface TeamPersonCardProps {
|
|
1448
1158
|
image_url?: string | null;
|
|
1449
1159
|
name?: string | null;
|
|
1450
1160
|
position?: string | null;
|
|
1451
1161
|
description?: ReactNode | null;
|
|
1452
1162
|
}
|
|
1453
|
-
declare const TeamPersonCard:
|
|
1163
|
+
declare const TeamPersonCard: ({ image_url, name, position, description, }: TeamPersonCardProps) => react_jsx_runtime.JSX.Element;
|
|
1454
1164
|
|
|
1455
1165
|
interface IArea {
|
|
1456
1166
|
imageUrl?: string;
|
|
@@ -1463,6 +1173,16 @@ interface AreaCardProps extends IArea {
|
|
|
1463
1173
|
}
|
|
1464
1174
|
declare const AreaCard: FC<AreaCardProps>;
|
|
1465
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
|
+
|
|
1466
1186
|
interface IRealtorCard {
|
|
1467
1187
|
realtor?: IWorker;
|
|
1468
1188
|
site: Site;
|
|
@@ -1476,57 +1196,6 @@ interface CategoryCardProps {
|
|
|
1476
1196
|
}
|
|
1477
1197
|
declare function CategoryCard({ title, image_url }: CategoryCardProps): react_jsx_runtime.JSX.Element;
|
|
1478
1198
|
|
|
1479
|
-
interface DetailsProps {
|
|
1480
|
-
studio?: boolean | null;
|
|
1481
|
-
rooms?: string | null;
|
|
1482
|
-
bedrooms?: string | null;
|
|
1483
|
-
bathrooms?: string | number | null;
|
|
1484
|
-
stars?: string | null;
|
|
1485
|
-
areaTotal?: string | null;
|
|
1486
|
-
areaLand?: string | null;
|
|
1487
|
-
floor?: string | null;
|
|
1488
|
-
totalFloors?: string | null;
|
|
1489
|
-
realtyType?: {
|
|
1490
|
-
machineName?: string | null;
|
|
1491
|
-
value?: string | null;
|
|
1492
|
-
};
|
|
1493
|
-
houseTypes?: Array<string | undefined | null> | null;
|
|
1494
|
-
}
|
|
1495
|
-
interface PropertyDetailsProps {
|
|
1496
|
-
details: DetailsProps;
|
|
1497
|
-
site: Site;
|
|
1498
|
-
}
|
|
1499
|
-
declare const RealtyCardProperty: FC<PropertyDetailsProps>;
|
|
1500
|
-
|
|
1501
|
-
interface RealtyCardProps {
|
|
1502
|
-
href: string;
|
|
1503
|
-
view?: 'vertical' | 'horizontal';
|
|
1504
|
-
tags?: Array<string | undefined | null>;
|
|
1505
|
-
details: DetailsProps;
|
|
1506
|
-
images?: Array<string | null>;
|
|
1507
|
-
address?: string;
|
|
1508
|
-
addressWithIcon?: boolean;
|
|
1509
|
-
metro?: string[];
|
|
1510
|
-
className?: string;
|
|
1511
|
-
title?: string;
|
|
1512
|
-
subTitle?: string;
|
|
1513
|
-
imageAlt?: string;
|
|
1514
|
-
slug?: string;
|
|
1515
|
-
realtyForRent?: boolean;
|
|
1516
|
-
newRealty?: {
|
|
1517
|
-
priceFrom?: string;
|
|
1518
|
-
developer?: string;
|
|
1519
|
-
};
|
|
1520
|
-
publisher?: {
|
|
1521
|
-
image: string;
|
|
1522
|
-
name: string;
|
|
1523
|
-
};
|
|
1524
|
-
site?: Site;
|
|
1525
|
-
imagePlaceholders?: string[];
|
|
1526
|
-
imageUnoptimized?: boolean;
|
|
1527
|
-
}
|
|
1528
|
-
declare const RealtyCard: FC<RealtyCardProps>;
|
|
1529
|
-
|
|
1530
1199
|
interface FeedbackCardProps {
|
|
1531
1200
|
imageUrl: string;
|
|
1532
1201
|
userName: string;
|
|
@@ -1534,15 +1203,15 @@ interface FeedbackCardProps {
|
|
|
1534
1203
|
rating: number;
|
|
1535
1204
|
feedbackText: string;
|
|
1536
1205
|
}
|
|
1537
|
-
declare const FeedbackCard:
|
|
1206
|
+
declare const FeedbackCard: ({ imageUrl, feedbackDate, feedbackText, rating, userName, }: FeedbackCardProps) => react_jsx_runtime.JSX.Element;
|
|
1538
1207
|
|
|
1539
|
-
interface VacancyCardProps {
|
|
1208
|
+
interface VacancyCardProps extends PropsWithChildren {
|
|
1540
1209
|
content?: ReactNode;
|
|
1541
1210
|
position?: string;
|
|
1542
1211
|
title?: ReactElement;
|
|
1543
1212
|
className?: string;
|
|
1544
1213
|
}
|
|
1545
|
-
declare const VacancyCard:
|
|
1214
|
+
declare const VacancyCard: ({ content, title, className, children, }: VacancyCardProps) => react_jsx_runtime.JSX.Element;
|
|
1546
1215
|
|
|
1547
1216
|
interface DeveloperCardProps {
|
|
1548
1217
|
className?: string;
|
|
@@ -1559,4 +1228,4 @@ interface GoldBoxProps {
|
|
|
1559
1228
|
}
|
|
1560
1229
|
declare const GoldBox: ({ content, image }: GoldBoxProps) => react_jsx_runtime.JSX.Element;
|
|
1561
1230
|
|
|
1562
|
-
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 };
|