stone-kit 0.0.93 → 0.0.1090
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/components/SliderNavigation/index.d.ts +3 -0
- package/dist/components/SliderNavigation/index.js +4 -0
- package/dist/components/SliderNavigation/ui/SliderNavigation.d.ts +11 -0
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +52 -0
- package/dist/components/SortSelect/hooks/useSortSelect.d.ts +2 -8
- package/dist/components/SortSelect/hooks/useSortSelect.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.types.d.ts +3 -2
- package/dist/main.d.ts +1 -1
- package/dist/main.js +22 -22
- package/dist/style.css +1 -1
- package/dist/useSortSelect-BWM68TJ3.js +76 -0
- package/package.json +1 -1
- package/dist/useSortSelect-A7A_pNcU.js +0 -76
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface ISliderNavigation {
|
|
2
|
+
indexSlide: number;
|
|
3
|
+
goPrev: () => void;
|
|
4
|
+
goNext: () => void;
|
|
5
|
+
arr: Array<unknown>;
|
|
6
|
+
additionalClassTag?: string;
|
|
7
|
+
additionalClassNavButton?: string;
|
|
8
|
+
navigationClassName?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const SliderNavigation: ({ indexSlide, goPrev, goNext, arr, additionalClassTag, navigationClassName, additionalClassNavButton }: ISliderNavigation) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsxs as m, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { RoundButton as s } from "../../RoundButton/ui/RoundButton.js";
|
|
3
|
+
import { Tag as g } from "../../Tag/ui/Tag.js";
|
|
4
|
+
import { useClientWidth as c } from "../../../shared/useClientWidth.js";
|
|
5
|
+
const f = ({
|
|
6
|
+
indexSlide: o,
|
|
7
|
+
goPrev: n,
|
|
8
|
+
goNext: t,
|
|
9
|
+
arr: e,
|
|
10
|
+
additionalClassTag: d = "",
|
|
11
|
+
navigationClassName: l = "",
|
|
12
|
+
additionalClassNavButton: a = ""
|
|
13
|
+
}) => {
|
|
14
|
+
const { isDesktop: r } = c();
|
|
15
|
+
return /* @__PURE__ */ m("div", { className: l, children: [
|
|
16
|
+
/* @__PURE__ */ i(
|
|
17
|
+
s,
|
|
18
|
+
{
|
|
19
|
+
size: r ? "large" : "medium",
|
|
20
|
+
iconName: "arrowLong",
|
|
21
|
+
deg: "90",
|
|
22
|
+
disabled: o === 0,
|
|
23
|
+
additionalClass: a,
|
|
24
|
+
onClick: n
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
/* @__PURE__ */ i(
|
|
28
|
+
g,
|
|
29
|
+
{
|
|
30
|
+
style: { backgroundColor: "#141416" },
|
|
31
|
+
additionalClass: d,
|
|
32
|
+
variant: "shade",
|
|
33
|
+
size: "medium",
|
|
34
|
+
children: `${o + 1} из ${e.length}`
|
|
35
|
+
}
|
|
36
|
+
),
|
|
37
|
+
/* @__PURE__ */ i(
|
|
38
|
+
s,
|
|
39
|
+
{
|
|
40
|
+
disabled: o === e.length - 1,
|
|
41
|
+
size: r ? "large" : "medium",
|
|
42
|
+
iconName: "arrowLong",
|
|
43
|
+
deg: "-90",
|
|
44
|
+
additionalClass: a,
|
|
45
|
+
onClick: t
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
] });
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
f as SliderNavigation
|
|
52
|
+
};
|
|
@@ -9,14 +9,8 @@ interface IUseSortSelect {
|
|
|
9
9
|
isOpen: boolean;
|
|
10
10
|
isMobile: boolean;
|
|
11
11
|
placeholder: string;
|
|
12
|
-
onChange?: (event:
|
|
13
|
-
|
|
14
|
-
value: string;
|
|
15
|
-
}) => void;
|
|
16
|
-
onBlur?: (event: {
|
|
17
|
-
label: string;
|
|
18
|
-
value: string;
|
|
19
|
-
}) => void;
|
|
12
|
+
onChange?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
13
|
+
onBlur?: (event: React.FocusEvent<HTMLDivElement>) => void;
|
|
20
14
|
}
|
|
21
15
|
export declare const useSortSelect: ({ selectedOption, setSelectedOption, setIsOpen, containerRef, onBlur, onChange, isMobile, placeholder, }: IUseSortSelect) => {
|
|
22
16
|
handleDocumentClick: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d, useRef as y, useEffect as I } from "react";
|
|
3
3
|
import { c as B } from "../../../index-DIxK0V-G.js";
|
|
4
|
-
import { s as e, u as E } from "../../../useSortSelect-
|
|
4
|
+
import { s as e, u as E } from "../../../useSortSelect-BWM68TJ3.js";
|
|
5
5
|
import { NewIcon as u } from "../../NewIcon/ui/NewIcon.js";
|
|
6
6
|
import "../../Button/ui/Button.js";
|
|
7
7
|
import "../../mobileButton/ui/MobileButton.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface Option {
|
|
2
3
|
value: string | number;
|
|
3
4
|
label: string;
|
|
@@ -7,7 +8,7 @@ export interface SortSelectProps {
|
|
|
7
8
|
placeholder?: string;
|
|
8
9
|
error?: boolean;
|
|
9
10
|
disabled?: boolean;
|
|
10
|
-
onChange?: (event:
|
|
11
|
-
onBlur?: (event:
|
|
11
|
+
onChange?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
12
|
+
onBlur?: (event: React.FocusEvent<HTMLDivElement, Element>) => void;
|
|
12
13
|
additionalClass?: string;
|
|
13
14
|
}
|
package/dist/main.d.ts
CHANGED
|
@@ -17,4 +17,4 @@ export { MetroTag } from './components/MetroTag';
|
|
|
17
17
|
export { LotCard } from './components/LotCard';
|
|
18
18
|
export { Select } from './components/Select';
|
|
19
19
|
export { useClientWidth } from './shared/useClientWidth';
|
|
20
|
-
export {
|
|
20
|
+
export { SliderNavigation } from './components/SliderNavigation';
|
package/dist/main.js
CHANGED
|
@@ -2,41 +2,41 @@ import { Button as t } from "./components/Button/ui/Button.js";
|
|
|
2
2
|
import { MobileButton as p } from "./components/mobileButton/ui/MobileButton.js";
|
|
3
3
|
import { NewIcon as f } from "./components/NewIcon/ui/NewIcon.js";
|
|
4
4
|
import { DestinationTab as n } from "./components/DestinationTab/ui/DestinationTab.js";
|
|
5
|
-
import { RoundButton as
|
|
6
|
-
import { Tag as
|
|
7
|
-
import { Switcher as
|
|
8
|
-
import { Text as
|
|
9
|
-
import { Flex as
|
|
5
|
+
import { RoundButton as a } from "./components/RoundButton/ui/RoundButton.js";
|
|
6
|
+
import { Tag as d } from "./components/Tag/ui/Tag.js";
|
|
7
|
+
import { Switcher as T } from "./components/Switcher/ui/Switcher.js";
|
|
8
|
+
import { Text as g } from "./components/Text/ui/Text.js";
|
|
9
|
+
import { Flex as S } from "./components/Flex/ui/Flex.js";
|
|
10
10
|
import { Input as h } from "./components/Input/ui/Input.js";
|
|
11
11
|
import { Modal as w } from "./components/Modal/ui/Modal.js";
|
|
12
12
|
import { FieldInput as M } from "./components/FieldInput/ui/FieldInput.js";
|
|
13
13
|
import { TabSwitcher as F } from "./components/TabSwitcher/ui/TabSwitcher.js";
|
|
14
|
-
import { GroupedInputs as
|
|
15
|
-
import { Logo as
|
|
16
|
-
import { MetroTag as
|
|
17
|
-
import { LotCard as
|
|
18
|
-
import { Select as
|
|
14
|
+
import { GroupedInputs as N } from "./components/GroupedInput/ui/GroupedInputs.js";
|
|
15
|
+
import { Logo as D } from "./components/Logo/ui/Logo.js";
|
|
16
|
+
import { MetroTag as R } from "./components/MetroTag/ui/MetroTag.js";
|
|
17
|
+
import { LotCard as j } from "./components/LotCard/ui/LotCard.js";
|
|
18
|
+
import { Select as q } from "./components/Select/ui/Select.js";
|
|
19
19
|
import { useClientWidth as z } from "./shared/useClientWidth.js";
|
|
20
|
-
import {
|
|
20
|
+
import { SliderNavigation as E } from "./components/SliderNavigation/ui/SliderNavigation.js";
|
|
21
21
|
export {
|
|
22
22
|
t as Button,
|
|
23
23
|
n as DestinationTab,
|
|
24
24
|
M as FieldInput,
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
S as Flex,
|
|
26
|
+
N as GroupedInputs,
|
|
27
27
|
h as Input,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
D as Logo,
|
|
29
|
+
j as LotCard,
|
|
30
|
+
R as MetroTag,
|
|
31
31
|
p as MobileButton,
|
|
32
32
|
w as Modal,
|
|
33
33
|
f as NewIcon,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
E as
|
|
37
|
-
|
|
34
|
+
a as RoundButton,
|
|
35
|
+
q as Select,
|
|
36
|
+
E as SliderNavigation,
|
|
37
|
+
T as Switcher,
|
|
38
38
|
F as TabSwitcher,
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
d as Tag,
|
|
40
|
+
g as Text,
|
|
41
41
|
z as useClientWidth
|
|
42
42
|
};
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._root_wkh0k_1{white-space:pre-wrap}._root_j8jt6_1{display:flex;width:100%}._root_j8jt6_1 input{position:absolute;z-index:-1000;width:0;height:0;opacity:0}._root_j8jt6_1 label{flex:1 0 0;width:auto}._item_j8jt6_17{display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;padding:11px 15px;border:1px solid #E6E8EC;border-left:none;box-sizing:border-box}._firstItem_j8jt6_29{border-radius:48px 0 0 48px;border-left:1px solid #E6E8EC}._lastItem_j8jt6_34{border-radius:0 48px 48px 0}._text_j8jt6_38{width:max-content;font-size:16px;line-height:24px;font-weight:500;font-family:inherit}._rootCol_j8jt6_46{flex-wrap:wrap}._rootCol_j8jt6_46 label{min-width:50%}._rootCol_j8jt6_46 label:nth-child(1) ._item_j8jt6_17{border-radius:48px 0 0}._rootCol_j8jt6_46 label:nth-child(2) ._item_j8jt6_17{border-radius:0 48px 0 0}._rootCol_j8jt6_46 label:nth-child(3) ._item_j8jt6_17{border-top:none;border-left:1px solid #E6E8EC;border-radius:0 0 0 48px}._rootCol_j8jt6_46 label:nth-child(4) ._item_j8jt6_17{border-top:none;border-radius:0 0 48px}._rootCol_j8jt6_46 label:nth-child(n+5) ._item_j8jt6_17{display:none}._whiteRow_j8jt6_71 input:not(:checked)~._item_j8jt6_17{color:#141416}._whiteRow_j8jt6_71 input:checked~._item_j8jt6_17{background-color:#141416;color:#fff}@media (min-width: 1024px){._whiteRow_j8jt6_71 input:not(:checked)~._item_j8jt6_17:hover{background-color:#141416;color:#fff;opacity:.9}._whiteRow_j8jt6_71 input:checked~._item_j8jt6_17:hover{opacity:.9}._whiteRow_j8jt6_71 input:disabled~._item_j8jt6_17{opacity:.7}}@keyframes _swiperForward_iju0r_1{0%{background:#b1b5c3;border:1px solid #b1b5c3}50%{background:#777e90;border:1px solid #777e90}to{background:#015ff9;border:1px solid #015ff9}}@keyframes _swiperBackward_iju0r_1{0%{background:#015ff9;border:1px solid #015ff9}50%{background:#024ac0;border:1px solid #024AC0}to{background:#b1b5c3;border:1px solid #b1b5c3}}._switcherWrapper_iju0r_29{display:flex;justify-content:space-between;align-items:center;outline:none}._swiper_iju0r_36{position:relative;width:36px;height:20px;padding:1px;border-radius:50px;border:1px solid #b1b5c3;background:#b1b5c3;box-sizing:border-box;cursor:pointer;outline:none;color:green}._swiperActive_iju0r_50{animation:_swiperForward_iju0r_1 .3s ease;animation-fill-mode:forwards}._swiperInactive_iju0r_55{animation:_swiperBackward_iju0r_1 .3s ease;animation-fill-mode:forwards}._swiperPoint_iju0r_60{position:relative;left:0;width:16px;height:16px;border-radius:50%;background:#fff;box-sizing:border-box;transition:all .3s ease;box-shadow:0 4px 4px #1414163d}._swiperPointActive_iju0r_72{left:16px}._sortSelectWrapper_1l3mx_1{position:relative;width:max-content;-webkit-user-select:none;user-select:none;max-width:178px}._selectedOptions_1l3mx_8{display:flex;flex:1;min-width:92px;max-width:92px;width:100%;padding-right:1.5rem;justify-content:space-between;align-items:center;font-family:inherit;font-size:16px;line-height:24px;font-weight:400;padding:11px 40px 11px 15px;border-radius:48px;border:1px solid #B1B5C3;background:#fff;box-sizing:border-box;outline:none;overflow:hidden}._selectedOptions_1l3mx_8:hover{border:1px solid #777E90}._selectedOptionsOpened_1l3mx_33{border:1px solid #141416}._selectOptionsDisabled_1l3mx_37{pointer-events:none;background:#f4f5f6;border:1px solid #E6E8EC;color:#b1b5c3}._optionsList_1l3mx_44{position:absolute;top:52px;width:inherit;padding:12px 24px 24px;border:1px solid #e6e8ec;border-radius:24px;background:#fff;box-shadow:0 5px 12px #0000001f,0 21px 21px #0000001a;z-index:120;box-sizing:border-box;max-height:241px;overflow-y:scroll}._mobileOptionList_1l3mx_59{width:100%;padding:24px;background:#fff;box-sizing:border-box}._mobileSortHeader_1l3mx_66{display:flex;justify-content:space-between;align-items:center;font-size:18px;line-height:24px;font-weight:400;font-family:inherit;padding:24px;border-radius:24px 24px 0 0;border-bottom:1px solid #E6E8EC;background:#fff}._modalAddBody_1l3mx_80{bottom:0;left:0;width:100%}._inputWrapper_1l3mx_86{display:flex;align-items:center}._inputWrapper_1l3mx_86 input{cursor:pointer}._option_1l3mx_44{display:flex;justify-content:space-between;align-items:center;padding:12px 0;font-size:16px;line-height:24px;font-weight:500;cursor:pointer}._option_1l3mx_44:not(:last-child){border-bottom:1px solid #F4F5F6}._option_1l3mx_44:hover{opacity:.7}._icon_1l3mx_111{position:absolute;left:50%;transform:translate(-50%);pointer-events:none}._checkBox_1l3mx_118{width:24px;height:24px;border-radius:50%;border:1px solid #B1B5C3}._checkBoxChecked_1l3mx_125{display:flex;align-items:center;justify-content:center;border:1px solid #015FF9}._innerCheck_1l3mx_132{width:12px;height:12px;border-radius:50%;border:1px solid #015FF9;background:#015ff9}@media (min-width: 1024px){._selectedOptions_1l3mx_8{display:flex;flex:1;max-width:unset}._optionsList_1l3mx_44{top:52px;min-width:375px;right:0}._icon_1l3mx_111{left:unset;right:16px;transform:translate(0)}}._multiSelectWrapper_eu431_1{position:relative;width:100%;-webkit-user-select:none;user-select:none}._selectedOptions_eu431_7{display:flex;flex:1;padding-right:2.5rem;justify-content:space-between;align-items:center;font-family:inherit;font-size:16px;line-height:24px;font-weight:400;padding:11px 12px 11px 24px;border-radius:48px;border:1px solid #B1B5C3;background:#fff;box-sizing:border-box;outline:none}._selectedOptions_eu431_7:hover{border:1px solid #777E90}._selectedOptionsOpened_eu431_28{border:1px solid #141416}._selectOptionsDisabled_eu431_32{pointer-events:none;background:#f4f5f6;border:1px solid #E6E8EC;color:#b1b5c3}._optionsList_eu431_39{position:absolute;top:52px;width:inherit;padding:12px 24px 24px;border:1px solid #e6e8ec;border-radius:24px;background:#fff;box-shadow:0 5px 12px #0000001f,0 21px 21px #0000001a;z-index:120;box-sizing:border-box;max-height:262px;overflow-y:scroll}._inputWrapper_eu431_54{display:flex;align-items:center}._inputWrapper_eu431_54 input{cursor:pointer}._option_eu431_39{display:flex;justify-content:space-between;align-items:center;padding:12px 0;cursor:pointer}._option_eu431_39:not(:last-child){border-bottom:1px solid #F4F5F6}._option_eu431_39:hover{opacity:.7}._icon_eu431_76{position:absolute;right:12px;pointer-events:none}._btnRound_7sz3m_1{display:flex;justify-content:center;align-items:center;border-radius:50%;padding:7px;box-sizing:border-box;cursor:pointer}._btnRound_7sz3m_1:disabled{opacity:.2}._btnRound_7sz3m_1:focus{outline:0}._small-size_7sz3m_17{width:32px;height:32px}._medium-size_7sz3m_22{width:40px;height:40px;padding:9px}._large-size_7sz3m_28{width:48px;height:48px;padding:11px}._whiteStroke_7sz3m_34{border:1px solid #e6e8ec;background-color:#fff}._whiteStroke_7sz3m_34:hover{border:1px solid #b1b5c3}._whiteStroke_7sz3m_34:active{border:1px solid #141416}@media (min-width: 1024px){._small-size_m_7sz3m_46{width:32px;height:32px}._medium-size_m_7sz3m_50{width:40px;height:40px;padding:9px}._large-size_m_7sz3m_55{width:48px;height:48px;padding:11px}}@media (min-width: 1440px){._small-size_l_7sz3m_62{width:32px;height:32px}._medium-size_l_7sz3m_66{width:40px;height:40px;padding:9px}._large-size_l_7sz3m_71{width:48px;height:48px;padding:11px}}._btnCommon_1cazw_1{position:relative;font-family:inherit;font-weight:500;display:flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;border:1px solid transparent;border-radius:48px;text-decoration:none;cursor:pointer}._btnCommon_1cazw_1:disabled{opacity:.2}._btnLoading_1cazw_19{pointer-events:none}._isHidden_1cazw_23{visibility:hidden}._auto-width_1cazw_27{width:max-content}._full-width_1cazw_31{width:100%}._tiny-size_1cazw_35{font-size:10px;line-height:12px;min-height:24px;padding:5px 11px;gap:4px}._small-size_1cazw_43{font-size:12px;line-height:16px;min-height:32px;padding:7px 11px;gap:8px}._medium-size_1cazw_51{font-size:14px;line-height:20px;min-height:40px;padding:9px 15px;gap:8px}._large-size_1cazw_59{font-size:16px;line-height:24px;min-height:48px;padding:11px 23px;gap:8px}._blue_1cazw_67{background:#015ff9;border:1px solid #015ff9;color:#fff}._blue_1cazw_67:hover{background:#024ac0;border:1px solid #024ac0}._blue_1cazw_67:active{background:#0645aa;border:1px solid #0645aa}._sokolniki_1cazw_81{background:#60663e;border:1px solid #60663e;color:#fff}._sokolniki_1cazw_81:hover{background:#494f29;border:1px solid #494f29}._sokolniki_1cazw_81:active{background:#303519;border:1px solid #303519}._black_1cazw_95{background:#141416;border:1px solid #141416;color:#fff}._black_1cazw_95:hover{background:#23262f;border:1px solid #353945}._black_1cazw_95:active{background:#353945;border:1px solid #777e90}._gray_1cazw_109{background:#f4f5f6;border:1px solid #f4f5f6;color:#777e90}._gray_1cazw_109:hover{background:#f4f5f6;border:1px solid #b1b5c3}._gray_1cazw_109:active{background:#e6e8ec;border:1px solid #b1b5c3}._whiteStroke_1cazw_123{background:#fff;border:1px solid #e6e8ec;color:#141416}._whiteStroke_1cazw_123:hover{border:1px solid #b1b5c3}._whiteStroke_1cazw_123:active{border:1px solid #141416}._whiteFilled_1cazw_135{background:#fff;border:1px solid #ffffff;color:#141416}._whiteFilled_1cazw_135:hover{background:#fcfcfd;border:1px solid #f4f5f6}._whiteFilled_1cazw_135:active{background:#f4f5f6;border:1px solid #f4f5f6}._shade_1cazw_149{background:#23262f;border:1px solid #23262F;color:#fff}@keyframes _LoaderSpin_1cazw_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._volodiyaLight_1cazw_163{background:#353945;border:1px solid #353945;color:#fff}._loader_1cazw_169{position:absolute;animation:_LoaderSpin_1cazw_1 1.4s infinite linear}@media (min-width: 1024px){._tiny-size_m_1cazw_175{font-size:10px;line-height:12px;min-height:24px;padding:5px 11px;gap:4px}._small-size_m_1cazw_182{font-size:12px;line-height:16px;min-height:32px;padding:7px 11px;gap:8px}._medium-size_m_1cazw_189{font-size:14px;line-height:20px;min-height:40px;padding:9px 15px;gap:8px}._large-size_m_1cazw_196{font-size:16px;line-height:24px;min-height:48px;padding:11px 23px;gap:8px}}@media (min-width: 1440px){._tiny-size_l_1cazw_205{font-size:10px;line-height:12px;min-height:24px;padding:5px 11px;gap:4px}._small-size_l_1cazw_212{font-size:12px;line-height:16px;min-height:32px;padding:7px 11px;gap:8px}._medium-size_l_1cazw_219{font-size:14px;line-height:20px;min-height:40px;padding:9px 15px;gap:8px}._large-size_l_1cazw_226{font-size:16px;line-height:24px;min-height:48px;padding:11px 23px;gap:8px}}._btnCommon_1act6_1{font-family:inherit;font-weight:500;display:flex;flex-direction:column;justify-content:space-between;align-items:center;box-sizing:border-box;text-align:center;border:1px solid transparent;border-radius:48px;cursor:pointer}._btnCommon_1act6_1:disabled{opacity:.2}._auto-width_1act6_18{width:auto}._full-width_1act6_22{width:100%}._small-size_1act6_26{font-size:10px;line-height:12px;min-height:56px;padding:7px 11px;gap:4px}._whiteFilled_1act6_34{background:#fff;border:1px solid #ffffff;color:#777e90}._whiteFilled_1act6_34:hover{background:#fcfcfd;border:1px solid #f4f5f6}._whiteFilled_1act6_34:active{background:#f4f5f6;border:1px solid #f4f5f6}._destination_1c7de_1{display:flex;justify-content:space-between;align-items:center;gap:8px;border-radius:110px;cursor:pointer}._destination_1c7de_1 input{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}._destination_1c7de_1 span{display:block;width:8px;height:8px;border-radius:50%}._auto-width_1c7de_29{width:max-content}._full-width_1c7de_33{width:100%}._medium-size_1c7de_37{padding:9px 23px}._medium-size_1c7de_37 ._destinationName_1c7de_40{font-size:14px;line-height:20px;font-weight:500}._medium-size_1c7de_37 ._routeText_1c7de_45{font-size:12px;line-height:16px;font-weight:500}._large-size_1c7de_51{padding:11px 31px}._large-size_1c7de_51 ._destinationName_1c7de_40{font-size:16px;line-height:24px;font-weight:500}._large-size_1c7de_51 ._routeText_1c7de_45{font-size:14px;line-height:20px;font-weight:500}._whiteStroke_1c7de_65{color:#353945;border:1px solid #f4f5f6}._whiteStroke_1c7de_65:hover{border:1px solid #b1b5c3}._whiteStroke_1c7de_65:active{background-color:#e6e8ec}._whiteStroke_1c7de_65 ._routeText_1c7de_45,._whiteStroke_1c7de_65 ._routeWrapper_1c7de_78{color:#777e90}._whiteStroke_1c7de_65:has(input:checked){border:1px solid #141416;background-color:#141416;color:#fff}._whiteStroke_1c7de_65:has(input:checked):hover{border:1px solid #353945;background-color:#23262f}._whiteStroke_1c7de_65:has(input:checked):active{background-color:#353945;border:1px solid #777E90}._whiteStroke_1c7de_65:has(input:checked) ._routeText_1c7de_45{color:#b1b5c3}._whiteStroke_1c7de_65:has(input:checked) ._routeWrapper_1c7de_78{color:#b1b5c3}._routeWrapper_1c7de_78{display:flex;gap:4px;justify-content:space-between;align-items:center}@media (min-width: 1024px){._medium-size_m_1c7de_109{padding:9px 23px}._medium-size_m_1c7de_109 ._destinationName_1c7de_40{font-size:14px;line-height:20px;font-weight:500}._medium-size_m_1c7de_109 ._routeText_1c7de_45{font-size:12px;line-height:16px;font-weight:500}._large-size_m_1c7de_122{padding:11px 31px}._large-size_m_1c7de_122 ._destinationName_1c7de_40{font-size:16px;line-height:24px;font-weight:500}._large-size_m_1c7de_122 ._routeText_1c7de_45{font-size:14px;line-height:20px;font-weight:500}}@media (min-width: 1440px){._medium-size_l_1c7de_137{padding:9px 23px}._medium-size_l_1c7de_137 ._destinationName_1c7de_40{font-size:14px;line-height:20px;font-weight:500}._medium-size_l_1c7de_137 ._routeText_1c7de_45{font-size:12px;line-height:16px;font-weight:500}._large-size_l_1c7de_150{padding:11px 31px}._large-size_l_1c7de_150 ._destinationName_1c7de_40{font-size:16px;line-height:24px;font-weight:500}._large-size_l_1c7de_150 ._routeText_1c7de_45{font-size:14px;line-height:20px;font-weight:500}}._tagCommon_13otg_1{font-family:inherit;font-weight:400;display:flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;border:1px solid transparent;border-radius:48px}._tagCommon_13otg_1:disabled{opacity:.2}._auto-width_13otg_16{width:max-content}._full-width_13otg_20{width:100%}._medium-size_13otg_24{font-size:14px;line-height:20px;min-height:40px;padding:10px 16px;gap:8px}._tiny-size_13otg_32{font-size:10px;line-height:12px;min-height:24px;padding:5px;gap:4px}._small-size_13otg_40{font-size:12px;line-height:16px;min-height:32px;padding:8px 16px;gap:4px}._preLarge-size_13otg_48{font-size:14px;line-height:20px;min-height:44px;padding:12px 24px;gap:10px}._large-size_13otg_56{font-size:16px;line-height:24px;min-height:48px;padding:12px 24px;gap:8px}._red_13otg_64{background:#ec5353;border:1px solid #ec5353;color:#fff}._gray_13otg_70{background:#f4f5f6;border:none;color:#353945}._shade_13otg_76{background:#141416cc;border:none;color:#fff}._blackGrey_13otg_82{background-color:#23262f;border:none;color:#e6e8ec}._chineseBlack_13otg_88{background-color:#141416;border:none;color:#fff}@media (min-width: 1024px){._tiny-size_m_13otg_95{font-size:10px;line-height:12px;min-height:24px;padding:5px;gap:4px}._medium-size_m_13otg_102{font-size:14px;line-height:20px;min-height:40px;padding:10px 16px;gap:8px}._small-size_m_13otg_109{font-size:12px;line-height:16px;min-height:32px;padding:8px 16px;gap:4px}._preLarge_size_m_13otg_116{font-size:14px;line-height:20px;min-height:44px;padding:12px 24px;gap:10px}._large-size_m_13otg_123{font-size:16px;line-height:24px;min-height:48px;padding:12px 24px;gap:8px}}@media (min-width: 1440px){._tiny-size_l_13otg_132{font-size:10px;line-height:12px;min-height:24px;padding:5px;gap:4px}._medium-size_l_13otg_139{font-size:14px;line-height:20px;min-height:40px;padding:10px 16px;gap:8px}._small-size_l_13otg_146{font-size:12px;line-height:16px;min-height:32px;padding:8px 16px;gap:4px}._preLarge-size_l_13otg_153{font-size:14px;line-height:20px;min-height:44px;padding:12px 24px;gap:10px}._large-size_l_13otg_160{font-size:16px;line-height:24px;min-height:48px;padding:12px 24px;gap:8px}}._root_fi64k_1{display:flex}._gap-1_fi64k_5{gap:4px}._gap-2_fi64k_9{gap:8px}._gap-3_fi64k_13{gap:12px}._gap-4_fi64k_17{gap:16px}._gap-5_fi64k_21{gap:20px}._gap-6_fi64k_25{gap:24px}._gap-7_fi64k_29{gap:28px}._gap-8_fi64k_33{gap:32px}._gap-9_fi64k_37{gap:36px}._gap-10_fi64k_41{gap:40px}._gap-11_fi64k_45{gap:44px}._gap-12_fi64k_49{gap:48px}._gap-13_fi64k_53{gap:52px}._gap-14_fi64k_57{gap:56px}._gap-15_fi64k_61{gap:60px}._gap-16_fi64k_65{gap:64px}._fd-row_fi64k_69{flex-direction:row}._fd-row-reverse_fi64k_73{flex-direction:row-reverse}._fd-column_fi64k_77{flex-direction:column}._fd-column-reverse_fi64k_81{flex-direction:column-reverse}._w-nowrap_fi64k_85{flex-wrap:nowrap}._w-wrap_fi64k_89{flex-wrap:wrap}._w-wrap-reverse_fi64k_93{flex-wrap:wrap-reverse}._jc-flex-start_fi64k_97{justify-content:flex-start}._jc-flex-end_fi64k_101{justify-content:flex-end}._jc-center_fi64k_105{justify-content:center}._jc-space-between_fi64k_109{justify-content:space-between}._jc-space-around_fi64k_113{justify-content:space-around}._jc-space-evenly_fi64k_117{justify-content:space-evenly}._ai-stretch_fi64k_121{align-items:stretch}._ai-flex-start_fi64k_125{align-items:flex-start}._ai-flex-end_fi64k_129{align-items:flex-end}._ai-center_fi64k_133{align-items:center}._ai-baseline_fi64k_137{align-items:baseline}._auto-width_qoqna_1{width:max-content;min-width:100px}._full-width_qoqna_6{width:100%}._inputWrapper_qoqna_10{display:flex;gap:4px;border-radius:48px;padding:10px 23px;border:1px solid #b1b5c3;box-sizing:border-box}._inputWrapper_qoqna_10 input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}._inputWrapper_qoqna_10 input{min-width:50px;width:100%;border:none;background:transparent;font-size:16px;line-height:24px;box-sizing:border-box}._inputWrapper_qoqna_10 input:focus{outline:none}._inputWrapperPost_qoqna_34,._inputWrapperPre_qoqna_35{font-size:16px;line-height:24px;font-weight:400;padding:10px 12px 10px 23px}._inputWrapperPost_qoqna_34 input,._inputWrapperPre_qoqna_35 input{font-size:16px;line-height:24px}._light_qoqna_47{background:#fff;border:1px solid #b1b5c3}._light_qoqna_47 input{color:#141416}._light_qoqna_47 input::placeholder{color:#b1b5c3}._light_qoqna_47 span{color:#b1b5c3}._light_qoqna_47:hover{border:1px solid #777e90}._light_qoqna_47:has(input:focus){border:1px solid #141416}._light_qoqna_47:has(input:disabled){background:#f4f5f6;border:1px solid #e6e8ec}._light_qoqna_47:has(input:disabled) input{color:#b1b5c3}._light_qoqna_47:has(input:disabled) input::placeholder{color:#b1b5c3}._light_qoqna_47:has(input:disabled) span{color:#b1b5c3}._dark_qoqna_80{background:#23262f;border:1px solid #353945}._dark_qoqna_80 input{color:#fff}._dark_qoqna_80 input::placeholder{color:#777e90}._dark_qoqna_80 span{color:#777e90}._dark_qoqna_80:hover{border:1px solid #777e90}._dark_qoqna_80:has(input:focus){border:1px solid #ffffff}._dark_qoqna_80:has(input:disabled){background:#141416;border:1px solid #353945}._dark_qoqna_80:has(input:disabled) input{color:#353945}._dark_qoqna_80:has(input:disabled) input::placeholder{color:#353945}._dark_qoqna_80:has(input:disabled) span{color:#353945}._dark_qoqna_80:has(input:invalid){border:1px solid #ec5353}._inputWrapperError_qoqna_116{border:1px solid #ec5353}._fieldInputWrapper_14ghj_1{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}._fieldInputWrapper_14ghj_1 label{font-family:inherit;font-size:12px;line-height:16px;font-weight:400;color:#141416}._root_oqb5i_1{display:flex;width:100%}._root_oqb5i_1>div:not(:first-of-type){border-left-width:.5px;border-top-left-radius:0;border-bottom-left-radius:0}._root_oqb5i_1>div:not(:last-of-type){border-right-width:.5px;border-top-right-radius:0;border-bottom-right-radius:0}._root_129gd_1{display:flex;padding:16px 0;gap:8px;width:max-content;box-sizing:border-box}._root_129gd_1 span{display:block;width:8px;height:8px;border-radius:50%}._metroColor_129gd_15{display:flex;align-items:center;font-size:14px;line-height:20px;font-weight:500;gap:8px;color:#353945}._route_129gd_25{display:flex;align-items:center;gap:4px;font-size:12px;line-height:16px;font-weight:500;color:#777e90}._auto-width_129gd_35{width:max-content}._full-width_129gd_39{width:100%}@media (min-width: 1024px){._root_129gd_1{padding:10px 24px;border-radius:110px;background:#f4f5f6}}._root_1tlck_1{display:flex;flex-direction:column;padding:32px 24px 24px;border:1px solid #e6e8ec;border-radius:24px;box-sizing:border-box}._lotImageWrapper_1tlck_10{display:flex;justify-content:center}._lotInfoWrapper_1tlck_15{display:flex;flex-direction:column;gap:16px;margin:32px 0 0}._infoHeader_1tlck_22{font-family:inherit;font-size:24px;line-height:32px;font-weight:500;letter-spacing:-.01em;color:#141416}._decor_1tlck_31{display:none}._decor_1tlck_31 span{display:block}._lotPropertyListMobile_1tlck_38{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}._lotPropertyItem_1tlck_46{display:flex;justify-content:space-between;font-family:inherit;font-size:14px;line-height:20px;padding:8px 0;border-bottom:1px solid #F4F5F6}._lotPropertyItem_1tlck_46 div:first-child{font-weight:400;color:#353945}._lotPropertyItem_1tlck_46 div:last-child{font-weight:500;color:#141416}._lotPropertyListDesktop_1tlck_64{display:none}._lotPriceWrapper_1tlck_68{font-family:inherit;font-size:18px;line-height:24px;margin:16px 0 0}._discountWrapper_1tlck_75{display:flex;justify-content:space-between;align-items:center}._discountWrapper_1tlck_75>div:last-child{font-weight:500;color:#141416}._discountPrice_1tlck_85{display:flex;align-items:center;font-weight:400;gap:8px;color:#b1b5c3}._discountPrice_1tlck_85 span{text-decoration:line-through;text-decoration-color:#ec5353}._lotPricePerMetr_1tlck_97{width:max-content;display:none}._btnWrapper_1tlck_102{display:flex;gap:8px;margin:24px 0 0}._btnWrapper_1tlck_102>button:first-child{display:none}@media (min-width: 1024px){._root_1tlck_1{flex-direction:row;gap:32px;padding:31px 30px 31px 32px}._lotImageWrapper_1tlck_10 img{width:148px;height:106px}._lotInfoWrapper_1tlck_15{display:flex;flex-direction:column;gap:0;margin:0}._decor_1tlck_31{display:flex;align-items:center;gap:8px;margin:4px 0 0;font-family:inherit;font-size:16px;line-height:24px;font-weight:500;color:#777e90}._lotPropertyListMobile_1tlck_38{display:none}._lotPropertyListDesktop_1tlck_64{display:flex;gap:8px;margin:16px 0 0}._lotPriceWrapper_1tlck_68{font-size:24px;line-height:32px;margin:0 0 0 auto}._discountWrapper_1tlck_75{gap:12px}._discountPrice_1tlck_85{font-size:14px;line-height:20px;gap:12px}._lotPricePerMetr_1tlck_97{display:block;margin:0 0 0 auto;font-size:14px;line-height:20px;font-weight:400;color:#353945}._btnWrapper_1tlck_102{justify-content:flex-end}._btnWrapper_1tlck_102>button:first-child{display:block}._btnWrapper_1tlck_102>button:last-child{width:max-content}}._wrapper_nzllw_1{display:flex;align-items:center;gap:8px}._logo_nzllw_7{width:81px;height:16px}._wrapperBetween_nzllw_12{width:100%;justify-content:space-between}._uk_nzllw_17{font-size:8px;line-height:8px;font-weight:600;letter-spacing:.11em;text-transform:uppercase}._uk_black_nzllw_24{color:#141416}._uk_white_nzllw_27{color:#fff}@media (min-width: 1024px){._logo_nzllw_7{width:101px;height:20px}._uk_nzllw_17{font-size:9px;line-height:10px}}._root_1cpat_1{display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100%;height:100%;z-index:102;overflow:auto;box-sizing:border-box}._modalBody_1cpat_15{position:absolute}._modalOverlay_1cpat_19{position:absolute;width:100%;height:100vh;background:#00000080}._isTransparentBack_1cpat_26{opacity:.5}
|
|
1
|
+
._root_wkh0k_1{white-space:pre-wrap}._root_j8jt6_1{display:flex;width:100%}._root_j8jt6_1 input{position:absolute;z-index:-1000;width:0;height:0;opacity:0}._root_j8jt6_1 label{flex:1 0 0;width:auto}._item_j8jt6_17{display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;padding:11px 15px;border:1px solid #E6E8EC;border-left:none;box-sizing:border-box}._firstItem_j8jt6_29{border-radius:48px 0 0 48px;border-left:1px solid #E6E8EC}._lastItem_j8jt6_34{border-radius:0 48px 48px 0}._text_j8jt6_38{width:max-content;font-size:16px;line-height:24px;font-weight:500;font-family:inherit}._rootCol_j8jt6_46{flex-wrap:wrap}._rootCol_j8jt6_46 label{min-width:50%}._rootCol_j8jt6_46 label:nth-child(1) ._item_j8jt6_17{border-radius:48px 0 0}._rootCol_j8jt6_46 label:nth-child(2) ._item_j8jt6_17{border-radius:0 48px 0 0}._rootCol_j8jt6_46 label:nth-child(3) ._item_j8jt6_17{border-top:none;border-left:1px solid #E6E8EC;border-radius:0 0 0 48px}._rootCol_j8jt6_46 label:nth-child(4) ._item_j8jt6_17{border-top:none;border-radius:0 0 48px}._rootCol_j8jt6_46 label:nth-child(n+5) ._item_j8jt6_17{display:none}._whiteRow_j8jt6_71 input:not(:checked)~._item_j8jt6_17{color:#141416}._whiteRow_j8jt6_71 input:checked~._item_j8jt6_17{background-color:#141416;color:#fff}@media (min-width: 1024px){._whiteRow_j8jt6_71 input:not(:checked)~._item_j8jt6_17:hover{background-color:#141416;color:#fff;opacity:.9}._whiteRow_j8jt6_71 input:checked~._item_j8jt6_17:hover{opacity:.9}._whiteRow_j8jt6_71 input:disabled~._item_j8jt6_17{opacity:.7}}@keyframes _swiperForward_iju0r_1{0%{background:#b1b5c3;border:1px solid #b1b5c3}50%{background:#777e90;border:1px solid #777e90}to{background:#015ff9;border:1px solid #015ff9}}@keyframes _swiperBackward_iju0r_1{0%{background:#015ff9;border:1px solid #015ff9}50%{background:#024ac0;border:1px solid #024AC0}to{background:#b1b5c3;border:1px solid #b1b5c3}}._switcherWrapper_iju0r_29{display:flex;justify-content:space-between;align-items:center;outline:none}._swiper_iju0r_36{position:relative;width:36px;height:20px;padding:1px;border-radius:50px;border:1px solid #b1b5c3;background:#b1b5c3;box-sizing:border-box;cursor:pointer;outline:none;color:green}._swiperActive_iju0r_50{animation:_swiperForward_iju0r_1 .3s ease;animation-fill-mode:forwards}._swiperInactive_iju0r_55{animation:_swiperBackward_iju0r_1 .3s ease;animation-fill-mode:forwards}._swiperPoint_iju0r_60{position:relative;left:0;width:16px;height:16px;border-radius:50%;background:#fff;box-sizing:border-box;transition:all .3s ease;box-shadow:0 4px 4px #1414163d}._swiperPointActive_iju0r_72{left:16px}._sortSelectWrapper_636hy_1{position:relative;width:max-content;-webkit-user-select:none;user-select:none;max-width:178px}._selectedOptions_636hy_8{display:flex;flex:1;max-width:92px;width:100%;padding-right:1.5rem;justify-content:space-between;align-items:center;font-family:inherit;font-size:16px;line-height:24px;font-weight:400;padding:11px 40px 11px 15px;border-radius:48px;border:1px solid #B1B5C3;background:#fff;box-sizing:border-box;outline:none;overflow:hidden}._selectedOptions_636hy_8:hover{border:1px solid #777E90}._selectedOptionsOpened_636hy_32{border:1px solid #141416}._selectOptionsDisabled_636hy_36{pointer-events:none;background:#f4f5f6;border:1px solid #E6E8EC;color:#b1b5c3}._optionsList_636hy_43{position:absolute;top:52px;width:inherit;padding:12px 24px 24px;border:1px solid #e6e8ec;border-radius:24px;background:#fff;box-shadow:0 5px 12px #0000001f,0 21px 21px #0000001a;z-index:120;box-sizing:border-box;max-height:241px;overflow-y:scroll}._mobileOptionList_636hy_58{width:100%;padding:24px;background:#fff;box-sizing:border-box}._mobileSortHeader_636hy_65{display:flex;justify-content:space-between;align-items:center;font-size:18px;line-height:24px;font-weight:400;font-family:inherit;padding:24px;border-radius:24px 24px 0 0;border-bottom:1px solid #E6E8EC;background:#fff}._modalAddBody_636hy_79{bottom:0;left:0;width:100%}._inputWrapper_636hy_85{display:flex;align-items:center}._inputWrapper_636hy_85 input{cursor:pointer}._option_636hy_43{display:flex;justify-content:space-between;align-items:center;padding:12px 0;font-size:16px;line-height:24px;font-weight:500;cursor:pointer}._option_636hy_43:not(:last-child){border-bottom:1px solid #F4F5F6}._option_636hy_43:hover{opacity:.7}._icon_636hy_110{position:absolute;left:50%;transform:translate(-50%);pointer-events:none}._checkBox_636hy_117{width:24px;height:24px;border-radius:50%;border:1px solid #B1B5C3}._checkBoxChecked_636hy_124{display:flex;align-items:center;justify-content:center;border:1px solid #015FF9}._innerCheck_636hy_131{width:12px;height:12px;border-radius:50%;border:1px solid #015FF9;background:#015ff9}@media (min-width: 1024px){._selectedOptions_636hy_8{display:flex;flex:1;max-width:unset}._optionsList_636hy_43{top:52px;min-width:375px;right:0}._icon_636hy_110{left:unset;right:16px;transform:translate(0)}}._multiSelectWrapper_eu431_1{position:relative;width:100%;-webkit-user-select:none;user-select:none}._selectedOptions_eu431_7{display:flex;flex:1;padding-right:2.5rem;justify-content:space-between;align-items:center;font-family:inherit;font-size:16px;line-height:24px;font-weight:400;padding:11px 12px 11px 24px;border-radius:48px;border:1px solid #B1B5C3;background:#fff;box-sizing:border-box;outline:none}._selectedOptions_eu431_7:hover{border:1px solid #777E90}._selectedOptionsOpened_eu431_28{border:1px solid #141416}._selectOptionsDisabled_eu431_32{pointer-events:none;background:#f4f5f6;border:1px solid #E6E8EC;color:#b1b5c3}._optionsList_eu431_39{position:absolute;top:52px;width:inherit;padding:12px 24px 24px;border:1px solid #e6e8ec;border-radius:24px;background:#fff;box-shadow:0 5px 12px #0000001f,0 21px 21px #0000001a;z-index:120;box-sizing:border-box;max-height:262px;overflow-y:scroll}._inputWrapper_eu431_54{display:flex;align-items:center}._inputWrapper_eu431_54 input{cursor:pointer}._option_eu431_39{display:flex;justify-content:space-between;align-items:center;padding:12px 0;cursor:pointer}._option_eu431_39:not(:last-child){border-bottom:1px solid #F4F5F6}._option_eu431_39:hover{opacity:.7}._icon_eu431_76{position:absolute;right:12px;pointer-events:none}._btnRound_7sz3m_1{display:flex;justify-content:center;align-items:center;border-radius:50%;padding:7px;box-sizing:border-box;cursor:pointer}._btnRound_7sz3m_1:disabled{opacity:.2}._btnRound_7sz3m_1:focus{outline:0}._small-size_7sz3m_17{width:32px;height:32px}._medium-size_7sz3m_22{width:40px;height:40px;padding:9px}._large-size_7sz3m_28{width:48px;height:48px;padding:11px}._whiteStroke_7sz3m_34{border:1px solid #e6e8ec;background-color:#fff}._whiteStroke_7sz3m_34:hover{border:1px solid #b1b5c3}._whiteStroke_7sz3m_34:active{border:1px solid #141416}@media (min-width: 1024px){._small-size_m_7sz3m_46{width:32px;height:32px}._medium-size_m_7sz3m_50{width:40px;height:40px;padding:9px}._large-size_m_7sz3m_55{width:48px;height:48px;padding:11px}}@media (min-width: 1440px){._small-size_l_7sz3m_62{width:32px;height:32px}._medium-size_l_7sz3m_66{width:40px;height:40px;padding:9px}._large-size_l_7sz3m_71{width:48px;height:48px;padding:11px}}._btnCommon_1cazw_1{position:relative;font-family:inherit;font-weight:500;display:flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;border:1px solid transparent;border-radius:48px;text-decoration:none;cursor:pointer}._btnCommon_1cazw_1:disabled{opacity:.2}._btnLoading_1cazw_19{pointer-events:none}._isHidden_1cazw_23{visibility:hidden}._auto-width_1cazw_27{width:max-content}._full-width_1cazw_31{width:100%}._tiny-size_1cazw_35{font-size:10px;line-height:12px;min-height:24px;padding:5px 11px;gap:4px}._small-size_1cazw_43{font-size:12px;line-height:16px;min-height:32px;padding:7px 11px;gap:8px}._medium-size_1cazw_51{font-size:14px;line-height:20px;min-height:40px;padding:9px 15px;gap:8px}._large-size_1cazw_59{font-size:16px;line-height:24px;min-height:48px;padding:11px 23px;gap:8px}._blue_1cazw_67{background:#015ff9;border:1px solid #015ff9;color:#fff}._blue_1cazw_67:hover{background:#024ac0;border:1px solid #024ac0}._blue_1cazw_67:active{background:#0645aa;border:1px solid #0645aa}._sokolniki_1cazw_81{background:#60663e;border:1px solid #60663e;color:#fff}._sokolniki_1cazw_81:hover{background:#494f29;border:1px solid #494f29}._sokolniki_1cazw_81:active{background:#303519;border:1px solid #303519}._black_1cazw_95{background:#141416;border:1px solid #141416;color:#fff}._black_1cazw_95:hover{background:#23262f;border:1px solid #353945}._black_1cazw_95:active{background:#353945;border:1px solid #777e90}._gray_1cazw_109{background:#f4f5f6;border:1px solid #f4f5f6;color:#777e90}._gray_1cazw_109:hover{background:#f4f5f6;border:1px solid #b1b5c3}._gray_1cazw_109:active{background:#e6e8ec;border:1px solid #b1b5c3}._whiteStroke_1cazw_123{background:#fff;border:1px solid #e6e8ec;color:#141416}._whiteStroke_1cazw_123:hover{border:1px solid #b1b5c3}._whiteStroke_1cazw_123:active{border:1px solid #141416}._whiteFilled_1cazw_135{background:#fff;border:1px solid #ffffff;color:#141416}._whiteFilled_1cazw_135:hover{background:#fcfcfd;border:1px solid #f4f5f6}._whiteFilled_1cazw_135:active{background:#f4f5f6;border:1px solid #f4f5f6}._shade_1cazw_149{background:#23262f;border:1px solid #23262F;color:#fff}@keyframes _LoaderSpin_1cazw_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._volodiyaLight_1cazw_163{background:#353945;border:1px solid #353945;color:#fff}._loader_1cazw_169{position:absolute;animation:_LoaderSpin_1cazw_1 1.4s infinite linear}@media (min-width: 1024px){._tiny-size_m_1cazw_175{font-size:10px;line-height:12px;min-height:24px;padding:5px 11px;gap:4px}._small-size_m_1cazw_182{font-size:12px;line-height:16px;min-height:32px;padding:7px 11px;gap:8px}._medium-size_m_1cazw_189{font-size:14px;line-height:20px;min-height:40px;padding:9px 15px;gap:8px}._large-size_m_1cazw_196{font-size:16px;line-height:24px;min-height:48px;padding:11px 23px;gap:8px}}@media (min-width: 1440px){._tiny-size_l_1cazw_205{font-size:10px;line-height:12px;min-height:24px;padding:5px 11px;gap:4px}._small-size_l_1cazw_212{font-size:12px;line-height:16px;min-height:32px;padding:7px 11px;gap:8px}._medium-size_l_1cazw_219{font-size:14px;line-height:20px;min-height:40px;padding:9px 15px;gap:8px}._large-size_l_1cazw_226{font-size:16px;line-height:24px;min-height:48px;padding:11px 23px;gap:8px}}._btnCommon_1act6_1{font-family:inherit;font-weight:500;display:flex;flex-direction:column;justify-content:space-between;align-items:center;box-sizing:border-box;text-align:center;border:1px solid transparent;border-radius:48px;cursor:pointer}._btnCommon_1act6_1:disabled{opacity:.2}._auto-width_1act6_18{width:auto}._full-width_1act6_22{width:100%}._small-size_1act6_26{font-size:10px;line-height:12px;min-height:56px;padding:7px 11px;gap:4px}._whiteFilled_1act6_34{background:#fff;border:1px solid #ffffff;color:#777e90}._whiteFilled_1act6_34:hover{background:#fcfcfd;border:1px solid #f4f5f6}._whiteFilled_1act6_34:active{background:#f4f5f6;border:1px solid #f4f5f6}._destination_1c7de_1{display:flex;justify-content:space-between;align-items:center;gap:8px;border-radius:110px;cursor:pointer}._destination_1c7de_1 input{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}._destination_1c7de_1 span{display:block;width:8px;height:8px;border-radius:50%}._auto-width_1c7de_29{width:max-content}._full-width_1c7de_33{width:100%}._medium-size_1c7de_37{padding:9px 23px}._medium-size_1c7de_37 ._destinationName_1c7de_40{font-size:14px;line-height:20px;font-weight:500}._medium-size_1c7de_37 ._routeText_1c7de_45{font-size:12px;line-height:16px;font-weight:500}._large-size_1c7de_51{padding:11px 31px}._large-size_1c7de_51 ._destinationName_1c7de_40{font-size:16px;line-height:24px;font-weight:500}._large-size_1c7de_51 ._routeText_1c7de_45{font-size:14px;line-height:20px;font-weight:500}._whiteStroke_1c7de_65{color:#353945;border:1px solid #f4f5f6}._whiteStroke_1c7de_65:hover{border:1px solid #b1b5c3}._whiteStroke_1c7de_65:active{background-color:#e6e8ec}._whiteStroke_1c7de_65 ._routeText_1c7de_45,._whiteStroke_1c7de_65 ._routeWrapper_1c7de_78{color:#777e90}._whiteStroke_1c7de_65:has(input:checked){border:1px solid #141416;background-color:#141416;color:#fff}._whiteStroke_1c7de_65:has(input:checked):hover{border:1px solid #353945;background-color:#23262f}._whiteStroke_1c7de_65:has(input:checked):active{background-color:#353945;border:1px solid #777E90}._whiteStroke_1c7de_65:has(input:checked) ._routeText_1c7de_45{color:#b1b5c3}._whiteStroke_1c7de_65:has(input:checked) ._routeWrapper_1c7de_78{color:#b1b5c3}._routeWrapper_1c7de_78{display:flex;gap:4px;justify-content:space-between;align-items:center}@media (min-width: 1024px){._medium-size_m_1c7de_109{padding:9px 23px}._medium-size_m_1c7de_109 ._destinationName_1c7de_40{font-size:14px;line-height:20px;font-weight:500}._medium-size_m_1c7de_109 ._routeText_1c7de_45{font-size:12px;line-height:16px;font-weight:500}._large-size_m_1c7de_122{padding:11px 31px}._large-size_m_1c7de_122 ._destinationName_1c7de_40{font-size:16px;line-height:24px;font-weight:500}._large-size_m_1c7de_122 ._routeText_1c7de_45{font-size:14px;line-height:20px;font-weight:500}}@media (min-width: 1440px){._medium-size_l_1c7de_137{padding:9px 23px}._medium-size_l_1c7de_137 ._destinationName_1c7de_40{font-size:14px;line-height:20px;font-weight:500}._medium-size_l_1c7de_137 ._routeText_1c7de_45{font-size:12px;line-height:16px;font-weight:500}._large-size_l_1c7de_150{padding:11px 31px}._large-size_l_1c7de_150 ._destinationName_1c7de_40{font-size:16px;line-height:24px;font-weight:500}._large-size_l_1c7de_150 ._routeText_1c7de_45{font-size:14px;line-height:20px;font-weight:500}}._tagCommon_13otg_1{font-family:inherit;font-weight:400;display:flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;border:1px solid transparent;border-radius:48px}._tagCommon_13otg_1:disabled{opacity:.2}._auto-width_13otg_16{width:max-content}._full-width_13otg_20{width:100%}._medium-size_13otg_24{font-size:14px;line-height:20px;min-height:40px;padding:10px 16px;gap:8px}._tiny-size_13otg_32{font-size:10px;line-height:12px;min-height:24px;padding:5px;gap:4px}._small-size_13otg_40{font-size:12px;line-height:16px;min-height:32px;padding:8px 16px;gap:4px}._preLarge-size_13otg_48{font-size:14px;line-height:20px;min-height:44px;padding:12px 24px;gap:10px}._large-size_13otg_56{font-size:16px;line-height:24px;min-height:48px;padding:12px 24px;gap:8px}._red_13otg_64{background:#ec5353;border:1px solid #ec5353;color:#fff}._gray_13otg_70{background:#f4f5f6;border:none;color:#353945}._shade_13otg_76{background:#141416cc;border:none;color:#fff}._blackGrey_13otg_82{background-color:#23262f;border:none;color:#e6e8ec}._chineseBlack_13otg_88{background-color:#141416;border:none;color:#fff}@media (min-width: 1024px){._tiny-size_m_13otg_95{font-size:10px;line-height:12px;min-height:24px;padding:5px;gap:4px}._medium-size_m_13otg_102{font-size:14px;line-height:20px;min-height:40px;padding:10px 16px;gap:8px}._small-size_m_13otg_109{font-size:12px;line-height:16px;min-height:32px;padding:8px 16px;gap:4px}._preLarge_size_m_13otg_116{font-size:14px;line-height:20px;min-height:44px;padding:12px 24px;gap:10px}._large-size_m_13otg_123{font-size:16px;line-height:24px;min-height:48px;padding:12px 24px;gap:8px}}@media (min-width: 1440px){._tiny-size_l_13otg_132{font-size:10px;line-height:12px;min-height:24px;padding:5px;gap:4px}._medium-size_l_13otg_139{font-size:14px;line-height:20px;min-height:40px;padding:10px 16px;gap:8px}._small-size_l_13otg_146{font-size:12px;line-height:16px;min-height:32px;padding:8px 16px;gap:4px}._preLarge-size_l_13otg_153{font-size:14px;line-height:20px;min-height:44px;padding:12px 24px;gap:10px}._large-size_l_13otg_160{font-size:16px;line-height:24px;min-height:48px;padding:12px 24px;gap:8px}}._root_fi64k_1{display:flex}._gap-1_fi64k_5{gap:4px}._gap-2_fi64k_9{gap:8px}._gap-3_fi64k_13{gap:12px}._gap-4_fi64k_17{gap:16px}._gap-5_fi64k_21{gap:20px}._gap-6_fi64k_25{gap:24px}._gap-7_fi64k_29{gap:28px}._gap-8_fi64k_33{gap:32px}._gap-9_fi64k_37{gap:36px}._gap-10_fi64k_41{gap:40px}._gap-11_fi64k_45{gap:44px}._gap-12_fi64k_49{gap:48px}._gap-13_fi64k_53{gap:52px}._gap-14_fi64k_57{gap:56px}._gap-15_fi64k_61{gap:60px}._gap-16_fi64k_65{gap:64px}._fd-row_fi64k_69{flex-direction:row}._fd-row-reverse_fi64k_73{flex-direction:row-reverse}._fd-column_fi64k_77{flex-direction:column}._fd-column-reverse_fi64k_81{flex-direction:column-reverse}._w-nowrap_fi64k_85{flex-wrap:nowrap}._w-wrap_fi64k_89{flex-wrap:wrap}._w-wrap-reverse_fi64k_93{flex-wrap:wrap-reverse}._jc-flex-start_fi64k_97{justify-content:flex-start}._jc-flex-end_fi64k_101{justify-content:flex-end}._jc-center_fi64k_105{justify-content:center}._jc-space-between_fi64k_109{justify-content:space-between}._jc-space-around_fi64k_113{justify-content:space-around}._jc-space-evenly_fi64k_117{justify-content:space-evenly}._ai-stretch_fi64k_121{align-items:stretch}._ai-flex-start_fi64k_125{align-items:flex-start}._ai-flex-end_fi64k_129{align-items:flex-end}._ai-center_fi64k_133{align-items:center}._ai-baseline_fi64k_137{align-items:baseline}._auto-width_qoqna_1{width:max-content;min-width:100px}._full-width_qoqna_6{width:100%}._inputWrapper_qoqna_10{display:flex;gap:4px;border-radius:48px;padding:10px 23px;border:1px solid #b1b5c3;box-sizing:border-box}._inputWrapper_qoqna_10 input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}._inputWrapper_qoqna_10 input{min-width:50px;width:100%;border:none;background:transparent;font-size:16px;line-height:24px;box-sizing:border-box}._inputWrapper_qoqna_10 input:focus{outline:none}._inputWrapperPost_qoqna_34,._inputWrapperPre_qoqna_35{font-size:16px;line-height:24px;font-weight:400;padding:10px 12px 10px 23px}._inputWrapperPost_qoqna_34 input,._inputWrapperPre_qoqna_35 input{font-size:16px;line-height:24px}._light_qoqna_47{background:#fff;border:1px solid #b1b5c3}._light_qoqna_47 input{color:#141416}._light_qoqna_47 input::placeholder{color:#b1b5c3}._light_qoqna_47 span{color:#b1b5c3}._light_qoqna_47:hover{border:1px solid #777e90}._light_qoqna_47:has(input:focus){border:1px solid #141416}._light_qoqna_47:has(input:disabled){background:#f4f5f6;border:1px solid #e6e8ec}._light_qoqna_47:has(input:disabled) input{color:#b1b5c3}._light_qoqna_47:has(input:disabled) input::placeholder{color:#b1b5c3}._light_qoqna_47:has(input:disabled) span{color:#b1b5c3}._dark_qoqna_80{background:#23262f;border:1px solid #353945}._dark_qoqna_80 input{color:#fff}._dark_qoqna_80 input::placeholder{color:#777e90}._dark_qoqna_80 span{color:#777e90}._dark_qoqna_80:hover{border:1px solid #777e90}._dark_qoqna_80:has(input:focus){border:1px solid #ffffff}._dark_qoqna_80:has(input:disabled){background:#141416;border:1px solid #353945}._dark_qoqna_80:has(input:disabled) input{color:#353945}._dark_qoqna_80:has(input:disabled) input::placeholder{color:#353945}._dark_qoqna_80:has(input:disabled) span{color:#353945}._dark_qoqna_80:has(input:invalid){border:1px solid #ec5353}._inputWrapperError_qoqna_116{border:1px solid #ec5353}._fieldInputWrapper_14ghj_1{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}._fieldInputWrapper_14ghj_1 label{font-family:inherit;font-size:12px;line-height:16px;font-weight:400;color:#141416}._root_oqb5i_1{display:flex;width:100%}._root_oqb5i_1>div:not(:first-of-type){border-left-width:.5px;border-top-left-radius:0;border-bottom-left-radius:0}._root_oqb5i_1>div:not(:last-of-type){border-right-width:.5px;border-top-right-radius:0;border-bottom-right-radius:0}._root_129gd_1{display:flex;padding:16px 0;gap:8px;width:max-content;box-sizing:border-box}._root_129gd_1 span{display:block;width:8px;height:8px;border-radius:50%}._metroColor_129gd_15{display:flex;align-items:center;font-size:14px;line-height:20px;font-weight:500;gap:8px;color:#353945}._route_129gd_25{display:flex;align-items:center;gap:4px;font-size:12px;line-height:16px;font-weight:500;color:#777e90}._auto-width_129gd_35{width:max-content}._full-width_129gd_39{width:100%}@media (min-width: 1024px){._root_129gd_1{padding:10px 24px;border-radius:110px;background:#f4f5f6}}._root_1tlck_1{display:flex;flex-direction:column;padding:32px 24px 24px;border:1px solid #e6e8ec;border-radius:24px;box-sizing:border-box}._lotImageWrapper_1tlck_10{display:flex;justify-content:center}._lotInfoWrapper_1tlck_15{display:flex;flex-direction:column;gap:16px;margin:32px 0 0}._infoHeader_1tlck_22{font-family:inherit;font-size:24px;line-height:32px;font-weight:500;letter-spacing:-.01em;color:#141416}._decor_1tlck_31{display:none}._decor_1tlck_31 span{display:block}._lotPropertyListMobile_1tlck_38{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}._lotPropertyItem_1tlck_46{display:flex;justify-content:space-between;font-family:inherit;font-size:14px;line-height:20px;padding:8px 0;border-bottom:1px solid #F4F5F6}._lotPropertyItem_1tlck_46 div:first-child{font-weight:400;color:#353945}._lotPropertyItem_1tlck_46 div:last-child{font-weight:500;color:#141416}._lotPropertyListDesktop_1tlck_64{display:none}._lotPriceWrapper_1tlck_68{font-family:inherit;font-size:18px;line-height:24px;margin:16px 0 0}._discountWrapper_1tlck_75{display:flex;justify-content:space-between;align-items:center}._discountWrapper_1tlck_75>div:last-child{font-weight:500;color:#141416}._discountPrice_1tlck_85{display:flex;align-items:center;font-weight:400;gap:8px;color:#b1b5c3}._discountPrice_1tlck_85 span{text-decoration:line-through;text-decoration-color:#ec5353}._lotPricePerMetr_1tlck_97{width:max-content;display:none}._btnWrapper_1tlck_102{display:flex;gap:8px;margin:24px 0 0}._btnWrapper_1tlck_102>button:first-child{display:none}@media (min-width: 1024px){._root_1tlck_1{flex-direction:row;gap:32px;padding:31px 30px 31px 32px}._lotImageWrapper_1tlck_10 img{width:148px;height:106px}._lotInfoWrapper_1tlck_15{display:flex;flex-direction:column;gap:0;margin:0}._decor_1tlck_31{display:flex;align-items:center;gap:8px;margin:4px 0 0;font-family:inherit;font-size:16px;line-height:24px;font-weight:500;color:#777e90}._lotPropertyListMobile_1tlck_38{display:none}._lotPropertyListDesktop_1tlck_64{display:flex;gap:8px;margin:16px 0 0}._lotPriceWrapper_1tlck_68{font-size:24px;line-height:32px;margin:0 0 0 auto}._discountWrapper_1tlck_75{gap:12px}._discountPrice_1tlck_85{font-size:14px;line-height:20px;gap:12px}._lotPricePerMetr_1tlck_97{display:block;margin:0 0 0 auto;font-size:14px;line-height:20px;font-weight:400;color:#353945}._btnWrapper_1tlck_102{justify-content:flex-end}._btnWrapper_1tlck_102>button:first-child{display:block}._btnWrapper_1tlck_102>button:last-child{width:max-content}}._wrapper_nzllw_1{display:flex;align-items:center;gap:8px}._logo_nzllw_7{width:81px;height:16px}._wrapperBetween_nzllw_12{width:100%;justify-content:space-between}._uk_nzllw_17{font-size:8px;line-height:8px;font-weight:600;letter-spacing:.11em;text-transform:uppercase}._uk_black_nzllw_24{color:#141416}._uk_white_nzllw_27{color:#fff}@media (min-width: 1024px){._logo_nzllw_7{width:101px;height:20px}._uk_nzllw_17{font-size:9px;line-height:10px}}._root_1cpat_1{display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100%;height:100%;z-index:102;overflow:auto;box-sizing:border-box}._modalBody_1cpat_15{position:absolute}._modalOverlay_1cpat_19{position:absolute;width:100%;height:100vh;background:#00000080}._isTransparentBack_1cpat_26{opacity:.5}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { jsxs as p, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { c as y } from "./index-DIxK0V-G.js";
|
|
3
|
+
const v = "_sortSelectWrapper_636hy_1", b = "_selectedOptions_636hy_8", x = "_selectedOptionsOpened_636hy_32", B = "_selectOptionsDisabled_636hy_36", C = "_optionsList_636hy_43", S = "_mobileOptionList_636hy_58", f = "_mobileSortHeader_636hy_65", g = "_modalAddBody_636hy_79", L = "_inputWrapper_636hy_85", W = "_option_636hy_43", D = "_icon_636hy_110", N = "_checkBox_636hy_117", A = "_checkBoxChecked_636hy_124", H = "_innerCheck_636hy_131", o = {
|
|
4
|
+
sortSelectWrapper: v,
|
|
5
|
+
selectedOptions: b,
|
|
6
|
+
selectedOptionsOpened: x,
|
|
7
|
+
selectOptionsDisabled: B,
|
|
8
|
+
optionsList: C,
|
|
9
|
+
mobileOptionList: S,
|
|
10
|
+
mobileSortHeader: f,
|
|
11
|
+
modalAddBody: g,
|
|
12
|
+
inputWrapper: L,
|
|
13
|
+
option: W,
|
|
14
|
+
icon: D,
|
|
15
|
+
checkBox: N,
|
|
16
|
+
checkBoxChecked: A,
|
|
17
|
+
innerCheck: H
|
|
18
|
+
}, i = y.bind(o), q = ({
|
|
19
|
+
selectedOption: e,
|
|
20
|
+
setSelectedOption: h,
|
|
21
|
+
setIsOpen: t,
|
|
22
|
+
containerRef: r,
|
|
23
|
+
onBlur: a,
|
|
24
|
+
onChange: l,
|
|
25
|
+
isMobile: u,
|
|
26
|
+
placeholder: d
|
|
27
|
+
}) => {
|
|
28
|
+
const m = (c) => (n) => {
|
|
29
|
+
n.stopPropagation();
|
|
30
|
+
const _ = (e == null ? void 0 : e.value) === c.value ? null : c;
|
|
31
|
+
if (h(_), l) {
|
|
32
|
+
const k = {
|
|
33
|
+
...n,
|
|
34
|
+
target: { value: _ }
|
|
35
|
+
};
|
|
36
|
+
l(k);
|
|
37
|
+
}
|
|
38
|
+
t(!1);
|
|
39
|
+
};
|
|
40
|
+
return { handleDocumentClick: (c) => {
|
|
41
|
+
r.current && !r.current.contains(c.target) && t(!1);
|
|
42
|
+
}, handleBlur: (c) => {
|
|
43
|
+
if (a) {
|
|
44
|
+
const n = {
|
|
45
|
+
...c,
|
|
46
|
+
target: { value: e }
|
|
47
|
+
};
|
|
48
|
+
a(n);
|
|
49
|
+
}
|
|
50
|
+
}, getInputValue: () => u ? "" : e ? e.label : d, getOption: (c) => /* @__PURE__ */ p(
|
|
51
|
+
"div",
|
|
52
|
+
{
|
|
53
|
+
className: i(o.option, {
|
|
54
|
+
[o.selected]: (e == null ? void 0 : e.value) === c.value
|
|
55
|
+
}),
|
|
56
|
+
onClick: m(c),
|
|
57
|
+
children: [
|
|
58
|
+
/* @__PURE__ */ s("div", { children: c.label }),
|
|
59
|
+
/* @__PURE__ */ s(
|
|
60
|
+
"div",
|
|
61
|
+
{
|
|
62
|
+
className: i(o.checkBox, {
|
|
63
|
+
[o.checkBoxChecked]: (e == null ? void 0 : e.value) === c.value
|
|
64
|
+
}),
|
|
65
|
+
children: (e == null ? void 0 : e.value) === c.value && /* @__PURE__ */ s("div", { className: o.innerCheck })
|
|
66
|
+
}
|
|
67
|
+
)
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
c.value
|
|
71
|
+
) };
|
|
72
|
+
};
|
|
73
|
+
export {
|
|
74
|
+
o as s,
|
|
75
|
+
q as u
|
|
76
|
+
};
|
package/package.json
CHANGED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { jsxs as k, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as p } from "./index-DIxK0V-G.js";
|
|
3
|
-
const v = "_sortSelectWrapper_1l3mx_1", b = "_selectedOptions_1l3mx_8", B = "_selectedOptionsOpened_1l3mx_33", C = "_selectOptionsDisabled_1l3mx_37", S = "_optionsList_1l3mx_44", f = "_mobileOptionList_1l3mx_59", g = "_mobileSortHeader_1l3mx_66", L = "_modalAddBody_1l3mx_80", W = "_inputWrapper_1l3mx_86", D = "_option_1l3mx_44", N = "_icon_1l3mx_111", y = "_checkBox_1l3mx_118", A = "_checkBoxChecked_1l3mx_125", H = "_innerCheck_1l3mx_132", o = {
|
|
4
|
-
sortSelectWrapper: v,
|
|
5
|
-
selectedOptions: b,
|
|
6
|
-
selectedOptionsOpened: B,
|
|
7
|
-
selectOptionsDisabled: C,
|
|
8
|
-
optionsList: S,
|
|
9
|
-
mobileOptionList: f,
|
|
10
|
-
mobileSortHeader: g,
|
|
11
|
-
modalAddBody: L,
|
|
12
|
-
inputWrapper: W,
|
|
13
|
-
option: D,
|
|
14
|
-
icon: N,
|
|
15
|
-
checkBox: y,
|
|
16
|
-
checkBoxChecked: A,
|
|
17
|
-
innerCheck: H
|
|
18
|
-
}, i = p.bind(o), q = ({
|
|
19
|
-
selectedOption: e,
|
|
20
|
-
setSelectedOption: m,
|
|
21
|
-
setIsOpen: s,
|
|
22
|
-
containerRef: t,
|
|
23
|
-
onBlur: r,
|
|
24
|
-
onChange: a,
|
|
25
|
-
isMobile: u,
|
|
26
|
-
placeholder: x
|
|
27
|
-
}) => {
|
|
28
|
-
const d = (c) => (n) => {
|
|
29
|
-
n.stopPropagation();
|
|
30
|
-
const _ = (e == null ? void 0 : e.value) === c.value ? null : c;
|
|
31
|
-
if (m(_), a) {
|
|
32
|
-
const h = {
|
|
33
|
-
...n,
|
|
34
|
-
target: { value: _ }
|
|
35
|
-
};
|
|
36
|
-
a(h);
|
|
37
|
-
}
|
|
38
|
-
s(!1);
|
|
39
|
-
};
|
|
40
|
-
return { handleDocumentClick: (c) => {
|
|
41
|
-
t.current && !t.current.contains(c.target) && s(!1);
|
|
42
|
-
}, handleBlur: (c) => {
|
|
43
|
-
if (r) {
|
|
44
|
-
const n = {
|
|
45
|
-
...c,
|
|
46
|
-
target: { value: e }
|
|
47
|
-
};
|
|
48
|
-
r(n);
|
|
49
|
-
}
|
|
50
|
-
}, getInputValue: () => u ? "" : e ? e.label : x, getOption: (c) => /* @__PURE__ */ k(
|
|
51
|
-
"div",
|
|
52
|
-
{
|
|
53
|
-
className: i(o.option, {
|
|
54
|
-
[o.selected]: (e == null ? void 0 : e.value) === c.value
|
|
55
|
-
}),
|
|
56
|
-
onClick: d(c),
|
|
57
|
-
children: [
|
|
58
|
-
/* @__PURE__ */ l("div", { children: c.label }),
|
|
59
|
-
/* @__PURE__ */ l(
|
|
60
|
-
"div",
|
|
61
|
-
{
|
|
62
|
-
className: i(o.checkBox, {
|
|
63
|
-
[o.checkBoxChecked]: (e == null ? void 0 : e.value) === c.value
|
|
64
|
-
}),
|
|
65
|
-
children: (e == null ? void 0 : e.value) === c.value && /* @__PURE__ */ l("div", { className: o.innerCheck })
|
|
66
|
-
}
|
|
67
|
-
)
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
c.value
|
|
71
|
-
) };
|
|
72
|
-
};
|
|
73
|
-
export {
|
|
74
|
-
o as s,
|
|
75
|
-
q as u
|
|
76
|
-
};
|