stone-kit 0.0.885 → 0.0.887
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/App.d.ts +2 -0
- package/dist/Router.d.ts +2 -0
- package/dist/components/Logo/ui/Logo.types.d.ts +8 -8
- package/dist/layout/Layout.d.ts +6 -0
- package/dist/layout/components/Header/Header.d.ts +1 -0
- package/dist/layout/components/Menu.d.ts +1 -0
- package/dist/main.js +7727 -62
- package/dist/pages/ButtonsPage/ButtonState/ButtonState.d.ts +7 -0
- package/dist/pages/ButtonsPage/Buttons.d.ts +1 -0
- package/dist/pages/CheckboxPage/CheckboxPage.d.ts +1 -0
- package/dist/pages/FormsPage/FormsPage.d.ts +2 -0
- package/dist/pages/HomePage/HomePage.d.ts +2 -0
- package/dist/pages/IconsPage/IconsPage.d.ts +1 -0
- package/dist/pages/InputPage/InputPage.d.ts +1 -0
- package/dist/pages/LogoPage/LogoPage.d.ts +1 -0
- package/dist/pages/LotsPage/LotsPage.d.ts +1 -0
- package/dist/pages/ModalsPage/ModalPage.d.ts +2 -0
- package/dist/pages/SelectPage/SelectPage.d.ts +1 -0
- package/dist/pages/SelectPage/const.d.ts +13 -0
- package/dist/pages/TabsPage/TabsPage.d.ts +2 -0
- package/dist/pages/TagsPage/TagsPage.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +3 -5
- package/dist/FilterWithSave-Bp6rH8Pe.js +0 -2230
- package/dist/Option-BVIm7wOW.js +0 -83
- package/dist/PinTrans-D6OZq76b.js +0 -10
- package/dist/SmallFilter-C-VKnbkP.js +0 -10
- package/dist/components/Button/index.js +0 -4
- package/dist/components/Button/ui/Button.js +0 -94
- package/dist/components/Button/ui/Button.types.js +0 -15
- package/dist/components/CheckBox/CheckBox.js +0 -84
- package/dist/components/CheckBox/CheckBox.types.js +0 -1
- package/dist/components/CheckBox/index.js +0 -4
- package/dist/components/CheckBoxNew/CheckBox.types.js +0 -6
- package/dist/components/CheckBoxNew/CheckBoxNew.js +0 -45
- package/dist/components/CheckboxSelect/index.js +0 -4
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +0 -51
- package/dist/components/DestinationTab/index.js +0 -4
- package/dist/components/DestinationTab/ui/DestinationTab.js +0 -75
- package/dist/components/DestinationTab/ui/DestinationTab.types.js +0 -6
- package/dist/components/FieldInput/index.js +0 -4
- package/dist/components/FieldInput/ui/FieldInput.js +0 -22
- package/dist/components/FieldInput/ui/FieldInput.types.js +0 -1
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +0 -28
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +0 -9
- package/dist/components/Flex/index.js +0 -4
- package/dist/components/Flex/ui/Flex.js +0 -68
- package/dist/components/Flex/ui/Flex.types.js +0 -1
- package/dist/components/FormModal/ui/ModalForm.js +0 -30
- package/dist/components/FormModal/utils/reg.js +0 -6
- package/dist/components/GroupedInput/index.js +0 -4
- package/dist/components/GroupedInput/ui/GroupedInputs.js +0 -8
- package/dist/components/GroupedInput/ui/GroupedInputs.types.js +0 -1
- package/dist/components/Input/index.js +0 -4
- package/dist/components/Input/ui/Input.js +0 -3346
- package/dist/components/Input/ui/Input.types.js +0 -1
- package/dist/components/Logo/index.js +0 -4
- package/dist/components/Logo/ui/Logo.js +0 -63
- package/dist/components/Logo/ui/Logo.types.js +0 -13
- package/dist/components/LotCard/hooks/useLotCard.js +0 -31
- package/dist/components/LotCard/index.js +0 -4
- package/dist/components/LotCard/ui/LotCard.js +0 -11
- package/dist/components/LotCard/ui/LotCard.types.js +0 -1
- package/dist/components/LotCard/utils/checkBedroomsCount.js +0 -20
- package/dist/components/LotCard/utils/const.js +0 -11
- package/dist/components/LotCard/utils/formatPrice.js +0 -11
- package/dist/components/LotCard/utils/getTagsFeatures.js +0 -13
- package/dist/components/LotCard/utils/monthlyPayment.js +0 -4
- package/dist/components/LotCardSkeleton/index.js +0 -4
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +0 -83
- package/dist/components/MetroLabel/ui/MetroLabel.js +0 -44
- package/dist/components/MetroLabel/ui/MetroLabel.types.js +0 -1
- package/dist/components/MetroTag/index.js +0 -4
- package/dist/components/MetroTag/ui/MetroTag.js +0 -142
- package/dist/components/MetroTag/ui/MetroTag.types.js +0 -1
- package/dist/components/Modal/index.js +0 -4
- package/dist/components/Modal/ui/Modal.js +0 -77
- package/dist/components/Modal/ui/Modal.types.js +0 -1
- package/dist/components/ModalSuccess/ModalSuccess.js +0 -61
- package/dist/components/ModalSuccess/ModalSuccess.types.js +0 -1
- package/dist/components/NewIcon/icons/PinTrans.js +0 -6
- package/dist/components/NewIcon/icons/SmallFilter.js +0 -6
- package/dist/components/NewIcon/index.js +0 -4
- package/dist/components/NewIcon/ui/NewIcon.js +0 -314
- package/dist/components/NewIcon/ui/NewIcon.types.js +0 -1
- package/dist/components/NewIcon/ui/iconTypes.js +0 -60
- package/dist/components/ProjectCardSkeleton/index.js +0 -4
- package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +0 -34
- package/dist/components/RoundButton/index.js +0 -4
- package/dist/components/RoundButton/ui/RoundButton.js +0 -73
- package/dist/components/RoundButton/ui/RoundButton.types.js +0 -16
- package/dist/components/Select/index.js +0 -4
- package/dist/components/Select/model/selectMode.js +0 -49
- package/dist/components/Select/ui/Category.js +0 -76
- package/dist/components/Select/ui/Option.js +0 -7
- package/dist/components/Select/ui/Select.js +0 -179
- package/dist/components/Select/ui/Select.types.js +0 -1
- package/dist/components/SliderNavigation/index.js +0 -4
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +0 -65
- package/dist/components/SliderNavigation/ui/SliderNavigation.types.js +0 -1
- package/dist/components/SortSelect/hooks/useSortSelect.js +0 -6
- package/dist/components/SortSelect/index.js +0 -4
- package/dist/components/SortSelect/ui/SortSelect.js +0 -29
- package/dist/components/SortSelect/ui/SortSelect.types.js +0 -1
- package/dist/components/SummarySelect/index.js +0 -4
- package/dist/components/SummarySelect/ui/SummarySelect.js +0 -128
- package/dist/components/Switcher/index.js +0 -4
- package/dist/components/Switcher/ui/Switcher.js +0 -49
- package/dist/components/Switcher/ui/Switcher.types.js +0 -1
- package/dist/components/TabSelect/index.js +0 -4
- package/dist/components/TabSelect/ui/TabSelect.js +0 -49
- package/dist/components/TabSelect/ui/TabSelect.types.js +0 -1
- package/dist/components/TabSwitcher/index.js +0 -4
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +0 -28
- package/dist/components/TabSwitcher/ui/TabSwitcher.types.js +0 -1
- package/dist/components/Tag/index.js +0 -4
- package/dist/components/Tag/ui/Tag.js +0 -79
- package/dist/components/Tag/ui/Tag.types.js +0 -20
- package/dist/components/Text/index.js +0 -4
- package/dist/components/Text/ui/Text.js +0 -22
- package/dist/components/Text/ui/Text.types.js +0 -1
- package/dist/components/TextArea/TextArea.js +0 -19
- package/dist/components/TextArea/TextArea.types.js +0 -1
- package/dist/components/ZoomControls/index.js +0 -4
- package/dist/components/ZoomControls/ui/ZoomControls.js +0 -31
- package/dist/components/ZoomControls/ui/ZoomControls.types.js +0 -1
- package/dist/components/mobileButton/index.js +0 -4
- package/dist/components/mobileButton/ui/MobileButton.js +0 -64
- package/dist/components/mobileButton/ui/MobileButton.types.js +0 -6
- package/dist/index-rKuIKazb.js +0 -45
- package/dist/shared/checkLargeOffice.js +0 -12
- package/dist/shared/deepEqual.js +0 -16
- package/dist/shared/useClientWidth.js +0 -14
- package/dist/useSortSelect-CjZXLFOG.js +0 -80
package/dist/Option-BVIm7wOW.js
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { jsxs as u, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { NewIcon as c } from "./components/NewIcon/ui/NewIcon.js";
|
|
3
|
-
import { c as z } from "./index-rKuIKazb.js";
|
|
4
|
-
const g = "_multiSelectWrapper_1sbxa_1", O = "_selectedOptions_1sbxa_8", C = "_selectedOptionsBtn_1sbxa_24", h = "_selectedOptionsOpened_1sbxa_49", f = "_selectedOptionsNotEmpty_1sbxa_53", k = "_selectOptionsDisabled_1sbxa_58", v = "_optionsList_1sbxa_65", y = "_lastList_1sbxa_81", D = "_listRight_1sbxa_86", B = "_inputWrapper_1sbxa_90", L = "_option_1sbxa_65", N = "_category_1sbxa_112", S = "_leftSide_1sbxa_118", W = "_optionCategory_1sbxa_123", w = "_optionDisabled_1sbxa_129", A = "_optionClickable_1sbxa_133", E = "_icon_1sbxa_137", R = "_iconArrow_1sbxa_143", j = "_iconBtn_1sbxa_149", s = {
|
|
5
|
-
multiSelectWrapper: g,
|
|
6
|
-
selectedOptions: O,
|
|
7
|
-
selectedOptionsBtn: C,
|
|
8
|
-
"small-size": "_small-size_1sbxa_28",
|
|
9
|
-
"medium-size": "_medium-size_1sbxa_35",
|
|
10
|
-
"large-size": "_large-size_1sbxa_42",
|
|
11
|
-
selectedOptionsOpened: h,
|
|
12
|
-
selectedOptionsNotEmpty: f,
|
|
13
|
-
selectOptionsDisabled: k,
|
|
14
|
-
optionsList: v,
|
|
15
|
-
lastList: y,
|
|
16
|
-
listRight: D,
|
|
17
|
-
inputWrapper: B,
|
|
18
|
-
option: L,
|
|
19
|
-
category: N,
|
|
20
|
-
leftSide: S,
|
|
21
|
-
optionCategory: W,
|
|
22
|
-
optionDisabled: w,
|
|
23
|
-
optionClickable: A,
|
|
24
|
-
icon: E,
|
|
25
|
-
iconArrow: R,
|
|
26
|
-
iconBtn: j,
|
|
27
|
-
"small-size_m": "_small-size_m_1sbxa_162",
|
|
28
|
-
"medium-size_m": "_medium-size_m_1sbxa_168",
|
|
29
|
-
"large-size_m": "_large-size_m_1sbxa_174",
|
|
30
|
-
"small-size_l": "_small-size_l_1sbxa_189",
|
|
31
|
-
"medium-size_l": "_medium-size_l_1sbxa_195",
|
|
32
|
-
"large-size_l": "_large-size_l_1sbxa_201"
|
|
33
|
-
}, U = z.bind(s), G = ({
|
|
34
|
-
option: e,
|
|
35
|
-
selectedOptions: p,
|
|
36
|
-
disabledOptions: r,
|
|
37
|
-
clickableOptions: t,
|
|
38
|
-
handleOptionClick: d,
|
|
39
|
-
isOptionCategory: i,
|
|
40
|
-
sizeIcon: n,
|
|
41
|
-
isDisabledNotClickable: m,
|
|
42
|
-
addClassName: b = ""
|
|
43
|
-
}) => {
|
|
44
|
-
const x = t ? t.includes(`${e.value}`) : !0, _ = p.some((o) => o.value === e.value), a = () => m && t ? !t.includes(`${e.value}`) : r.some((o) => o.value === e.value);
|
|
45
|
-
return /* @__PURE__ */ u(
|
|
46
|
-
"div",
|
|
47
|
-
{
|
|
48
|
-
className: U(
|
|
49
|
-
s.option,
|
|
50
|
-
{
|
|
51
|
-
[s.optionDisabled]: a(),
|
|
52
|
-
[s.optionCategory]: i,
|
|
53
|
-
[s.optionClickable]: x
|
|
54
|
-
},
|
|
55
|
-
b
|
|
56
|
-
),
|
|
57
|
-
onClick: () => {
|
|
58
|
-
a() && !_ || d(e);
|
|
59
|
-
},
|
|
60
|
-
children: [
|
|
61
|
-
i && /* @__PURE__ */ l(
|
|
62
|
-
c,
|
|
63
|
-
{
|
|
64
|
-
size: n ?? "20",
|
|
65
|
-
name: _ ? "selectChecked" : "selectUnchecked"
|
|
66
|
-
}
|
|
67
|
-
),
|
|
68
|
-
/* @__PURE__ */ l("div", { children: e.label }),
|
|
69
|
-
!i && /* @__PURE__ */ l(
|
|
70
|
-
c,
|
|
71
|
-
{
|
|
72
|
-
size: n ?? "20",
|
|
73
|
-
name: _ ? "selectChecked" : "selectUnchecked"
|
|
74
|
-
}
|
|
75
|
-
)
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
);
|
|
79
|
-
};
|
|
80
|
-
export {
|
|
81
|
-
G as O,
|
|
82
|
-
s
|
|
83
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as e from "react";
|
|
2
|
-
import { forwardRef as n } from "react";
|
|
3
|
-
const l = ({
|
|
4
|
-
title: t,
|
|
5
|
-
titleId: r,
|
|
6
|
-
...a
|
|
7
|
-
}, o) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: o, "aria-labelledby": r, ...a }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M10.6667 6.66665C10.6667 8.13941 9.47284 9.33331 8.00008 9.33331C6.52732 9.33331 5.33341 8.13941 5.33341 6.66665C5.33341 5.19389 6.52732 3.99998 8.00008 3.99998C9.47284 3.99998 10.6667 5.19389 10.6667 6.66665Z", stroke: "#141416" }), /* @__PURE__ */ e.createElement("path", { d: "M13.3334 6.66665C13.3334 9.61217 9.33341 14.6666 8.00008 14.6666C6.66675 14.6666 2.66675 9.61217 2.66675 6.66665C2.66675 3.72113 5.05456 1.33331 8.00008 1.33331C10.9456 1.33331 13.3334 3.72113 13.3334 6.66665Z", stroke: "#141416" })), m = n(l);
|
|
8
|
-
export {
|
|
9
|
-
m as F
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as e from "react";
|
|
2
|
-
import { forwardRef as l } from "react";
|
|
3
|
-
const n = ({
|
|
4
|
-
title: t,
|
|
5
|
-
titleId: r,
|
|
6
|
-
...o
|
|
7
|
-
}, a) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": r, ...o }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M2.66667 5.33331H10.6667M10.6667 5.33331C10.6667 6.43788 11.5621 7.33331 12.6667 7.33331C13.7712 7.33331 14.6667 6.43788 14.6667 5.33331C14.6667 4.22874 13.7712 3.33331 12.6667 3.33331C11.5621 3.33331 10.6667 4.22874 10.6667 5.33331ZM6 10.6666H13.3333M6 10.6666C6 11.7712 5.10457 12.6666 4 12.6666C2.89543 12.6666 2 11.7712 2 10.6666C2 9.56208 2.89543 8.66665 4 8.66665C5.10457 8.66665 6 9.56208 6 10.6666Z", stroke: "white", strokeLinecap: "round" })), m = l(n);
|
|
8
|
-
export {
|
|
9
|
-
m as F
|
|
10
|
-
};
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { jsx as _, jsxs as d, Fragment as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as k } from "../../../index-rKuIKazb.js";
|
|
3
|
-
import { NewIcon as y } from "../../NewIcon/ui/NewIcon.js";
|
|
4
|
-
const w = "_btnCommon_f868m_1", C = "_btnLoading_f868m_20", N = "_isHidden_f868m_24", v = "_blue_f868m_68", H = "_lightBlue_f868m_82", S = "_sokolniki_f868m_97", B = "_black_f868m_111", L = "_gray_f868m_125", $ = "_whiteStroke_f868m_139", x = "_whiteFilled_f868m_151", F = "_shade_f868m_165", j = "_transparent_f868m_171", I = "_volodiyaLight_f868m_192", q = "_loader_f868m_198", A = "_LoaderSpin_f868m_1", e = {
|
|
5
|
-
btnCommon: w,
|
|
6
|
-
btnLoading: C,
|
|
7
|
-
isHidden: N,
|
|
8
|
-
"auto-width": "_auto-width_f868m_28",
|
|
9
|
-
"full-width": "_full-width_f868m_32",
|
|
10
|
-
"tiny-size": "_tiny-size_f868m_36",
|
|
11
|
-
"small-size": "_small-size_f868m_44",
|
|
12
|
-
"medium-size": "_medium-size_f868m_52",
|
|
13
|
-
"large-size": "_large-size_f868m_60",
|
|
14
|
-
blue: v,
|
|
15
|
-
lightBlue: H,
|
|
16
|
-
sokolniki: S,
|
|
17
|
-
black: B,
|
|
18
|
-
gray: L,
|
|
19
|
-
whiteStroke: $,
|
|
20
|
-
whiteFilled: x,
|
|
21
|
-
shade: F,
|
|
22
|
-
transparent: j,
|
|
23
|
-
volodiyaLight: I,
|
|
24
|
-
loader: q,
|
|
25
|
-
LoaderSpin: A,
|
|
26
|
-
"tiny-size_m": "_tiny-size_m_f868m_204",
|
|
27
|
-
"small-size_m": "_small-size_m_f868m_211",
|
|
28
|
-
"medium-size_m": "_medium-size_m_f868m_218",
|
|
29
|
-
"large-size_m": "_large-size_m_f868m_225",
|
|
30
|
-
"tiny-size_l": "_tiny-size_l_f868m_234",
|
|
31
|
-
"small-size_l": "_small-size_l_f868m_241",
|
|
32
|
-
"medium-size_l": "_medium-size_l_f868m_248",
|
|
33
|
-
"large-size_l": "_large-size_l_f868m_255"
|
|
34
|
-
}, s = k.bind(e), J = ({
|
|
35
|
-
size: c = "medium",
|
|
36
|
-
size_m: f,
|
|
37
|
-
size_l: z,
|
|
38
|
-
onCLick: t,
|
|
39
|
-
pre: m = !1,
|
|
40
|
-
children: h = "",
|
|
41
|
-
post: n = !1,
|
|
42
|
-
variant: u = "blue",
|
|
43
|
-
width: b = "auto",
|
|
44
|
-
additionalClass: g = "",
|
|
45
|
-
isLoading: i = !1,
|
|
46
|
-
...l
|
|
47
|
-
}) => {
|
|
48
|
-
const a = s(
|
|
49
|
-
e.btnCommon,
|
|
50
|
-
e[`${c}-size`],
|
|
51
|
-
e[`${f}-size_m`],
|
|
52
|
-
e[`${z}-size_l`],
|
|
53
|
-
e[`${u}`],
|
|
54
|
-
{ [e.btnLoading]: i },
|
|
55
|
-
{ [e.btnCommonInline]: m || n },
|
|
56
|
-
e[`${b}-width`],
|
|
57
|
-
g
|
|
58
|
-
), o = () => /* @__PURE__ */ d(r, { children: [
|
|
59
|
-
i && /* @__PURE__ */ _(
|
|
60
|
-
y,
|
|
61
|
-
{
|
|
62
|
-
name: "loader",
|
|
63
|
-
size: "24",
|
|
64
|
-
color: "currentColor",
|
|
65
|
-
additionalClass: e.loader
|
|
66
|
-
}
|
|
67
|
-
),
|
|
68
|
-
/* @__PURE__ */ d(r, { children: [
|
|
69
|
-
m && /* @__PURE__ */ _("div", { className: s({ [e.isHidden]: i }), children: m }),
|
|
70
|
-
/* @__PURE__ */ _("div", { className: s({ [e.isHidden]: i }), children: h }),
|
|
71
|
-
n && /* @__PURE__ */ _("div", { className: s({ [e.isHidden]: i }), children: n })
|
|
72
|
-
] })
|
|
73
|
-
] });
|
|
74
|
-
return l.as === "link" ? (delete l.as, /* @__PURE__ */ _(
|
|
75
|
-
"a",
|
|
76
|
-
{
|
|
77
|
-
className: a,
|
|
78
|
-
onClick: t,
|
|
79
|
-
...l,
|
|
80
|
-
children: o()
|
|
81
|
-
}
|
|
82
|
-
)) : (delete l.as, /* @__PURE__ */ _(
|
|
83
|
-
"button",
|
|
84
|
-
{
|
|
85
|
-
className: a,
|
|
86
|
-
onClick: t,
|
|
87
|
-
...l,
|
|
88
|
-
children: o()
|
|
89
|
-
}
|
|
90
|
-
));
|
|
91
|
-
};
|
|
92
|
-
export {
|
|
93
|
-
J as Button
|
|
94
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
blue: "blue",
|
|
3
|
-
gray: "gray",
|
|
4
|
-
whiteStroke: "whiteStroke",
|
|
5
|
-
sokolniki: "sokolniki",
|
|
6
|
-
black: "black",
|
|
7
|
-
whiteFilled: "whiteFilled",
|
|
8
|
-
shade: "shade",
|
|
9
|
-
volodiyaLight: "volodiyaLight",
|
|
10
|
-
lightBlue: "lightBlue",
|
|
11
|
-
transparent: "transparent"
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
e as BUTTON_VARIANTS
|
|
15
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { jsxs as i, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as g } from "react";
|
|
3
|
-
import { NewIcon as n } from "../NewIcon/ui/NewIcon.js";
|
|
4
|
-
const p = "_checkbox_vuhc0_1", $ = "_checkbox__text_vuhc0_5", I = "_checkbox__elem_vuhc0_9", C = "_checkbox__hoverIcon_vuhc0_28", N = "_error_vuhc0_35", j = "_light_vuhc0_41", w = "_dark_vuhc0_44", y = "_isChecked_vuhc0_47", e = {
|
|
5
|
-
checkbox: p,
|
|
6
|
-
checkbox__text: $,
|
|
7
|
-
checkbox__elem: I,
|
|
8
|
-
checkbox__hoverIcon: C,
|
|
9
|
-
error: N,
|
|
10
|
-
light: j,
|
|
11
|
-
dark: w,
|
|
12
|
-
isChecked: y,
|
|
13
|
-
"medium-size": "_medium-size_vuhc0_102",
|
|
14
|
-
"large-size": "_large-size_vuhc0_107",
|
|
15
|
-
"small-size": "_small-size_vuhc0_112"
|
|
16
|
-
}, L = g(
|
|
17
|
-
({
|
|
18
|
-
children: t,
|
|
19
|
-
isChecked: _ = !1,
|
|
20
|
-
error: a = !1,
|
|
21
|
-
modifierClassesStyle: m = [""],
|
|
22
|
-
emitIsChecked: h,
|
|
23
|
-
onClick: l,
|
|
24
|
-
variant: x = "light",
|
|
25
|
-
size_s: k,
|
|
26
|
-
size_m: b,
|
|
27
|
-
size_l: u,
|
|
28
|
-
text: r,
|
|
29
|
-
...v
|
|
30
|
-
}, d) => {
|
|
31
|
-
const z = m.map((f) => e[f]).filter(Boolean).join(" ");
|
|
32
|
-
let o = "", c = "20";
|
|
33
|
-
return u ? (o = e["large-size"] || "", c = "20") : k ? (o = e["small-size"] || "", c = "12") : (o = e["medium-size"] || "", c = "16"), /* @__PURE__ */ i(
|
|
34
|
-
"label",
|
|
35
|
-
{
|
|
36
|
-
className: `
|
|
37
|
-
${e.checkbox}
|
|
38
|
-
${z}
|
|
39
|
-
${_ ? e.isChecked : ""}
|
|
40
|
-
${a ? e.error : ""}
|
|
41
|
-
${e[x] || ""}
|
|
42
|
-
${o}
|
|
43
|
-
`,
|
|
44
|
-
onClick: () => {
|
|
45
|
-
l && l();
|
|
46
|
-
},
|
|
47
|
-
children: [
|
|
48
|
-
/* @__PURE__ */ s(
|
|
49
|
-
"input",
|
|
50
|
-
{
|
|
51
|
-
type: "checkbox",
|
|
52
|
-
ref: d,
|
|
53
|
-
checked: !!_,
|
|
54
|
-
onChange: () => h && h(!_),
|
|
55
|
-
...v
|
|
56
|
-
}
|
|
57
|
-
),
|
|
58
|
-
/* @__PURE__ */ i("span", { className: e.checkbox__elem, children: [
|
|
59
|
-
_ && /* @__PURE__ */ s(
|
|
60
|
-
n,
|
|
61
|
-
{
|
|
62
|
-
name: "check",
|
|
63
|
-
size: c
|
|
64
|
-
}
|
|
65
|
-
),
|
|
66
|
-
!_ && /* @__PURE__ */ s(
|
|
67
|
-
n,
|
|
68
|
-
{
|
|
69
|
-
name: "check",
|
|
70
|
-
size: c,
|
|
71
|
-
additionalClass: e.checkbox__hoverIcon
|
|
72
|
-
}
|
|
73
|
-
)
|
|
74
|
-
] }),
|
|
75
|
-
r && /* @__PURE__ */ s("span", { className: e.checkbox__text, dangerouslySetInnerHTML: { __html: r } }),
|
|
76
|
-
t
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
);
|
|
82
|
-
export {
|
|
83
|
-
L as CheckBox
|
|
84
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { jsxs as _, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { Input as m } from "../Input/ui/Input.js";
|
|
3
|
-
import { c as h } from "../../index-rKuIKazb.js";
|
|
4
|
-
import { forwardRef as d } from "react";
|
|
5
|
-
import { NewIcon as i } from "../NewIcon/ui/NewIcon.js";
|
|
6
|
-
const k = "_checkboxLabel_8850s_1", T = "_labelText_8850s_36", p = "_labelTextModal_8850s_44", f = "_error_8850s_49", I = "_checkIcon_8850s_58", e = {
|
|
7
|
-
checkboxLabel: k,
|
|
8
|
-
labelText: T,
|
|
9
|
-
labelTextModal: p,
|
|
10
|
-
error: f,
|
|
11
|
-
checkIcon: I
|
|
12
|
-
}, s = h.bind(e), B = d(
|
|
13
|
-
({ text: c, isChecked: l, error: r, children: t, emitIsChecked: a, modalFontSize: n, ...b }, x) => /* @__PURE__ */ _("label", { className: s(e.checkboxLabel, { [e.error]: r }), children: [
|
|
14
|
-
/* @__PURE__ */ o(
|
|
15
|
-
m,
|
|
16
|
-
{
|
|
17
|
-
type: "checkbox",
|
|
18
|
-
...b,
|
|
19
|
-
onChange: () => a && a(!l),
|
|
20
|
-
ref: x
|
|
21
|
-
}
|
|
22
|
-
),
|
|
23
|
-
l && /* @__PURE__ */ o(
|
|
24
|
-
i,
|
|
25
|
-
{
|
|
26
|
-
additionalClass: e.checkIcon,
|
|
27
|
-
color: "#B1B5C3",
|
|
28
|
-
strokeWidth: "1.5",
|
|
29
|
-
name: "check",
|
|
30
|
-
size: "20"
|
|
31
|
-
}
|
|
32
|
-
),
|
|
33
|
-
/* @__PURE__ */ o(
|
|
34
|
-
"div",
|
|
35
|
-
{
|
|
36
|
-
className: s(e.labelText, { [e.labelTextModal]: n }, { [e.error]: r }),
|
|
37
|
-
dangerouslySetInnerHTML: c ? { __html: c } : void 0,
|
|
38
|
-
children: t
|
|
39
|
-
}
|
|
40
|
-
)
|
|
41
|
-
] })
|
|
42
|
-
);
|
|
43
|
-
export {
|
|
44
|
-
B as CheckBoxNew
|
|
45
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../index-rKuIKazb.js";
|
|
3
|
-
const d = "_root_7jm23_1", _ = "_nameWrapper_7jm23_8", p = "_clearBtn_7jm23_18", I = "_checkboxWrapper_7jm23_33", b = "_checkboxItem_7jm23_39", j = "_checkboxItemActive_7jm23_57", v = "_checkboxItemDisabled_7jm23_69", t = {
|
|
4
|
-
root: d,
|
|
5
|
-
nameWrapper: _,
|
|
6
|
-
clearBtn: p,
|
|
7
|
-
checkboxWrapper: I,
|
|
8
|
-
checkboxItem: b,
|
|
9
|
-
checkboxItemActive: j,
|
|
10
|
-
checkboxItemDisabled: v
|
|
11
|
-
}, c = o.bind(t), N = ({
|
|
12
|
-
label: n = "Тип квартиры",
|
|
13
|
-
checkboxes: a,
|
|
14
|
-
addClassname: s
|
|
15
|
-
}) => {
|
|
16
|
-
const i = () => {
|
|
17
|
-
a == null || a.forEach((e) => {
|
|
18
|
-
e != null && e.isSelected && (e == null || e.setValue());
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
return /* @__PURE__ */ l("div", { className: c(t.root, s), children: [
|
|
22
|
-
/* @__PURE__ */ l("div", { className: t.nameWrapper, children: [
|
|
23
|
-
/* @__PURE__ */ r("div", { children: n }),
|
|
24
|
-
/* @__PURE__ */ r(
|
|
25
|
-
"div",
|
|
26
|
-
{
|
|
27
|
-
className: t.clearBtn,
|
|
28
|
-
onClick: i,
|
|
29
|
-
children: "Очистить"
|
|
30
|
-
}
|
|
31
|
-
)
|
|
32
|
-
] }),
|
|
33
|
-
/* @__PURE__ */ r("div", { className: t.checkboxWrapper, children: a == null ? void 0 : a.map((e) => /* @__PURE__ */ r(
|
|
34
|
-
"button",
|
|
35
|
-
{
|
|
36
|
-
className: c(
|
|
37
|
-
t.checkboxItem,
|
|
38
|
-
{ [t.checkboxItemActive]: e == null ? void 0 : e.isSelected },
|
|
39
|
-
{ [t.checkboxItemDisabled]: e == null ? void 0 : e.disabled }
|
|
40
|
-
),
|
|
41
|
-
onClick: () => e == null ? void 0 : e.setValue(),
|
|
42
|
-
disabled: e == null ? void 0 : e.disabled,
|
|
43
|
-
children: e == null ? void 0 : e.label
|
|
44
|
-
},
|
|
45
|
-
e == null ? void 0 : e.label
|
|
46
|
-
)) })
|
|
47
|
-
] });
|
|
48
|
-
};
|
|
49
|
-
export {
|
|
50
|
-
N as CheckboxSelect
|
|
51
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as N } from "../../../index-rKuIKazb.js";
|
|
3
|
-
const x = "_destination_1c7de_1", n = "_destinationName_1c7de_40", w = "_routeText_1c7de_45", g = "_whiteStroke_1c7de_65", k = "_routeWrapper_1c7de_78", _ = {
|
|
4
|
-
destination: x,
|
|
5
|
-
"auto-width": "_auto-width_1c7de_29",
|
|
6
|
-
"full-width": "_full-width_1c7de_33",
|
|
7
|
-
"medium-size": "_medium-size_1c7de_37",
|
|
8
|
-
destinationName: n,
|
|
9
|
-
routeText: w,
|
|
10
|
-
"large-size": "_large-size_1c7de_51",
|
|
11
|
-
whiteStroke: g,
|
|
12
|
-
routeWrapper: k,
|
|
13
|
-
"medium-size_m": "_medium-size_m_1c7de_109",
|
|
14
|
-
"large-size_m": "_large-size_m_1c7de_122",
|
|
15
|
-
"medium-size_l": "_medium-size_l_1c7de_137",
|
|
16
|
-
"large-size_l": "_large-size_l_1c7de_150"
|
|
17
|
-
}, b = N.bind(_), f = ({
|
|
18
|
-
size: m = "medium",
|
|
19
|
-
size_m: c,
|
|
20
|
-
size_l: a,
|
|
21
|
-
destination: e = { destName: "", color: "" },
|
|
22
|
-
variant: d = "whiteStroke",
|
|
23
|
-
width: i = "auto",
|
|
24
|
-
routes: l = [],
|
|
25
|
-
checked: o,
|
|
26
|
-
onChange: u,
|
|
27
|
-
additionalClass: p = "",
|
|
28
|
-
...h
|
|
29
|
-
}) => /* @__PURE__ */ t(
|
|
30
|
-
"label",
|
|
31
|
-
{
|
|
32
|
-
className: b(
|
|
33
|
-
_.destination,
|
|
34
|
-
_[`${m}-size`],
|
|
35
|
-
_[`${c}-size_m`],
|
|
36
|
-
_[`${a}-size_l`],
|
|
37
|
-
_[`${d}`],
|
|
38
|
-
_[`${i}-width`],
|
|
39
|
-
p
|
|
40
|
-
),
|
|
41
|
-
...h,
|
|
42
|
-
htmlFor: e.destName,
|
|
43
|
-
children: [
|
|
44
|
-
/* @__PURE__ */ r(
|
|
45
|
-
"input",
|
|
46
|
-
{
|
|
47
|
-
id: e.destName,
|
|
48
|
-
checked: o,
|
|
49
|
-
onChange: u,
|
|
50
|
-
type: "checkbox",
|
|
51
|
-
name: e.destName,
|
|
52
|
-
value: e.destName
|
|
53
|
-
}
|
|
54
|
-
),
|
|
55
|
-
/* @__PURE__ */ t("div", { className: _.destination, children: [
|
|
56
|
-
(e == null ? void 0 : e.color) && /* @__PURE__ */ r("span", { style: { background: (e == null ? void 0 : e.color) ?? "" } }),
|
|
57
|
-
e.destName
|
|
58
|
-
] }),
|
|
59
|
-
l.map((s, z) => /* @__PURE__ */ t(
|
|
60
|
-
"div",
|
|
61
|
-
{
|
|
62
|
-
className: _.routeWrapper,
|
|
63
|
-
children: [
|
|
64
|
-
s.type,
|
|
65
|
-
/* @__PURE__ */ r("div", { className: _.routeText, children: s.text })
|
|
66
|
-
]
|
|
67
|
-
},
|
|
68
|
-
z
|
|
69
|
-
))
|
|
70
|
-
]
|
|
71
|
-
}
|
|
72
|
-
);
|
|
73
|
-
export {
|
|
74
|
-
f as DestinationTab
|
|
75
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsxs as r, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
const s = "_fieldInputWrapper_1y5f8_1", t = "_clearBtn_1y5f8_16", i = "_nameWrapper_1y5f8_31", e = {
|
|
3
|
-
fieldInputWrapper: s,
|
|
4
|
-
clearBtn: t,
|
|
5
|
-
nameWrapper: i
|
|
6
|
-
}, m = ({ label: n, handleClear: p, isShowClear: l, children: c }) => /* @__PURE__ */ r("div", { className: e.fieldInputWrapper, children: [
|
|
7
|
-
/* @__PURE__ */ r("div", { className: e.nameWrapper, children: [
|
|
8
|
-
/* @__PURE__ */ a("label", { className: e.label, children: n }),
|
|
9
|
-
l && /* @__PURE__ */ a(
|
|
10
|
-
"div",
|
|
11
|
-
{
|
|
12
|
-
className: e.clearBtn,
|
|
13
|
-
onClick: p,
|
|
14
|
-
children: "Очистить"
|
|
15
|
-
}
|
|
16
|
-
)
|
|
17
|
-
] }),
|
|
18
|
-
c
|
|
19
|
-
] });
|
|
20
|
-
export {
|
|
21
|
-
m as FieldInput
|
|
22
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import "../../Button/ui/Button.js";
|
|
3
|
-
import "../../mobileButton/ui/MobileButton.js";
|
|
4
|
-
import "../../NewIcon/ui/NewIcon.js";
|
|
5
|
-
import "../../DestinationTab/ui/DestinationTab.js";
|
|
6
|
-
import "../../RoundButton/ui/RoundButton.js";
|
|
7
|
-
import "../../Tag/ui/Tag.js";
|
|
8
|
-
import "../../Switcher/ui/Switcher.js";
|
|
9
|
-
import "../../Text/ui/Text.js";
|
|
10
|
-
import "../../Flex/ui/Flex.js";
|
|
11
|
-
import "../../Input/ui/Input.js";
|
|
12
|
-
import "react/jsx-runtime";
|
|
13
|
-
import "react-dom";
|
|
14
|
-
import { b as w } from "../../../FilterWithSave-Bp6rH8Pe.js";
|
|
15
|
-
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
16
|
-
import "../../../index-rKuIKazb.js";
|
|
17
|
-
import "../../MetroTag/ui/MetroTag.js";
|
|
18
|
-
import "../../Select/ui/Select.js";
|
|
19
|
-
import "../../../shared/useClientWidth.js";
|
|
20
|
-
import "../../SliderNavigation/ui/SliderNavigation.js";
|
|
21
|
-
import "../../LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
22
|
-
import "../../TabSelect/ui/TabSelect.js";
|
|
23
|
-
import "../../CheckBox/CheckBox.js";
|
|
24
|
-
import "../../CheckBoxNew/CheckBoxNew.js";
|
|
25
|
-
import "../../CheckboxSelect/ui/CheckboxSelect.js";
|
|
26
|
-
export {
|
|
27
|
-
w as useFilterWithSave
|
|
28
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "../../NewIcon/ui/NewIcon.js";
|
|
3
|
-
import { F as a } from "../../../FilterWithSave-Bp6rH8Pe.js";
|
|
4
|
-
import "../../Modal/ui/Modal.js";
|
|
5
|
-
import "../../../Option-BVIm7wOW.js";
|
|
6
|
-
import "../../Button/ui/Button.js";
|
|
7
|
-
export {
|
|
8
|
-
a as FilterWithSave
|
|
9
|
-
};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../../index-rKuIKazb.js";
|
|
3
|
-
const o = "_root_fi64k_1", _ = {
|
|
4
|
-
root: o,
|
|
5
|
-
"gap-1": "_gap-1_fi64k_5",
|
|
6
|
-
"gap-2": "_gap-2_fi64k_9",
|
|
7
|
-
"gap-3": "_gap-3_fi64k_13",
|
|
8
|
-
"gap-4": "_gap-4_fi64k_17",
|
|
9
|
-
"gap-5": "_gap-5_fi64k_21",
|
|
10
|
-
"gap-6": "_gap-6_fi64k_25",
|
|
11
|
-
"gap-7": "_gap-7_fi64k_29",
|
|
12
|
-
"gap-8": "_gap-8_fi64k_33",
|
|
13
|
-
"gap-9": "_gap-9_fi64k_37",
|
|
14
|
-
"gap-10": "_gap-10_fi64k_41",
|
|
15
|
-
"gap-11": "_gap-11_fi64k_45",
|
|
16
|
-
"gap-12": "_gap-12_fi64k_49",
|
|
17
|
-
"gap-13": "_gap-13_fi64k_53",
|
|
18
|
-
"gap-14": "_gap-14_fi64k_57",
|
|
19
|
-
"gap-15": "_gap-15_fi64k_61",
|
|
20
|
-
"gap-16": "_gap-16_fi64k_65",
|
|
21
|
-
"fd-row": "_fd-row_fi64k_69",
|
|
22
|
-
"fd-row-reverse": "_fd-row-reverse_fi64k_73",
|
|
23
|
-
"fd-column": "_fd-column_fi64k_77",
|
|
24
|
-
"fd-column-reverse": "_fd-column-reverse_fi64k_81",
|
|
25
|
-
"w-nowrap": "_w-nowrap_fi64k_85",
|
|
26
|
-
"w-wrap": "_w-wrap_fi64k_89",
|
|
27
|
-
"w-wrap-reverse": "_w-wrap-reverse_fi64k_93",
|
|
28
|
-
"jc-flex-start": "_jc-flex-start_fi64k_97",
|
|
29
|
-
"jc-flex-end": "_jc-flex-end_fi64k_101",
|
|
30
|
-
"jc-center": "_jc-center_fi64k_105",
|
|
31
|
-
"jc-space-between": "_jc-space-between_fi64k_109",
|
|
32
|
-
"jc-space-around": "_jc-space-around_fi64k_113",
|
|
33
|
-
"jc-space-evenly": "_jc-space-evenly_fi64k_117",
|
|
34
|
-
"ai-stretch": "_ai-stretch_fi64k_121",
|
|
35
|
-
"ai-flex-start": "_ai-flex-start_fi64k_125",
|
|
36
|
-
"ai-flex-end": "_ai-flex-end_fi64k_129",
|
|
37
|
-
"ai-center": "_ai-center_fi64k_133",
|
|
38
|
-
"ai-baseline": "_ai-baseline_fi64k_137"
|
|
39
|
-
}, n = t.bind(_), d = ({
|
|
40
|
-
className: a,
|
|
41
|
-
children: e,
|
|
42
|
-
jc: f = "start",
|
|
43
|
-
ai: i = "center",
|
|
44
|
-
gap: p,
|
|
45
|
-
fd: r = "row",
|
|
46
|
-
w: c = "nowrap",
|
|
47
|
-
additionalClass: k = "",
|
|
48
|
-
...g
|
|
49
|
-
}) => /* @__PURE__ */ s(
|
|
50
|
-
"div",
|
|
51
|
-
{
|
|
52
|
-
className: n(
|
|
53
|
-
_.root,
|
|
54
|
-
a,
|
|
55
|
-
_[`w-${c}`],
|
|
56
|
-
_[`jc-${f}`],
|
|
57
|
-
_[`ai-${i}`],
|
|
58
|
-
_[`gap-${p}`],
|
|
59
|
-
_[`fd-${r}`],
|
|
60
|
-
k
|
|
61
|
-
),
|
|
62
|
-
...g,
|
|
63
|
-
children: e
|
|
64
|
-
}
|
|
65
|
-
);
|
|
66
|
-
export {
|
|
67
|
-
d as Flex
|
|
68
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|