mayak-common-library 0.0.187 → 0.0.189
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 +289 -182
- package/dist/index.d.ts +289 -182
- package/dist/index.js +7 -10
- package/dist/index.mjs +8 -11
- package/package.json +1 -1
- package/tailwind.config.js +15 -0
- package/dist/index.css +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import
|
|
3
|
+
import { FC, ReactNode, MouseEventHandler, PropsWithChildren, MouseEvent, ReactElement } from 'react';
|
|
4
4
|
import { TypographyProps } from '@mui/material/Typography/Typography';
|
|
5
|
-
import { ButtonProps } from '@mui/material/Button';
|
|
6
|
-
import { IconButtonProps } from '@mui/material/IconButton/IconButton';
|
|
7
|
-
import { LoadingButtonProps } from '@mui/lab/LoadingButton/LoadingButton';
|
|
8
5
|
import * as zustand from 'zustand';
|
|
9
6
|
import { StateCreator } from 'zustand';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
7
|
+
import { ButtonProps } from '@mui/material/Button';
|
|
8
|
+
import { LoadingButtonProps } from '@mui/lab/LoadingButton/LoadingButton';
|
|
9
|
+
import { IconButtonProps } from '@mui/material/IconButton/IconButton';
|
|
10
|
+
import * as _emotion_styled from '@emotion/styled';
|
|
11
|
+
import * as _emotion_react from '@emotion/react';
|
|
12
|
+
import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
|
|
13
|
+
import * as _mui_material from '@mui/material';
|
|
14
|
+
import { ToggleButtonProps, ToggleButtonGroupProps as ToggleButtonGroupProps$1, PaginationItemOwnProps } from '@mui/material';
|
|
15
|
+
import * as _mui_material_Button_Button from '@mui/material/Button/Button';
|
|
16
|
+
import { UseControllerProps, FieldValues } from 'react-hook-form';
|
|
17
|
+
import { SystemStyleObject } from '@mui/system';
|
|
18
|
+
import { SwitchProps } from '@mui/material/Switch/Switch';
|
|
18
19
|
import { ListProps } from '@mui/material/List/List';
|
|
20
|
+
import { InputProps } from '@mui/material/Input/Input';
|
|
21
|
+
import { AccordionProps } from '@mui/material/Accordion/Accordion';
|
|
19
22
|
|
|
20
23
|
interface IWorker$1 {
|
|
21
24
|
imageUrl?: string;
|
|
@@ -100,10 +103,25 @@ interface IAnyQuestionsBlock {
|
|
|
100
103
|
}
|
|
101
104
|
declare function AnyQuestionsBlock({ worker, classes, }: IAnyQuestionsBlock): react_jsx_runtime.JSX.Element;
|
|
102
105
|
|
|
106
|
+
type SelectChildrenProps = {
|
|
107
|
+
ref?: any;
|
|
108
|
+
onClick?: any;
|
|
109
|
+
onClose?: any;
|
|
110
|
+
collapse?: any;
|
|
111
|
+
collapseParent?: any;
|
|
112
|
+
};
|
|
103
113
|
type LanguageSlugsType = {
|
|
104
114
|
[key: string]: string;
|
|
105
115
|
};
|
|
106
|
-
type
|
|
116
|
+
type localesProps = {
|
|
117
|
+
label: string;
|
|
118
|
+
locale: string;
|
|
119
|
+
}[];
|
|
120
|
+
interface LocaleSwitcherProps {
|
|
121
|
+
locales: localesProps;
|
|
122
|
+
homePage: string;
|
|
123
|
+
defLocale: string;
|
|
124
|
+
}
|
|
107
125
|
type Site = 'kyiv' | 'dubai';
|
|
108
126
|
type TitlePosition$1 = 'center' | 'left';
|
|
109
127
|
|
|
@@ -141,7 +159,7 @@ interface IArticlesFull$1 {
|
|
|
141
159
|
totalArticles?: number;
|
|
142
160
|
href: string;
|
|
143
161
|
}
|
|
144
|
-
declare function ArticlesFull({ title, articles, classes, href, }: IArticlesFull$1): react_jsx_runtime.JSX.Element;
|
|
162
|
+
declare function ArticlesFull({ title, articles, classes, href, totalArticles, }: IArticlesFull$1): react_jsx_runtime.JSX.Element;
|
|
145
163
|
|
|
146
164
|
interface IBannerBlock {
|
|
147
165
|
videoLink?: string;
|
|
@@ -780,7 +798,7 @@ interface ICatalogNewProjectsProps {
|
|
|
780
798
|
href: string;
|
|
781
799
|
newProjects?: NewProjectCardProps[];
|
|
782
800
|
}
|
|
783
|
-
declare function CatalogNewProjects({ classes, href, newProjects }: ICatalogNewProjectsProps): react_jsx_runtime.JSX.Element;
|
|
801
|
+
declare function CatalogNewProjects({ classes, href, newProjects, }: ICatalogNewProjectsProps): react_jsx_runtime.JSX.Element;
|
|
784
802
|
|
|
785
803
|
interface IProjectsSliderProps$1 {
|
|
786
804
|
classes?: string;
|
|
@@ -839,6 +857,53 @@ interface IDeveloperTwoBlocks {
|
|
|
839
857
|
}
|
|
840
858
|
declare function DeveloperTwoBlocks({ classes, block, text, title, }: IDeveloperTwoBlocks): react_jsx_runtime.JSX.Element;
|
|
841
859
|
|
|
860
|
+
declare const useWindowSize: () => {
|
|
861
|
+
windowSize: number;
|
|
862
|
+
xs: boolean;
|
|
863
|
+
md: boolean;
|
|
864
|
+
lg: boolean;
|
|
865
|
+
xl: boolean;
|
|
866
|
+
sm: boolean;
|
|
867
|
+
loading: boolean;
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
declare enum hrefSlugPrefix {
|
|
871
|
+
CATALOG = "/catalog/object/",
|
|
872
|
+
NEWS = "/news/",
|
|
873
|
+
VACANCY = "/vacancies/"
|
|
874
|
+
}
|
|
875
|
+
interface LocaleSlugSlice {
|
|
876
|
+
slugs: LanguageSlugsType | undefined;
|
|
877
|
+
hrefPrefix: hrefSlugPrefix | undefined;
|
|
878
|
+
}
|
|
879
|
+
interface LocaleSlugActions {
|
|
880
|
+
setLocaleSlugs: (_slugs?: LanguageSlugsType, hrefPrefix?: hrefSlugPrefix) => void;
|
|
881
|
+
}
|
|
882
|
+
type LocaleSlug = LocaleSlugSlice & LocaleSlugActions;
|
|
883
|
+
declare const createLocaleSlugSlice: StateCreator<LocaleSlug>;
|
|
884
|
+
declare const useLocaleSlugStore: zustand.UseBoundStore<zustand.StoreApi<LocaleSlug>>;
|
|
885
|
+
|
|
886
|
+
type LayoutStore = Modal;
|
|
887
|
+
declare enum MODAL_COMPONENT {
|
|
888
|
+
GENERAL = "GENERAL",
|
|
889
|
+
THANKS = "THANKS",
|
|
890
|
+
REQUEST = "REQUEST"
|
|
891
|
+
}
|
|
892
|
+
declare const MODAL_COMPONENTS: any;
|
|
893
|
+
declare const MODAL_TITLES: any;
|
|
894
|
+
interface ModalSlice {
|
|
895
|
+
openModal: boolean;
|
|
896
|
+
typeModal?: MODAL_COMPONENT;
|
|
897
|
+
dataModal?: any;
|
|
898
|
+
}
|
|
899
|
+
interface ModalActions {
|
|
900
|
+
showModal: (type: MODAL_COMPONENT, data?: any) => void;
|
|
901
|
+
hideModal: () => void;
|
|
902
|
+
}
|
|
903
|
+
type Modal = ModalSlice & ModalActions;
|
|
904
|
+
declare const createModalSlice: StateCreator<Modal>;
|
|
905
|
+
declare const useLayoutStore: zustand.UseBoundStore<zustand.StoreApi<Modal>>;
|
|
906
|
+
|
|
842
907
|
type MenuItem = {
|
|
843
908
|
path: string;
|
|
844
909
|
title: string;
|
|
@@ -857,7 +922,7 @@ interface IFooter {
|
|
|
857
922
|
interface IHeaderProps {
|
|
858
923
|
menuItems: MenuItem[];
|
|
859
924
|
mainPhone?: string;
|
|
860
|
-
locales:
|
|
925
|
+
locales: localesProps;
|
|
861
926
|
site: Site;
|
|
862
927
|
homePage: string;
|
|
863
928
|
whatsUp?: boolean;
|
|
@@ -910,11 +975,6 @@ interface CustomButtonProps extends ButtonProps, PropsWithChildren {
|
|
|
910
975
|
}
|
|
911
976
|
declare const Button: FC<CustomButtonProps>;
|
|
912
977
|
|
|
913
|
-
interface CustomIconButtonProps extends IconButtonProps, PropsWithChildren {
|
|
914
|
-
isBlack?: boolean;
|
|
915
|
-
}
|
|
916
|
-
declare const IconButton: FC<CustomIconButtonProps>;
|
|
917
|
-
|
|
918
978
|
interface ButtonDarkProps {
|
|
919
979
|
title: string;
|
|
920
980
|
classes?: string;
|
|
@@ -923,73 +983,152 @@ interface ButtonDarkProps {
|
|
|
923
983
|
}
|
|
924
984
|
declare const ButtonDark: FC<ButtonDarkProps & LoadingButtonProps>;
|
|
925
985
|
|
|
926
|
-
interface
|
|
927
|
-
|
|
928
|
-
small?: boolean;
|
|
929
|
-
locale: string;
|
|
930
|
-
homePage: string;
|
|
931
|
-
}
|
|
932
|
-
declare const LogoBlock: FC<LogoBlockProps>;
|
|
933
|
-
|
|
934
|
-
interface LogoBlockWhiteProps {
|
|
935
|
-
classes?: string;
|
|
986
|
+
interface CustomIconButtonProps extends IconButtonProps, PropsWithChildren {
|
|
987
|
+
isBlack?: boolean;
|
|
936
988
|
}
|
|
937
|
-
declare const
|
|
938
|
-
|
|
939
|
-
declare const useWindowSize: () => {
|
|
940
|
-
windowSize: number;
|
|
941
|
-
xs: boolean;
|
|
942
|
-
md: boolean;
|
|
943
|
-
lg: boolean;
|
|
944
|
-
xl: boolean;
|
|
945
|
-
sm: boolean;
|
|
946
|
-
loading: boolean;
|
|
947
|
-
};
|
|
989
|
+
declare const IconButton: FC<CustomIconButtonProps>;
|
|
948
990
|
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
991
|
+
type ESTag = 'borough' | 'district' | 'city' | 'metro' | 'street' | 'housing' | 'region' | 'property';
|
|
992
|
+
interface ESObject {
|
|
993
|
+
id: number;
|
|
994
|
+
slug: string;
|
|
995
|
+
tag: ESTag;
|
|
996
|
+
value_en: string;
|
|
997
|
+
value_ru: string;
|
|
998
|
+
value_uk: string;
|
|
957
999
|
}
|
|
958
|
-
interface
|
|
959
|
-
|
|
1000
|
+
interface ESGlobalObject extends ESObject {
|
|
1001
|
+
crmId?: number;
|
|
1002
|
+
countryId?: number;
|
|
1003
|
+
boroughId?: number;
|
|
1004
|
+
borough_crmid?: number;
|
|
1005
|
+
borough_en?: string;
|
|
1006
|
+
borough_ru?: string;
|
|
1007
|
+
borough_ua?: string;
|
|
1008
|
+
cityId?: number;
|
|
1009
|
+
city_crmid?: number;
|
|
1010
|
+
city_en?: string;
|
|
1011
|
+
city_ru?: string;
|
|
1012
|
+
city_uk?: string;
|
|
1013
|
+
districtId?: number;
|
|
1014
|
+
district_crmid?: number;
|
|
1015
|
+
district_en?: string;
|
|
1016
|
+
district_ru?: string;
|
|
1017
|
+
district_uk?: string;
|
|
1018
|
+
regionId?: number;
|
|
1019
|
+
region_crmid?: number;
|
|
1020
|
+
region_en?: string;
|
|
1021
|
+
region_ru?: string;
|
|
1022
|
+
region_uk?: string;
|
|
960
1023
|
}
|
|
961
|
-
type LocaleSlug = LocaleSlugSlice & LocaleSlugActions;
|
|
962
|
-
declare const createLocaleSlugSlice: StateCreator<LocaleSlug>;
|
|
963
|
-
declare const useLocaleSlugStore: zustand.UseBoundStore<zustand.StoreApi<LocaleSlug>>;
|
|
964
1024
|
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
1025
|
+
declare enum MACHINE_NAME {
|
|
1026
|
+
RESIDENTIAL = "residential",
|
|
1027
|
+
COMMERCE = "commerce",
|
|
1028
|
+
LAND = "land",
|
|
1029
|
+
SALE = "sale",
|
|
1030
|
+
RENT = "rent",
|
|
1031
|
+
DAILY = "daily",
|
|
1032
|
+
FLAT = "flat",
|
|
1033
|
+
HOUSE = "house",
|
|
1034
|
+
OFFICE = "office",
|
|
1035
|
+
TRADE_AREA = "trade_area",
|
|
1036
|
+
WAREHOUSE = "warehouse",
|
|
1037
|
+
PRODUCTION_FACILITY = "production_facility",
|
|
1038
|
+
FOOD_SERVICE_OBJECT = "food_service_object",
|
|
1039
|
+
SERVICE_OBJECT = "service_object",
|
|
1040
|
+
OTHER_OBJECT = "other_object",
|
|
1041
|
+
HOTEL_ROOM = "hotel_room",
|
|
1042
|
+
SHOP = "shop",
|
|
1043
|
+
WHOLE_BUILDING = "whole_building",
|
|
1044
|
+
LAND_IND_CONSTRUCTION = "ind_construction",
|
|
1045
|
+
LAND_GARDEN = "garden",
|
|
1046
|
+
LAND_AGRICULTURAL = "agricultural",
|
|
1047
|
+
LAND_COMMERCIAL = "commercial",
|
|
1048
|
+
APARTMENTS = "apartments",
|
|
1049
|
+
VILLA = "villa",
|
|
1050
|
+
PENTHOUSE = "penthouse",
|
|
1051
|
+
TOWNHOUSE = "townhouse",
|
|
1052
|
+
DUPLEX = "duplex",
|
|
1053
|
+
FLAT_RENT = "flats-rent",
|
|
1054
|
+
HOUSE_RENT = "houses-rent",
|
|
1055
|
+
ROOM_RENT = "rooms-rent",
|
|
1056
|
+
COMMERCIAL_RENT = "commercial-rent",
|
|
1057
|
+
FLAT_SALE = "flats-sale",
|
|
1058
|
+
HOUSE_SALE = "houses-sale",
|
|
1059
|
+
ROOM_SALE = "rooms-sale",
|
|
1060
|
+
COMMERCIAL_SALE = "commercial-sale",
|
|
1061
|
+
LAND_SALE = "land-sale",
|
|
1062
|
+
VALUE_1 = "VALUE_1",
|
|
1063
|
+
VALUE_2 = "VALUE_2",
|
|
1064
|
+
VALUE_3 = "VALUE_3",
|
|
1065
|
+
VALUE_4 = "VALUE_4",
|
|
1066
|
+
VALUE_5 = "VALUE_5",
|
|
1067
|
+
VALUE_6 = "VALUE_6",
|
|
1068
|
+
PRICE_UP = "price-up",
|
|
1069
|
+
PRICE_DOWN = "price-down",
|
|
1070
|
+
NEW = "new",
|
|
1071
|
+
OLD = "old",
|
|
1072
|
+
P_HOUSE_TYPE = "tip-budinku",
|
|
1073
|
+
P_WALL_MATERIAL = "material-stin",
|
|
1074
|
+
P_REPAIR = "remont",
|
|
1075
|
+
P_LAYOUT = "planuvannya",
|
|
1076
|
+
P_CLASS_OF_HOUSING = "klas-zhitla",
|
|
1077
|
+
P_ROOM_LAYOUT = "shema-kimnat",
|
|
1078
|
+
CITY = "city"
|
|
1079
|
+
}
|
|
1080
|
+
type SortKeysType = MACHINE_NAME.PRICE_UP | MACHINE_NAME.PRICE_DOWN | MACHINE_NAME.NEW | MACHINE_NAME.OLD;
|
|
1081
|
+
declare enum SORT_NAME {
|
|
1082
|
+
'price' = "price",
|
|
1083
|
+
'novelty' = "novelty"
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
interface ToggleSortProps {
|
|
1087
|
+
name: SORT_NAME;
|
|
1088
|
+
label: string;
|
|
1089
|
+
value?: SortKeysType;
|
|
1090
|
+
selected: boolean;
|
|
1091
|
+
flip: boolean;
|
|
1092
|
+
defFlip?: boolean;
|
|
977
1093
|
}
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
1094
|
+
declare const ToggleSort: FC<ToggleSortProps>;
|
|
1095
|
+
|
|
1096
|
+
declare const StyledButton: _emotion_styled.StyledComponent<_mui_material_Button_Button.ButtonOwnProps & Omit<_mui_material.ButtonBaseOwnProps, "classes"> & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
1097
|
+
ref?: ((instance: HTMLButtonElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
1098
|
+
}, "style" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon" | "variant"> & {
|
|
1099
|
+
theme?: _emotion_react.Theme;
|
|
1100
|
+
}, {}, {}>;
|
|
1101
|
+
|
|
1102
|
+
declare const SubmitSelectButton: (props: SelectChildrenProps) => react_jsx_runtime.JSX.Element;
|
|
1103
|
+
|
|
1104
|
+
declare const ToggleButton: FC<ToggleButtonProps & {
|
|
1105
|
+
textView?: boolean;
|
|
1106
|
+
}>;
|
|
1107
|
+
|
|
1108
|
+
interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
|
|
1109
|
+
textView?: boolean;
|
|
1110
|
+
flexDirection?: "row" | "col";
|
|
1111
|
+
onChange: (event: MouseEvent<HTMLElement>, value: any) => void;
|
|
1112
|
+
value: any;
|
|
981
1113
|
}
|
|
982
|
-
|
|
983
|
-
declare const createModalSlice: StateCreator<Modal>;
|
|
984
|
-
declare const useLayoutStore: zustand.UseBoundStore<zustand.StoreApi<Modal>>;
|
|
1114
|
+
declare const ToggleButtonGroup: FC<ToggleButtonGroupProps & PropsWithChildren>;
|
|
985
1115
|
|
|
986
|
-
|
|
1116
|
+
interface ToggleButtonsMultipleProps$1 extends ToggleButtonGroupProps$1 {
|
|
1117
|
+
values: {
|
|
1118
|
+
value: string | number[];
|
|
1119
|
+
title: string;
|
|
1120
|
+
}[];
|
|
1121
|
+
textView?: boolean;
|
|
1122
|
+
collapseOnClick?: boolean;
|
|
1123
|
+
collapseParent?: () => void;
|
|
1124
|
+
label?: string;
|
|
1125
|
+
}
|
|
1126
|
+
declare const ToggleButtonsMultiple: FC<ToggleButtonsMultipleProps$1 & UseControllerProps<any>>;
|
|
987
1127
|
|
|
988
1128
|
type Values = {
|
|
989
1129
|
value: string | number[];
|
|
990
1130
|
title: string;
|
|
991
1131
|
}[];
|
|
992
|
-
|
|
993
1132
|
interface ToggleButtonsMultipleProps extends ToggleButtonGroupProps$1 {
|
|
994
1133
|
values: Values;
|
|
995
1134
|
textView?: boolean;
|
|
@@ -999,44 +1138,49 @@ interface ToggleButtonsMultipleProps extends ToggleButtonGroupProps$1 {
|
|
|
999
1138
|
flexDirection?: 'row' | 'col';
|
|
1000
1139
|
fixWidth?: boolean;
|
|
1001
1140
|
arrayValueFormat?: boolean;
|
|
1141
|
+
name: any;
|
|
1002
1142
|
}
|
|
1003
|
-
declare const ToggleButtonsWithLabel: <
|
|
1143
|
+
declare const ToggleButtonsWithLabel: FC<ToggleButtonsMultipleProps>;
|
|
1004
1144
|
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1145
|
+
interface LogoBlockProps {
|
|
1146
|
+
classes?: string;
|
|
1147
|
+
small?: boolean;
|
|
1148
|
+
locale: string;
|
|
1149
|
+
homePage: string;
|
|
1150
|
+
}
|
|
1151
|
+
declare const LogoBlock: FC<LogoBlockProps>;
|
|
1008
1152
|
|
|
1009
|
-
interface
|
|
1010
|
-
|
|
1011
|
-
flexDirection?: "row" | "col";
|
|
1012
|
-
onChange: (event: MouseEvent<HTMLElement>, value: any) => void;
|
|
1013
|
-
value: any;
|
|
1153
|
+
interface LogoBlockWhiteProps {
|
|
1154
|
+
classes?: string;
|
|
1014
1155
|
}
|
|
1015
|
-
declare const
|
|
1156
|
+
declare const LogoBlockWhite: FC<LogoBlockWhiteProps>;
|
|
1016
1157
|
|
|
1017
|
-
declare const
|
|
1158
|
+
declare const StyledBadge: FC;
|
|
1159
|
+
declare const StyledBadgeDesc: FC;
|
|
1018
1160
|
|
|
1019
1161
|
interface SelectProProps$1 {
|
|
1020
1162
|
placeholder?: string;
|
|
1021
|
-
childTitle?:
|
|
1163
|
+
childTitle?: string;
|
|
1022
1164
|
colorBorder?: boolean;
|
|
1023
1165
|
clickComponent?: ReactElement;
|
|
1166
|
+
btnStartIcon?: ReactElement;
|
|
1167
|
+
actionsComponent?: ReactElement;
|
|
1168
|
+
intermediateChild?: ReactElement;
|
|
1169
|
+
startIcon?: ReactElement;
|
|
1170
|
+
disableCloseButton?: boolean;
|
|
1024
1171
|
fullContainerWidth?: boolean;
|
|
1025
1172
|
overButton?: boolean;
|
|
1026
1173
|
small?: boolean;
|
|
1027
1174
|
fullWidth?: boolean;
|
|
1028
1175
|
freeChildWidth?: boolean;
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
intermediateChild?: ReactElement;
|
|
1032
|
-
actionsComponent?: ReactElement;
|
|
1033
|
-
accentBgColor?: true;
|
|
1034
|
-
paperSx?: SystemStyleObject;
|
|
1176
|
+
btnStyles?: string;
|
|
1177
|
+
whiteArrow?: boolean;
|
|
1035
1178
|
childContainerSx?: SystemStyleObject;
|
|
1036
|
-
|
|
1037
|
-
|
|
1179
|
+
paperSx?: SystemStyleObject;
|
|
1180
|
+
openUp?: boolean;
|
|
1181
|
+
controlled?: boolean;
|
|
1038
1182
|
}
|
|
1039
|
-
declare const
|
|
1183
|
+
declare const Select: FC<PropsWithChildren & SelectProProps$1>;
|
|
1040
1184
|
|
|
1041
1185
|
interface SelectProProps {
|
|
1042
1186
|
placeholder?: string;
|
|
@@ -1048,118 +1192,81 @@ interface SelectProProps {
|
|
|
1048
1192
|
}
|
|
1049
1193
|
declare const SimpleSelect: FC<PropsWithChildren & SelectProProps>;
|
|
1050
1194
|
|
|
1051
|
-
|
|
1195
|
+
type outLinkType = 'viber' | 'telegram' | 'tel' | 'googleMaps' | 'mail' | 'link' | 'whatsapp';
|
|
1196
|
+
|
|
1197
|
+
interface ILinkOut {
|
|
1052
1198
|
data?: string;
|
|
1053
1199
|
type: outLinkType;
|
|
1054
1200
|
title: string | ReactNode;
|
|
1055
1201
|
classes?: string;
|
|
1056
1202
|
blank?: boolean;
|
|
1057
1203
|
}
|
|
1058
|
-
declare
|
|
1204
|
+
declare function LinkOut({ data, type, title, classes, blank, }: ILinkOut): react_jsx_runtime.JSX.Element;
|
|
1059
1205
|
|
|
1060
|
-
interface
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
label?: string;
|
|
1064
|
-
value?: string;
|
|
1206
|
+
interface CustomSwitchProps {
|
|
1207
|
+
beforeText?: string;
|
|
1208
|
+
afterText?: string;
|
|
1065
1209
|
}
|
|
1066
|
-
declare const
|
|
1210
|
+
declare const Switch: FC<CustomSwitchProps & SwitchProps>;
|
|
1067
1211
|
|
|
1068
|
-
declare const
|
|
1212
|
+
declare const LocaleSwitch: FC<LocaleSwitcherProps>;
|
|
1069
1213
|
|
|
1070
|
-
declare const
|
|
1214
|
+
declare const LocaleSwitchToggle: FC<LocaleSwitcherProps>;
|
|
1071
1215
|
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1216
|
+
declare const CatalogViewSwitch: () => react_jsx_runtime.JSX.Element;
|
|
1217
|
+
|
|
1218
|
+
declare const List: FC<ListProps>;
|
|
1219
|
+
|
|
1220
|
+
interface ListItemProps {
|
|
1221
|
+
icon?: ReactElement;
|
|
1222
|
+
title: string;
|
|
1223
|
+
value: MACHINE_NAME | string;
|
|
1224
|
+
bold?: boolean;
|
|
1225
|
+
onClick?: (value: MACHINE_NAME | string) => void;
|
|
1076
1226
|
}
|
|
1077
|
-
declare const
|
|
1227
|
+
declare const ListItem: FC<ListItemProps>;
|
|
1078
1228
|
|
|
1079
|
-
interface
|
|
1080
|
-
|
|
1229
|
+
interface ErrorMessageProps {
|
|
1230
|
+
errorMessage?: string;
|
|
1081
1231
|
}
|
|
1082
|
-
declare const
|
|
1232
|
+
declare const ErrorMessage: FC<ErrorMessageProps>;
|
|
1083
1233
|
|
|
1084
|
-
declare const
|
|
1085
|
-
name: string;
|
|
1086
|
-
}>;
|
|
1234
|
+
declare const Input: FC<InputProps>;
|
|
1087
1235
|
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
interface ESGlobalObject extends ESObject {
|
|
1098
|
-
crmId?: number;
|
|
1099
|
-
countryId?: number;
|
|
1100
|
-
boroughId?: number;
|
|
1101
|
-
borough_crmid?: number;
|
|
1102
|
-
borough_en?: string;
|
|
1103
|
-
borough_ru?: string;
|
|
1104
|
-
borough_ua?: string;
|
|
1105
|
-
cityId?: number;
|
|
1106
|
-
city_crmid?: number;
|
|
1107
|
-
city_en?: string;
|
|
1108
|
-
city_ru?: string;
|
|
1109
|
-
city_uk?: string;
|
|
1110
|
-
districtId?: number;
|
|
1111
|
-
district_crmid?: number;
|
|
1112
|
-
district_en?: string;
|
|
1113
|
-
district_ru?: string;
|
|
1114
|
-
district_uk?: string;
|
|
1115
|
-
regionId?: number;
|
|
1116
|
-
region_crmid?: number;
|
|
1117
|
-
region_en?: string;
|
|
1118
|
-
region_ru?: string;
|
|
1119
|
-
region_uk?: string;
|
|
1236
|
+
interface PhoneNumberInputProps {
|
|
1237
|
+
name: string;
|
|
1238
|
+
border?: boolean;
|
|
1239
|
+
showError?: boolean;
|
|
1240
|
+
fullWidth?: boolean;
|
|
1241
|
+
centerText?: boolean;
|
|
1242
|
+
white?: boolean;
|
|
1243
|
+
format: string;
|
|
1244
|
+
placeholder: string;
|
|
1120
1245
|
}
|
|
1246
|
+
declare const PhoneNumberInput: FC<PhoneNumberInputProps>;
|
|
1121
1247
|
|
|
1122
1248
|
interface SearchInputProps {
|
|
1123
1249
|
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
1124
1250
|
collapse?: boolean;
|
|
1125
|
-
chips:
|
|
1251
|
+
chips: ({
|
|
1252
|
+
label: string;
|
|
1253
|
+
} & ESGlobalObject)[] | undefined;
|
|
1126
1254
|
}
|
|
1127
1255
|
declare const SearchInput: <T extends FieldValues>(props: SearchInputProps & UseControllerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1128
1256
|
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
}
|
|
1135
|
-
declare const CategoryCard: FC<CategoryCardProps>;
|
|
1136
|
-
|
|
1137
|
-
interface ArticleCardProps {
|
|
1138
|
-
imageUrl: string;
|
|
1139
|
-
title: string;
|
|
1140
|
-
text: string;
|
|
1141
|
-
classes?: string;
|
|
1142
|
-
href: string;
|
|
1143
|
-
}
|
|
1144
|
-
declare const ArticleCard: FC<ArticleCardProps>;
|
|
1145
|
-
|
|
1146
|
-
interface JobCardProps {
|
|
1147
|
-
}
|
|
1148
|
-
declare const JobCard: FC<JobCardProps>;
|
|
1149
|
-
|
|
1150
|
-
declare const RealtorCard: () => react_jsx_runtime.JSX.Element;
|
|
1257
|
+
declare const StyledAccordion: FC<AccordionProps & {
|
|
1258
|
+
isFirst: boolean;
|
|
1259
|
+
}>;
|
|
1260
|
+
declare const StyledAccordionSummary: FC;
|
|
1261
|
+
declare const StyledAccordionDetails: FC;
|
|
1151
1262
|
|
|
1152
|
-
declare const
|
|
1263
|
+
declare const Paginator: () => react_jsx_runtime.JSX.Element | null;
|
|
1153
1264
|
|
|
1154
|
-
declare const
|
|
1265
|
+
declare const PaginationItem: FC<PaginationItemOwnProps>;
|
|
1155
1266
|
|
|
1156
|
-
interface
|
|
1157
|
-
|
|
1158
|
-
title: string;
|
|
1159
|
-
bold?: boolean;
|
|
1160
|
-
onClick?: (value: string) => void;
|
|
1161
|
-
value?: string;
|
|
1267
|
+
interface IPaginatorSimpleProps {
|
|
1268
|
+
total?: number;
|
|
1162
1269
|
}
|
|
1163
|
-
declare
|
|
1270
|
+
declare function PaginatorSimple({ total }: IPaginatorSimpleProps): react_jsx_runtime.JSX.Element;
|
|
1164
1271
|
|
|
1165
|
-
export { AboutCompanyMain, AboutUsFirstBlock, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreasFull, AreasSlider,
|
|
1272
|
+
export { AboutCompanyMain, AboutUsFirstBlock, StyledAccordion as Accordion, StyledAccordionDetails as AccordionDetails, StyledAccordionSummary as AccordionSummary, AmenitiesBlock, AnyLevelBlock, AnyQuestionsBlock, AreasFull, AreasSlider, ArticleContent, ArticlesBlock, ArticlesFull, BannerBlock, BannerBlock2, BannerReferralProgram, BecomePartner, BenefitsBlock, BenefitsVacanciesBlock, BlockAboutCareer, BlockChoiceLinkGoToCatalog, BlockContacts, BlockGroupLinks, BlockImages, BlockOurTeam, BlockTabsGroupLinks, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogNewProjects, CatalogRealtiesBlock, CatalogViewSwitch, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, Developers, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FloorPlansBlock, Footer, Footer2, FormBlock, FullScreenImage, GalleryBlock, GalleryRealty, Header, _default as HeaderContactButton, HeaderMob, IconButton, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkOut, List, ListItem, type LocaleSlug, LocaleSwitch, LocaleSwitchToggle, LogoBlock, LogoBlockWhite, MODAL_COMPONENT, MODAL_COMPONENTS, MODAL_TITLES, Main, type Modal, ObjectInfoBlock, Offices, OfficesBlock, OpenVacancies, OtherVacancies, OurAdvantages, OurServices, Paginator, PaginationItem as PaginatorItem, PaginatorSimple, PaymentPlanBlock, PhoneNumberInput, PopularAreas, Portfolios, ProjectsSlider, ReferralProgramFirstBlock, SearchInput, Select, ServicesTexts, SimpleSelect, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, ThanksBlockWithButton, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
|