mayak-common-library 0.0.245 → 0.0.247
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 +50 -1
- package/dist/index.d.ts +50 -1
- package/dist/index.js +5 -5
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -31,6 +31,10 @@ type SelectChildrenProps = {
|
|
|
31
31
|
type LanguageSlugsType = {
|
|
32
32
|
[key: string]: string;
|
|
33
33
|
};
|
|
34
|
+
declare enum CATALOG_VIEW {
|
|
35
|
+
CARD = "card",
|
|
36
|
+
MAP = "map"
|
|
37
|
+
}
|
|
34
38
|
type localesProps = {
|
|
35
39
|
label: string;
|
|
36
40
|
locale: string;
|
|
@@ -42,6 +46,10 @@ interface LocaleSwitcherProps {
|
|
|
42
46
|
}
|
|
43
47
|
type Site = 'kyiv' | 'dubai';
|
|
44
48
|
type TitlePosition = 'center' | 'left';
|
|
49
|
+
type BreadCrumbsItem = {
|
|
50
|
+
name: string;
|
|
51
|
+
path: string;
|
|
52
|
+
};
|
|
45
53
|
|
|
46
54
|
interface IWorker$1 {
|
|
47
55
|
imageUrl?: string;
|
|
@@ -1077,6 +1085,10 @@ interface ESGlobalObject extends ESObject {
|
|
|
1077
1085
|
region_uk?: string;
|
|
1078
1086
|
}
|
|
1079
1087
|
|
|
1088
|
+
declare enum CURRENCY {
|
|
1089
|
+
USD = "usd",
|
|
1090
|
+
UAH = "uah"
|
|
1091
|
+
}
|
|
1080
1092
|
declare enum MACHINE_NAME {
|
|
1081
1093
|
RESIDENTIAL = "residential",
|
|
1082
1094
|
COMMERCE = "commerce",
|
|
@@ -1132,11 +1144,41 @@ declare enum MACHINE_NAME {
|
|
|
1132
1144
|
P_ROOM_LAYOUT = "shema-kimnat",
|
|
1133
1145
|
CITY = "city"
|
|
1134
1146
|
}
|
|
1147
|
+
interface FilterTerms {
|
|
1148
|
+
[key: string]: string[];
|
|
1149
|
+
}
|
|
1150
|
+
type TypeFloorKeys = MACHINE_NAME.VALUE_1 | MACHINE_NAME.VALUE_2 | MACHINE_NAME.VALUE_3 | MACHINE_NAME.VALUE_4;
|
|
1151
|
+
type TypeRoomKeys = MACHINE_NAME.VALUE_1 | MACHINE_NAME.VALUE_2 | MACHINE_NAME.VALUE_3 | MACHINE_NAME.VALUE_4 | MACHINE_NAME.VALUE_5 | MACHINE_NAME.VALUE_6;
|
|
1152
|
+
type TypeStateKeys = MACHINE_NAME.FLAT_RENT | MACHINE_NAME.HOUSE_RENT | MACHINE_NAME.COMMERCIAL_RENT | MACHINE_NAME.HOUSE_SALE | MACHINE_NAME.FLAT_SALE | MACHINE_NAME.COMMERCIAL_SALE | MACHINE_NAME.LAND_SALE;
|
|
1153
|
+
type AssignmentStateKeys = MACHINE_NAME.OFFICE | MACHINE_NAME.TRADE_AREA | MACHINE_NAME.WAREHOUSE | MACHINE_NAME.PRODUCTION_FACILITY | MACHINE_NAME.FOOD_SERVICE_OBJECT | MACHINE_NAME.SERVICE_OBJECT | MACHINE_NAME.OTHER_OBJECT | MACHINE_NAME.HOTEL_ROOM | MACHINE_NAME.SHOP | MACHINE_NAME.WHOLE_BUILDING | MACHINE_NAME.LAND_IND_CONSTRUCTION | MACHINE_NAME.LAND_GARDEN | MACHINE_NAME.LAND_AGRICULTURAL | MACHINE_NAME.LAND_COMMERCIAL;
|
|
1135
1154
|
type SortKeysType = MACHINE_NAME.PRICE_UP | MACHINE_NAME.PRICE_DOWN | MACHINE_NAME.NEW | MACHINE_NAME.OLD;
|
|
1136
1155
|
declare enum SORT_NAME {
|
|
1137
1156
|
'price' = "price",
|
|
1138
1157
|
'novelty' = "novelty"
|
|
1139
1158
|
}
|
|
1159
|
+
type RangeType = {
|
|
1160
|
+
min?: number;
|
|
1161
|
+
max?: number;
|
|
1162
|
+
};
|
|
1163
|
+
type SearchQueryObject = {
|
|
1164
|
+
areaKitchen?: RangeType;
|
|
1165
|
+
areaTotal?: RangeType;
|
|
1166
|
+
areaLand?: RangeType;
|
|
1167
|
+
assigment?: AssignmentStateKeys[];
|
|
1168
|
+
city?: string;
|
|
1169
|
+
floor?: TypeFloorKeys;
|
|
1170
|
+
sort?: SortKeysType;
|
|
1171
|
+
page?: number;
|
|
1172
|
+
price?: RangeType;
|
|
1173
|
+
roomCount?: TypeRoomKeys[];
|
|
1174
|
+
search?: FilterTerms;
|
|
1175
|
+
totalFloors?: TypeFloorKeys;
|
|
1176
|
+
type: TypeStateKeys;
|
|
1177
|
+
currency?: CURRENCY;
|
|
1178
|
+
properties?: string[];
|
|
1179
|
+
newBuilding?: string;
|
|
1180
|
+
view?: CATALOG_VIEW;
|
|
1181
|
+
};
|
|
1140
1182
|
|
|
1141
1183
|
interface ToggleSortProps {
|
|
1142
1184
|
name: SORT_NAME;
|
|
@@ -1383,4 +1425,11 @@ interface ISliderObject {
|
|
|
1383
1425
|
}
|
|
1384
1426
|
declare const SliderObject: ({ images }: ISliderObject) => react_jsx_runtime.JSX.Element;
|
|
1385
1427
|
|
|
1386
|
-
|
|
1428
|
+
interface BreadCrumbsProps {
|
|
1429
|
+
filterValues?: SearchQueryObject;
|
|
1430
|
+
lastBreadCrumb?: BreadCrumbsItem;
|
|
1431
|
+
breadCrumbsList?: BreadCrumbsItem[];
|
|
1432
|
+
}
|
|
1433
|
+
declare const BreadCrumbs: FC<BreadCrumbsProps>;
|
|
1434
|
+
|
|
1435
|
+
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, BreadCrumbs, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogNewProjects, CatalogRealtiesBlock, CatalogViewSwitch, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, DevelopersFull, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, ImageAndTextBlock, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkIconBorder, 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, ServicesFull, ServicesTexts, SimpleSelect, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
|
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,10 @@ type SelectChildrenProps = {
|
|
|
31
31
|
type LanguageSlugsType = {
|
|
32
32
|
[key: string]: string;
|
|
33
33
|
};
|
|
34
|
+
declare enum CATALOG_VIEW {
|
|
35
|
+
CARD = "card",
|
|
36
|
+
MAP = "map"
|
|
37
|
+
}
|
|
34
38
|
type localesProps = {
|
|
35
39
|
label: string;
|
|
36
40
|
locale: string;
|
|
@@ -42,6 +46,10 @@ interface LocaleSwitcherProps {
|
|
|
42
46
|
}
|
|
43
47
|
type Site = 'kyiv' | 'dubai';
|
|
44
48
|
type TitlePosition = 'center' | 'left';
|
|
49
|
+
type BreadCrumbsItem = {
|
|
50
|
+
name: string;
|
|
51
|
+
path: string;
|
|
52
|
+
};
|
|
45
53
|
|
|
46
54
|
interface IWorker$1 {
|
|
47
55
|
imageUrl?: string;
|
|
@@ -1077,6 +1085,10 @@ interface ESGlobalObject extends ESObject {
|
|
|
1077
1085
|
region_uk?: string;
|
|
1078
1086
|
}
|
|
1079
1087
|
|
|
1088
|
+
declare enum CURRENCY {
|
|
1089
|
+
USD = "usd",
|
|
1090
|
+
UAH = "uah"
|
|
1091
|
+
}
|
|
1080
1092
|
declare enum MACHINE_NAME {
|
|
1081
1093
|
RESIDENTIAL = "residential",
|
|
1082
1094
|
COMMERCE = "commerce",
|
|
@@ -1132,11 +1144,41 @@ declare enum MACHINE_NAME {
|
|
|
1132
1144
|
P_ROOM_LAYOUT = "shema-kimnat",
|
|
1133
1145
|
CITY = "city"
|
|
1134
1146
|
}
|
|
1147
|
+
interface FilterTerms {
|
|
1148
|
+
[key: string]: string[];
|
|
1149
|
+
}
|
|
1150
|
+
type TypeFloorKeys = MACHINE_NAME.VALUE_1 | MACHINE_NAME.VALUE_2 | MACHINE_NAME.VALUE_3 | MACHINE_NAME.VALUE_4;
|
|
1151
|
+
type TypeRoomKeys = MACHINE_NAME.VALUE_1 | MACHINE_NAME.VALUE_2 | MACHINE_NAME.VALUE_3 | MACHINE_NAME.VALUE_4 | MACHINE_NAME.VALUE_5 | MACHINE_NAME.VALUE_6;
|
|
1152
|
+
type TypeStateKeys = MACHINE_NAME.FLAT_RENT | MACHINE_NAME.HOUSE_RENT | MACHINE_NAME.COMMERCIAL_RENT | MACHINE_NAME.HOUSE_SALE | MACHINE_NAME.FLAT_SALE | MACHINE_NAME.COMMERCIAL_SALE | MACHINE_NAME.LAND_SALE;
|
|
1153
|
+
type AssignmentStateKeys = MACHINE_NAME.OFFICE | MACHINE_NAME.TRADE_AREA | MACHINE_NAME.WAREHOUSE | MACHINE_NAME.PRODUCTION_FACILITY | MACHINE_NAME.FOOD_SERVICE_OBJECT | MACHINE_NAME.SERVICE_OBJECT | MACHINE_NAME.OTHER_OBJECT | MACHINE_NAME.HOTEL_ROOM | MACHINE_NAME.SHOP | MACHINE_NAME.WHOLE_BUILDING | MACHINE_NAME.LAND_IND_CONSTRUCTION | MACHINE_NAME.LAND_GARDEN | MACHINE_NAME.LAND_AGRICULTURAL | MACHINE_NAME.LAND_COMMERCIAL;
|
|
1135
1154
|
type SortKeysType = MACHINE_NAME.PRICE_UP | MACHINE_NAME.PRICE_DOWN | MACHINE_NAME.NEW | MACHINE_NAME.OLD;
|
|
1136
1155
|
declare enum SORT_NAME {
|
|
1137
1156
|
'price' = "price",
|
|
1138
1157
|
'novelty' = "novelty"
|
|
1139
1158
|
}
|
|
1159
|
+
type RangeType = {
|
|
1160
|
+
min?: number;
|
|
1161
|
+
max?: number;
|
|
1162
|
+
};
|
|
1163
|
+
type SearchQueryObject = {
|
|
1164
|
+
areaKitchen?: RangeType;
|
|
1165
|
+
areaTotal?: RangeType;
|
|
1166
|
+
areaLand?: RangeType;
|
|
1167
|
+
assigment?: AssignmentStateKeys[];
|
|
1168
|
+
city?: string;
|
|
1169
|
+
floor?: TypeFloorKeys;
|
|
1170
|
+
sort?: SortKeysType;
|
|
1171
|
+
page?: number;
|
|
1172
|
+
price?: RangeType;
|
|
1173
|
+
roomCount?: TypeRoomKeys[];
|
|
1174
|
+
search?: FilterTerms;
|
|
1175
|
+
totalFloors?: TypeFloorKeys;
|
|
1176
|
+
type: TypeStateKeys;
|
|
1177
|
+
currency?: CURRENCY;
|
|
1178
|
+
properties?: string[];
|
|
1179
|
+
newBuilding?: string;
|
|
1180
|
+
view?: CATALOG_VIEW;
|
|
1181
|
+
};
|
|
1140
1182
|
|
|
1141
1183
|
interface ToggleSortProps {
|
|
1142
1184
|
name: SORT_NAME;
|
|
@@ -1383,4 +1425,11 @@ interface ISliderObject {
|
|
|
1383
1425
|
}
|
|
1384
1426
|
declare const SliderObject: ({ images }: ISliderObject) => react_jsx_runtime.JSX.Element;
|
|
1385
1427
|
|
|
1386
|
-
|
|
1428
|
+
interface BreadCrumbsProps {
|
|
1429
|
+
filterValues?: SearchQueryObject;
|
|
1430
|
+
lastBreadCrumb?: BreadCrumbsItem;
|
|
1431
|
+
breadCrumbsList?: BreadCrumbsItem[];
|
|
1432
|
+
}
|
|
1433
|
+
declare const BreadCrumbs: FC<BreadCrumbsProps>;
|
|
1434
|
+
|
|
1435
|
+
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, BreadCrumbs, Button, ButtonDark, CallConsult, CallMeBlock, CasesBlock, CatalogNewProjects, CatalogRealtiesBlock, CatalogViewSwitch, ClientTransferProcess, ContactDubaiBlock, ContactUsBlock, DeveloperBanner, DeveloperTwoBlocks, DevelopersFull, DevelopersSlider, ErrorMessage, ExpertiseBlock, FAQ, FancyBox, FloorPlansBlock, Footer, Footer2, FormBlock, FormInput, FullScreenImage, GalleryBlock, GalleryRealty, H1, H1Big, H2, H3, H4, H5, H6, Header, _default as HeaderContactButton, HeaderMob, IconButton, ImageAndTextBlock, Input, JoinTeamBlock, type LayoutStore, LegalSupport, LinkIconBorder, 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, ServicesFull, ServicesTexts, SimpleSelect, SliderDefault, SliderObject, SocialBlock, SocialBlockMain, ToggleSort as SortToggle, StyledBadge, StyledBadgeDesc, StyledButton, SubmitSelectButton, Switch, TeamWorkerBlock, TextBlock, TextImageTileBlock, ThanksBlock, TitleBlock, ToggleButton, ToggleButtonGroup, ToggleButtonsMultiple, ToggleButtonsWithLabel, TopDevelopers, TrustUs, VacancyBoxInfo, VacancyContent, WeOffer, WeTakeFull, WhatIsYour, WhyShouldWork, WhyWe, createLocaleSlugSlice, createModalSlice, hrefSlugPrefix, useLayoutStore, useLocaleSlugStore, useWindowSize };
|