mayak-common-library 0.0.451 → 0.0.453
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 +9 -41
- package/dist/index.d.ts +9 -41
- package/dist/index.js +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -12,7 +12,7 @@ import * as _emotion_react from '@emotion/react';
|
|
|
12
12
|
import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
|
|
13
13
|
import * as _mui_material from '@mui/material';
|
|
14
14
|
import { ToggleButtonProps, ToggleButtonGroupProps as ToggleButtonGroupProps$1, ChipProps, PaginationItemOwnProps } from '@mui/material';
|
|
15
|
-
import { UseControllerProps
|
|
15
|
+
import { UseControllerProps } from 'react-hook-form';
|
|
16
16
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
17
17
|
import { FormControlLabelProps } from '@mui/material/FormControlLabel/FormControlLabel';
|
|
18
18
|
import { SwitchProps } from '@mui/material/Switch/Switch';
|
|
@@ -975,39 +975,6 @@ declare enum ESTagEnum {
|
|
|
975
975
|
Town = "town",
|
|
976
976
|
County = "county"
|
|
977
977
|
}
|
|
978
|
-
type ESTag = 'borough' | 'district' | 'city' | 'metro' | 'street' | 'housing' | 'region' | 'property';
|
|
979
|
-
interface ESObject {
|
|
980
|
-
id: number;
|
|
981
|
-
slug: string;
|
|
982
|
-
tag: ESTag;
|
|
983
|
-
value_en: string;
|
|
984
|
-
value_ru: string;
|
|
985
|
-
value_uk: string;
|
|
986
|
-
}
|
|
987
|
-
interface ESGlobalObject extends ESObject {
|
|
988
|
-
crmId?: number;
|
|
989
|
-
countryId?: number;
|
|
990
|
-
boroughId?: number;
|
|
991
|
-
borough_crmid?: number;
|
|
992
|
-
borough_en?: string;
|
|
993
|
-
borough_ru?: string;
|
|
994
|
-
borough_ua?: string;
|
|
995
|
-
cityId?: number;
|
|
996
|
-
city_crmid?: number;
|
|
997
|
-
city_en?: string;
|
|
998
|
-
city_ru?: string;
|
|
999
|
-
city_uk?: string;
|
|
1000
|
-
districtId?: number;
|
|
1001
|
-
district_crmid?: number;
|
|
1002
|
-
district_en?: string;
|
|
1003
|
-
district_ru?: string;
|
|
1004
|
-
district_uk?: string;
|
|
1005
|
-
regionId?: number;
|
|
1006
|
-
region_crmid?: number;
|
|
1007
|
-
region_en?: string;
|
|
1008
|
-
region_ru?: string;
|
|
1009
|
-
region_uk?: string;
|
|
1010
|
-
}
|
|
1011
978
|
|
|
1012
979
|
type MenuItem = {
|
|
1013
980
|
path: string;
|
|
@@ -1484,11 +1451,12 @@ declare const PhoneNumberInput: FC<PhoneNumberInputProps>;
|
|
|
1484
1451
|
interface SearchInputProps$1 {
|
|
1485
1452
|
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
1486
1453
|
collapse?: boolean;
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1454
|
+
defValue?: string;
|
|
1455
|
+
placeholder?: string;
|
|
1456
|
+
value: string;
|
|
1457
|
+
onChange: (value: string) => void;
|
|
1490
1458
|
}
|
|
1491
|
-
declare const SearchInput:
|
|
1459
|
+
declare const SearchInput: (props: SearchInputProps$1) => react_jsx_runtime.JSX.Element;
|
|
1492
1460
|
|
|
1493
1461
|
declare const FormInput: FC<InputProps & {
|
|
1494
1462
|
name: string;
|
|
@@ -1509,7 +1477,7 @@ interface SearchInputProps {
|
|
|
1509
1477
|
placeholder?: string;
|
|
1510
1478
|
value: string;
|
|
1511
1479
|
onChange: (value: string) => void;
|
|
1512
|
-
onChipDelete
|
|
1480
|
+
onChipDelete?: (value: string) => void;
|
|
1513
1481
|
startAdornment?: ReactNode;
|
|
1514
1482
|
}
|
|
1515
1483
|
declare const SearchPlaceInput: (props: SearchInputProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -1552,11 +1520,11 @@ declare const H5: FC<HProps>;
|
|
|
1552
1520
|
|
|
1553
1521
|
declare const H6: FC<HProps>;
|
|
1554
1522
|
|
|
1555
|
-
interface
|
|
1523
|
+
interface FancyBoxProps {
|
|
1556
1524
|
options?: Partial<OptionsType>;
|
|
1557
1525
|
delegate?: string;
|
|
1558
1526
|
}
|
|
1559
|
-
declare
|
|
1527
|
+
declare const FancyBox: FC<PropsWithChildren<FancyBoxProps>>;
|
|
1560
1528
|
|
|
1561
1529
|
interface ISliderDefault {
|
|
1562
1530
|
children: ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as _emotion_react from '@emotion/react';
|
|
|
12
12
|
import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
|
|
13
13
|
import * as _mui_material from '@mui/material';
|
|
14
14
|
import { ToggleButtonProps, ToggleButtonGroupProps as ToggleButtonGroupProps$1, ChipProps, PaginationItemOwnProps } from '@mui/material';
|
|
15
|
-
import { UseControllerProps
|
|
15
|
+
import { UseControllerProps } from 'react-hook-form';
|
|
16
16
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
17
17
|
import { FormControlLabelProps } from '@mui/material/FormControlLabel/FormControlLabel';
|
|
18
18
|
import { SwitchProps } from '@mui/material/Switch/Switch';
|
|
@@ -975,39 +975,6 @@ declare enum ESTagEnum {
|
|
|
975
975
|
Town = "town",
|
|
976
976
|
County = "county"
|
|
977
977
|
}
|
|
978
|
-
type ESTag = 'borough' | 'district' | 'city' | 'metro' | 'street' | 'housing' | 'region' | 'property';
|
|
979
|
-
interface ESObject {
|
|
980
|
-
id: number;
|
|
981
|
-
slug: string;
|
|
982
|
-
tag: ESTag;
|
|
983
|
-
value_en: string;
|
|
984
|
-
value_ru: string;
|
|
985
|
-
value_uk: string;
|
|
986
|
-
}
|
|
987
|
-
interface ESGlobalObject extends ESObject {
|
|
988
|
-
crmId?: number;
|
|
989
|
-
countryId?: number;
|
|
990
|
-
boroughId?: number;
|
|
991
|
-
borough_crmid?: number;
|
|
992
|
-
borough_en?: string;
|
|
993
|
-
borough_ru?: string;
|
|
994
|
-
borough_ua?: string;
|
|
995
|
-
cityId?: number;
|
|
996
|
-
city_crmid?: number;
|
|
997
|
-
city_en?: string;
|
|
998
|
-
city_ru?: string;
|
|
999
|
-
city_uk?: string;
|
|
1000
|
-
districtId?: number;
|
|
1001
|
-
district_crmid?: number;
|
|
1002
|
-
district_en?: string;
|
|
1003
|
-
district_ru?: string;
|
|
1004
|
-
district_uk?: string;
|
|
1005
|
-
regionId?: number;
|
|
1006
|
-
region_crmid?: number;
|
|
1007
|
-
region_en?: string;
|
|
1008
|
-
region_ru?: string;
|
|
1009
|
-
region_uk?: string;
|
|
1010
|
-
}
|
|
1011
978
|
|
|
1012
979
|
type MenuItem = {
|
|
1013
980
|
path: string;
|
|
@@ -1484,11 +1451,12 @@ declare const PhoneNumberInput: FC<PhoneNumberInputProps>;
|
|
|
1484
1451
|
interface SearchInputProps$1 {
|
|
1485
1452
|
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
1486
1453
|
collapse?: boolean;
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1454
|
+
defValue?: string;
|
|
1455
|
+
placeholder?: string;
|
|
1456
|
+
value: string;
|
|
1457
|
+
onChange: (value: string) => void;
|
|
1490
1458
|
}
|
|
1491
|
-
declare const SearchInput:
|
|
1459
|
+
declare const SearchInput: (props: SearchInputProps$1) => react_jsx_runtime.JSX.Element;
|
|
1492
1460
|
|
|
1493
1461
|
declare const FormInput: FC<InputProps & {
|
|
1494
1462
|
name: string;
|
|
@@ -1509,7 +1477,7 @@ interface SearchInputProps {
|
|
|
1509
1477
|
placeholder?: string;
|
|
1510
1478
|
value: string;
|
|
1511
1479
|
onChange: (value: string) => void;
|
|
1512
|
-
onChipDelete
|
|
1480
|
+
onChipDelete?: (value: string) => void;
|
|
1513
1481
|
startAdornment?: ReactNode;
|
|
1514
1482
|
}
|
|
1515
1483
|
declare const SearchPlaceInput: (props: SearchInputProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -1552,11 +1520,11 @@ declare const H5: FC<HProps>;
|
|
|
1552
1520
|
|
|
1553
1521
|
declare const H6: FC<HProps>;
|
|
1554
1522
|
|
|
1555
|
-
interface
|
|
1523
|
+
interface FancyBoxProps {
|
|
1556
1524
|
options?: Partial<OptionsType>;
|
|
1557
1525
|
delegate?: string;
|
|
1558
1526
|
}
|
|
1559
|
-
declare
|
|
1527
|
+
declare const FancyBox: FC<PropsWithChildren<FancyBoxProps>>;
|
|
1560
1528
|
|
|
1561
1529
|
interface ISliderDefault {
|
|
1562
1530
|
children: ReactNode;
|