stone-kit 0.0.883 → 0.0.885
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/FilterWithSave-Bp6rH8Pe.js +2230 -0
- package/dist/Option-BVIm7wOW.js +83 -0
- package/dist/PinTrans-D6OZq76b.js +10 -0
- package/dist/SmallFilter-C-VKnbkP.js +10 -0
- package/dist/components/Button/index.js +4 -0
- package/dist/components/Button/ui/Button.js +94 -0
- package/dist/components/Button/ui/Button.types.js +15 -0
- package/dist/components/CheckBox/CheckBox.js +84 -0
- package/dist/components/CheckBox/CheckBox.types.js +1 -0
- package/dist/components/CheckBox/index.js +4 -0
- package/dist/components/CheckBoxNew/CheckBox.types.js +6 -0
- package/dist/components/CheckBoxNew/CheckBoxNew.js +45 -0
- package/dist/components/CheckboxSelect/index.js +4 -0
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +51 -0
- package/dist/components/DestinationTab/index.js +4 -0
- package/dist/components/DestinationTab/ui/DestinationTab.js +75 -0
- package/dist/components/DestinationTab/ui/DestinationTab.types.js +6 -0
- package/dist/components/FieldInput/index.js +4 -0
- package/dist/components/FieldInput/ui/FieldInput.js +22 -0
- package/dist/components/FieldInput/ui/FieldInput.types.js +1 -0
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +28 -0
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +9 -0
- package/dist/components/Flex/index.js +4 -0
- package/dist/components/Flex/ui/Flex.js +68 -0
- package/dist/components/Flex/ui/Flex.types.js +1 -0
- package/dist/components/FormModal/ui/ModalForm.js +30 -0
- package/dist/components/FormModal/utils/reg.js +6 -0
- package/dist/components/GroupedInput/index.js +4 -0
- package/dist/components/GroupedInput/ui/GroupedInputs.js +8 -0
- package/dist/components/GroupedInput/ui/GroupedInputs.types.js +1 -0
- package/dist/components/Input/index.js +4 -0
- package/dist/components/Input/ui/Input.js +3346 -0
- package/dist/components/Input/ui/Input.types.js +1 -0
- package/dist/components/Logo/index.js +4 -0
- package/dist/components/Logo/ui/Logo.js +63 -0
- package/dist/components/Logo/ui/Logo.types.d.ts +8 -8
- package/dist/components/Logo/ui/Logo.types.js +13 -0
- package/dist/components/LotCard/hooks/useLotCard.js +31 -0
- package/dist/components/LotCard/index.js +4 -0
- package/dist/components/LotCard/ui/LotCard.js +11 -0
- package/dist/components/LotCard/ui/LotCard.types.js +1 -0
- package/dist/components/LotCard/utils/checkBedroomsCount.js +20 -0
- package/dist/components/LotCard/utils/const.js +11 -0
- package/dist/components/LotCard/utils/formatPrice.js +11 -0
- package/dist/components/LotCard/utils/getTagsFeatures.js +13 -0
- package/dist/components/LotCard/utils/monthlyPayment.js +4 -0
- package/dist/components/LotCardSkeleton/index.js +4 -0
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +83 -0
- package/dist/components/MetroLabel/ui/MetroLabel.js +44 -0
- package/dist/components/MetroLabel/ui/MetroLabel.types.js +1 -0
- package/dist/components/MetroTag/index.js +4 -0
- package/dist/components/MetroTag/ui/MetroTag.js +142 -0
- package/dist/components/MetroTag/ui/MetroTag.types.js +1 -0
- package/dist/components/Modal/index.js +4 -0
- package/dist/components/Modal/ui/Modal.js +77 -0
- package/dist/components/Modal/ui/Modal.types.js +1 -0
- package/dist/components/ModalSuccess/ModalSuccess.js +61 -0
- package/dist/components/ModalSuccess/ModalSuccess.types.js +1 -0
- package/dist/components/NewIcon/icons/PinTrans.js +6 -0
- package/dist/components/NewIcon/icons/SmallFilter.js +6 -0
- package/dist/components/NewIcon/index.js +4 -0
- package/dist/components/NewIcon/ui/NewIcon.js +314 -0
- package/dist/components/NewIcon/ui/NewIcon.types.js +1 -0
- package/dist/components/NewIcon/ui/iconTypes.js +60 -0
- package/dist/components/ProjectCardSkeleton/index.js +4 -0
- package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +34 -0
- package/dist/components/RoundButton/index.js +4 -0
- package/dist/components/RoundButton/ui/RoundButton.js +73 -0
- package/dist/components/RoundButton/ui/RoundButton.types.js +16 -0
- package/dist/components/Select/index.js +4 -0
- package/dist/components/Select/model/selectMode.js +49 -0
- package/dist/components/Select/ui/Category.js +76 -0
- package/dist/components/Select/ui/Option.js +7 -0
- package/dist/components/Select/ui/Select.js +179 -0
- package/dist/components/Select/ui/Select.types.js +1 -0
- package/dist/components/SliderNavigation/index.js +4 -0
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +65 -0
- package/dist/components/SliderNavigation/ui/SliderNavigation.types.js +1 -0
- package/dist/components/SortSelect/hooks/useSortSelect.js +6 -0
- package/dist/components/SortSelect/index.js +4 -0
- package/dist/components/SortSelect/ui/SortSelect.js +29 -0
- package/dist/components/SortSelect/ui/SortSelect.types.js +1 -0
- package/dist/components/SummarySelect/index.js +4 -0
- package/dist/components/SummarySelect/ui/SummarySelect.js +128 -0
- package/dist/components/Switcher/index.js +4 -0
- package/dist/components/Switcher/ui/Switcher.js +49 -0
- package/dist/components/Switcher/ui/Switcher.types.js +1 -0
- package/dist/components/TabSelect/index.js +4 -0
- package/dist/components/TabSelect/ui/TabSelect.js +49 -0
- package/dist/components/TabSelect/ui/TabSelect.types.js +1 -0
- package/dist/components/TabSwitcher/index.js +4 -0
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +28 -0
- package/dist/components/TabSwitcher/ui/TabSwitcher.types.js +1 -0
- package/dist/components/Tag/index.js +4 -0
- package/dist/components/Tag/ui/Tag.js +79 -0
- package/dist/components/Tag/ui/Tag.types.js +20 -0
- package/dist/components/Text/index.js +4 -0
- package/dist/components/Text/ui/Text.js +22 -0
- package/dist/components/Text/ui/Text.types.js +1 -0
- package/dist/components/TextArea/TextArea.js +19 -0
- package/dist/components/TextArea/TextArea.types.js +1 -0
- package/dist/components/ZoomControls/index.js +4 -0
- package/dist/components/ZoomControls/ui/ZoomControls.js +31 -0
- package/dist/components/ZoomControls/ui/ZoomControls.types.js +1 -0
- package/dist/components/mobileButton/index.js +4 -0
- package/dist/components/mobileButton/ui/MobileButton.js +64 -0
- package/dist/components/mobileButton/ui/MobileButton.types.js +6 -0
- package/dist/index-rKuIKazb.js +45 -0
- package/dist/main.js +64 -0
- package/dist/shared/checkLargeOffice.js +12 -0
- package/dist/shared/deepEqual.js +16 -0
- package/dist/shared/useClientWidth.js +14 -0
- package/dist/style.css +1 -1
- package/dist/useSortSelect-CjZXLFOG.js +80 -0
- package/package.json +5 -2
- package/dist/App.d.ts +0 -2
- package/dist/Router.d.ts +0 -2
- package/dist/layout/Layout.d.ts +0 -6
- package/dist/layout/components/Header/Header.d.ts +0 -1
- package/dist/layout/components/Menu.d.ts +0 -1
- package/dist/pages/ButtonsPage/ButtonState/ButtonState.d.ts +0 -7
- package/dist/pages/ButtonsPage/Buttons.d.ts +0 -1
- package/dist/pages/CheckboxPage/CheckboxPage.d.ts +0 -1
- package/dist/pages/FormsPage/FormsPage.d.ts +0 -2
- package/dist/pages/HomePage/HomePage.d.ts +0 -2
- package/dist/pages/IconsPage/IconsPage.d.ts +0 -1
- package/dist/pages/InputPage/InputPage.d.ts +0 -1
- package/dist/pages/LogoPage/LogoPage.d.ts +0 -1
- package/dist/pages/LotsPage/LotsPage.d.ts +0 -1
- package/dist/pages/ModalsPage/ModalPage.d.ts +0 -2
- package/dist/pages/SelectPage/SelectPage.d.ts +0 -1
- package/dist/pages/SelectPage/const.d.ts +0 -13
- package/dist/pages/TabsPage/TabsPage.d.ts +0 -2
- package/dist/pages/TagsPage/TagsPage.d.ts +0 -1
- package/dist/stone_kit.es.js +0 -29426
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { S as y } from "../../../FilterWithSave-Bp6rH8Pe.js";
|
|
4
|
+
import "../../Text/ui/Text.js";
|
|
5
|
+
import "../../../index-rKuIKazb.js";
|
|
6
|
+
import "../../Button/ui/Button.js";
|
|
7
|
+
import "../../mobileButton/ui/MobileButton.js";
|
|
8
|
+
import "../../NewIcon/ui/NewIcon.js";
|
|
9
|
+
import "../../DestinationTab/ui/DestinationTab.js";
|
|
10
|
+
import "../../RoundButton/ui/RoundButton.js";
|
|
11
|
+
import "../../Tag/ui/Tag.js";
|
|
12
|
+
import "../../Switcher/ui/Switcher.js";
|
|
13
|
+
import "../../Flex/ui/Flex.js";
|
|
14
|
+
import "../../Input/ui/Input.js";
|
|
15
|
+
import "react-dom";
|
|
16
|
+
import "../../GroupedInput/ui/GroupedInputs.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
|
+
y as TabSwitcher
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { c as r } from "../../../index-rKuIKazb.js";
|
|
3
|
+
const o = "_tagCommon_2s5ss_1", h = "_red_2s5ss_108", p = "_gray_2s5ss_114", c = "_shade_2s5ss_120", y = "_blackGrey_2s5ss_126", g = "_chineseBlack_2s5ss_132", x = "_white_2s5ss_139", d = "_fullWhite_2s5ss_146", u = "_shadeWhite_2s5ss_153", k = "_transparent_2s5ss_161", w = "_transWhite_2s5ss_168", G = "_whiteGrayStroke_2s5ss_176", W = "_whiteGray_2s5ss_176", b = "_lightGray_2s5ss_190", f = "_blackStroke_2s5ss_196", L = "_lightBlue_2s5ss_203", B = "_preLarge_size_m_2s5ss_238", s = {
|
|
4
|
+
tagCommon: o,
|
|
5
|
+
"auto-width": "_auto-width_2s5ss_20",
|
|
6
|
+
"full-width": "_full-width_2s5ss_24",
|
|
7
|
+
"medium-size": "_medium-size_2s5ss_28",
|
|
8
|
+
"mini-size": "_mini-size_2s5ss_36",
|
|
9
|
+
"tiny-size": "_tiny-size_2s5ss_44",
|
|
10
|
+
"small-size": "_small-size_2s5ss_52",
|
|
11
|
+
"preLarge-size": "_preLarge-size_2s5ss_60",
|
|
12
|
+
"large-size": "_large-size_2s5ss_68",
|
|
13
|
+
"tiny-7px-size": "_tiny-7px-size_2s5ss_76",
|
|
14
|
+
"tiny-10px-size": "_tiny-10px-size_2s5ss_84",
|
|
15
|
+
"small-10px-size": "_small-10px-size_2s5ss_92",
|
|
16
|
+
"small-13px-size": "_small-13px-size_2s5ss_100",
|
|
17
|
+
red: h,
|
|
18
|
+
gray: p,
|
|
19
|
+
shade: c,
|
|
20
|
+
blackGrey: y,
|
|
21
|
+
chineseBlack: g,
|
|
22
|
+
white: x,
|
|
23
|
+
fullWhite: d,
|
|
24
|
+
shadeWhite: u,
|
|
25
|
+
transparent: k,
|
|
26
|
+
transWhite: w,
|
|
27
|
+
whiteGrayStroke: G,
|
|
28
|
+
whiteGray: W,
|
|
29
|
+
lightGray: b,
|
|
30
|
+
blackStroke: f,
|
|
31
|
+
lightBlue: L,
|
|
32
|
+
"mini-size_m": "_mini-size_m_2s5ss_210",
|
|
33
|
+
"tiny-size_m": "_tiny-size_m_2s5ss_217",
|
|
34
|
+
"medium-size_m": "_medium-size_m_2s5ss_224",
|
|
35
|
+
"small-size_m": "_small-size_m_2s5ss_231",
|
|
36
|
+
preLarge_size_m: B,
|
|
37
|
+
"large-size_m": "_large-size_m_2s5ss_245",
|
|
38
|
+
"tiny-7px-size_m": "_tiny-7px-size_m_2s5ss_252",
|
|
39
|
+
"tiny-10px-size_m": "_tiny-10px-size_m_2s5ss_259",
|
|
40
|
+
"small-10px-size_m": "_small-10px-size_m_2s5ss_266",
|
|
41
|
+
"small-13px-size_m": "_small-13px-size_m_2s5ss_273",
|
|
42
|
+
"mini-size_l": "_mini-size_l_2s5ss_282",
|
|
43
|
+
"tiny-size_l": "_tiny-size_l_2s5ss_289",
|
|
44
|
+
"medium-size_l": "_medium-size_l_2s5ss_296",
|
|
45
|
+
"small-size_l": "_small-size_l_2s5ss_303",
|
|
46
|
+
"preLarge-size_l": "_preLarge-size_l_2s5ss_310",
|
|
47
|
+
"large-size_l": "_large-size_l_2s5ss_317",
|
|
48
|
+
"tiny-7px-size_l": "_tiny-7px-size_l_2s5ss_324",
|
|
49
|
+
"tiny-10px-size_l": "_tiny-10px-size_l_2s5ss_331",
|
|
50
|
+
"small-10px-size_l": "_small-10px-size_l_2s5ss_338",
|
|
51
|
+
"small-13px-size_l": "_small-13px-size_l_2s5ss_345"
|
|
52
|
+
}, S = r.bind(s), N = ({
|
|
53
|
+
size: _ = "medium",
|
|
54
|
+
size_m: e,
|
|
55
|
+
size_l: i,
|
|
56
|
+
children: l = "",
|
|
57
|
+
variant: t = "gray",
|
|
58
|
+
width: a = "auto",
|
|
59
|
+
additionalClass: m = "",
|
|
60
|
+
...z
|
|
61
|
+
}) => /* @__PURE__ */ n(
|
|
62
|
+
"div",
|
|
63
|
+
{
|
|
64
|
+
className: S(
|
|
65
|
+
s.tagCommon,
|
|
66
|
+
s[`${_}-size`],
|
|
67
|
+
s[`${e}-size_m`],
|
|
68
|
+
s[`${i}-size_l`],
|
|
69
|
+
s[`${t}`],
|
|
70
|
+
s[`${a}-width`],
|
|
71
|
+
m
|
|
72
|
+
),
|
|
73
|
+
...z,
|
|
74
|
+
children: l
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
export {
|
|
78
|
+
N as Tag
|
|
79
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
red: "red",
|
|
3
|
+
gray: "gray",
|
|
4
|
+
white: "white",
|
|
5
|
+
shade: "shade",
|
|
6
|
+
blackGrey: "blackGrey",
|
|
7
|
+
chineseBlack: "chineseBlack",
|
|
8
|
+
fullWhite: "fullWhite",
|
|
9
|
+
transparent: "transparent",
|
|
10
|
+
shadeWhite: "shadeWhite",
|
|
11
|
+
transWhite: "transWhite",
|
|
12
|
+
whiteGrayStroke: "whiteGrayStroke",
|
|
13
|
+
blackStroke: "blackStroke",
|
|
14
|
+
lightBlue: "lightBlue",
|
|
15
|
+
lightGray: "lightGray",
|
|
16
|
+
whiteGray: "whiteGray"
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
e as TAG_VARIANTS
|
|
20
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as _ } from "../../../index-rKuIKazb.js";
|
|
3
|
+
const i = "_root_wkh0k_1", o = {
|
|
4
|
+
root: i
|
|
5
|
+
}, e = _.bind(o), f = ({ children: m, className: r, additionalClass: t = "", html: s, ...n }) => s ? /* @__PURE__ */ c(
|
|
6
|
+
"div",
|
|
7
|
+
{
|
|
8
|
+
className: e(o.root, r, t),
|
|
9
|
+
...n,
|
|
10
|
+
dangerouslySetInnerHTML: { __html: s }
|
|
11
|
+
}
|
|
12
|
+
) : /* @__PURE__ */ c(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
className: e(o.root, r, t),
|
|
16
|
+
...n,
|
|
17
|
+
children: m
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
export {
|
|
21
|
+
f as Text
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as f } from "react";
|
|
3
|
+
import { c as m } from "../../index-rKuIKazb.js";
|
|
4
|
+
const _ = "_root_v6f19_12", t = {
|
|
5
|
+
"auto-width": "_auto-width_v6f19_1",
|
|
6
|
+
"full-width": "_full-width_v6f19_6",
|
|
7
|
+
root: _
|
|
8
|
+
}, c = m.bind(t), d = f(
|
|
9
|
+
({
|
|
10
|
+
width: o = "auto",
|
|
11
|
+
additionalClass: r = "",
|
|
12
|
+
children: e = "",
|
|
13
|
+
...a
|
|
14
|
+
}, s) => /* @__PURE__ */ i("textarea", { className: c(t.root, t[`${o}-width`], r), ref: s, style: { resize: "none" }, ...a, children: e })
|
|
15
|
+
);
|
|
16
|
+
d.displayName = "TextArea";
|
|
17
|
+
export {
|
|
18
|
+
d as TextArea
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { RoundButton as s } from "../../RoundButton/ui/RoundButton.js";
|
|
3
|
+
const r = "_root_1gn8f_1", u = "_plusBtn_1gn8f_6", c = "_minusBtn_1gn8f_11", o = {
|
|
4
|
+
root: r,
|
|
5
|
+
plusBtn: u,
|
|
6
|
+
minusBtn: c
|
|
7
|
+
}, _ = ({ size: n = "medium", zoomIn: i, zoomOut: l }) => /* @__PURE__ */ m("div", { className: o.root, children: [
|
|
8
|
+
/* @__PURE__ */ t(
|
|
9
|
+
s,
|
|
10
|
+
{
|
|
11
|
+
iconName: "plus",
|
|
12
|
+
size: n,
|
|
13
|
+
color: "#141416",
|
|
14
|
+
additionalClass: o.plusBtn,
|
|
15
|
+
onClick: i
|
|
16
|
+
}
|
|
17
|
+
),
|
|
18
|
+
/* @__PURE__ */ t(
|
|
19
|
+
s,
|
|
20
|
+
{
|
|
21
|
+
iconName: "minus",
|
|
22
|
+
size: n,
|
|
23
|
+
color: "#141416",
|
|
24
|
+
additionalClass: o.minusBtn,
|
|
25
|
+
onClick: l
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
] });
|
|
29
|
+
export {
|
|
30
|
+
_ as ZoomControls
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { jsxs as d, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { c as u } from "../../../index-rKuIKazb.js";
|
|
3
|
+
const w = "_btnCommon_1act6_1", r = "_whiteFilled_1act6_34", t = {
|
|
4
|
+
btnCommon: w,
|
|
5
|
+
"auto-width": "_auto-width_1act6_18",
|
|
6
|
+
"full-width": "_full-width_1act6_22",
|
|
7
|
+
"small-size": "_small-size_1act6_26",
|
|
8
|
+
whiteFilled: r
|
|
9
|
+
}, _ = u.bind(t), F = ({
|
|
10
|
+
size: m = "small",
|
|
11
|
+
pre: n = !1,
|
|
12
|
+
children: o = "",
|
|
13
|
+
post: i = !1,
|
|
14
|
+
variant: s = "whiteFilled",
|
|
15
|
+
width: c = "auto",
|
|
16
|
+
additionalClass: a = "",
|
|
17
|
+
...e
|
|
18
|
+
}) => {
|
|
19
|
+
if (e.as === "link") {
|
|
20
|
+
const { as: C, ...b } = e;
|
|
21
|
+
return /* @__PURE__ */ d(
|
|
22
|
+
"a",
|
|
23
|
+
{
|
|
24
|
+
className: _(
|
|
25
|
+
t.btnCommon,
|
|
26
|
+
t[`${m}-size`],
|
|
27
|
+
t[`${s}`],
|
|
28
|
+
{ [t.btnCommonInline]: n || i },
|
|
29
|
+
t[`${c}-width`],
|
|
30
|
+
a
|
|
31
|
+
),
|
|
32
|
+
...b,
|
|
33
|
+
children: [
|
|
34
|
+
n && /* @__PURE__ */ l("div", { children: n }),
|
|
35
|
+
o,
|
|
36
|
+
i && /* @__PURE__ */ l("div", { children: i })
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
const { as: f, ...h } = e;
|
|
42
|
+
return /* @__PURE__ */ d(
|
|
43
|
+
"button",
|
|
44
|
+
{
|
|
45
|
+
className: _(
|
|
46
|
+
t.btnCommon,
|
|
47
|
+
t[`${m}-size`],
|
|
48
|
+
t[`${s}`],
|
|
49
|
+
{ [t.btnCommonInline]: n || i },
|
|
50
|
+
t[`${c}-width`],
|
|
51
|
+
a
|
|
52
|
+
),
|
|
53
|
+
...h,
|
|
54
|
+
children: [
|
|
55
|
+
n && /* @__PURE__ */ l("div", { children: n }),
|
|
56
|
+
o,
|
|
57
|
+
i && /* @__PURE__ */ l("div", { children: i })
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
};
|
|
62
|
+
export {
|
|
63
|
+
F as MobileButton
|
|
64
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
function u(e) {
|
|
2
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3
|
+
}
|
|
4
|
+
var a = { exports: {} };
|
|
5
|
+
/*!
|
|
6
|
+
Copyright (c) 2018 Jed Watson.
|
|
7
|
+
Licensed under the MIT License (MIT), see
|
|
8
|
+
http://jedwatson.github.io/classnames
|
|
9
|
+
*/
|
|
10
|
+
(function(e) {
|
|
11
|
+
(function() {
|
|
12
|
+
var f = {}.hasOwnProperty;
|
|
13
|
+
function s() {
|
|
14
|
+
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
15
|
+
var n = arguments[r];
|
|
16
|
+
n && (t = o(t, i(n)));
|
|
17
|
+
}
|
|
18
|
+
return t;
|
|
19
|
+
}
|
|
20
|
+
function i(t) {
|
|
21
|
+
if (typeof t == "string" || typeof t == "number")
|
|
22
|
+
return t;
|
|
23
|
+
if (typeof t != "object")
|
|
24
|
+
return "";
|
|
25
|
+
if (Array.isArray(t))
|
|
26
|
+
return s.apply(null, t);
|
|
27
|
+
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
|
28
|
+
return t.toString();
|
|
29
|
+
var r = "";
|
|
30
|
+
for (var n in t)
|
|
31
|
+
f.call(t, n) && t[n] && (r = o(r, n));
|
|
32
|
+
return r;
|
|
33
|
+
}
|
|
34
|
+
function o(t, r) {
|
|
35
|
+
return r ? t ? t + " " + r : t + r : t;
|
|
36
|
+
}
|
|
37
|
+
e.exports ? (s.default = s, e.exports = s) : window.classNames = s;
|
|
38
|
+
})();
|
|
39
|
+
})(a);
|
|
40
|
+
var c = a.exports;
|
|
41
|
+
const p = /* @__PURE__ */ u(c);
|
|
42
|
+
export {
|
|
43
|
+
p as c,
|
|
44
|
+
u as g
|
|
45
|
+
};
|
package/dist/main.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Button as e } from "./components/Button/ui/Button.js";
|
|
2
|
+
import { MobileButton as p } from "./components/mobileButton/ui/MobileButton.js";
|
|
3
|
+
import { NewIcon as m } from "./components/NewIcon/ui/NewIcon.js";
|
|
4
|
+
import { DestinationTab as a } from "./components/DestinationTab/ui/DestinationTab.js";
|
|
5
|
+
import { RoundButton as n } from "./components/RoundButton/ui/RoundButton.js";
|
|
6
|
+
import { Tag as c } from "./components/Tag/ui/Tag.js";
|
|
7
|
+
import { Switcher as d } from "./components/Switcher/ui/Switcher.js";
|
|
8
|
+
import { Text as s } from "./components/Text/ui/Text.js";
|
|
9
|
+
import { Flex as h } from "./components/Flex/ui/Flex.js";
|
|
10
|
+
import { Input as T } from "./components/Input/ui/Input.js";
|
|
11
|
+
import { Modal as k } from "./components/Modal/ui/Modal.js";
|
|
12
|
+
import { FieldInput as F } from "./components/FieldInput/ui/FieldInput.js";
|
|
13
|
+
import { F as w, L as I, M as L, a as N, S as v } from "./FilterWithSave-Bp6rH8Pe.js";
|
|
14
|
+
import { GroupedInputs as j } from "./components/GroupedInput/ui/GroupedInputs.js";
|
|
15
|
+
import { Logo as y } from "./components/Logo/ui/Logo.js";
|
|
16
|
+
import { MetroTag as E } from "./components/MetroTag/ui/MetroTag.js";
|
|
17
|
+
import { Select as P } from "./components/Select/ui/Select.js";
|
|
18
|
+
import { useClientWidth as Z } from "./shared/useClientWidth.js";
|
|
19
|
+
import { deepEqual as A } from "./shared/deepEqual.js";
|
|
20
|
+
import { SliderNavigation as J } from "./components/SliderNavigation/ui/SliderNavigation.js";
|
|
21
|
+
import { LotCardSkeleton as O } from "./components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
22
|
+
import { ProjectCardSkeleton as U } from "./components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js";
|
|
23
|
+
import { TabSelect as X } from "./components/TabSelect/ui/TabSelect.js";
|
|
24
|
+
import { ZoomControls as _ } from "./components/ZoomControls/ui/ZoomControls.js";
|
|
25
|
+
import { ModalSuccess as oo } from "./components/ModalSuccess/ModalSuccess.js";
|
|
26
|
+
import { SummarySelect as eo } from "./components/SummarySelect/ui/SummarySelect.js";
|
|
27
|
+
import { CheckBox as po } from "./components/CheckBox/CheckBox.js";
|
|
28
|
+
import { CheckBoxNew as mo } from "./components/CheckBoxNew/CheckBoxNew.js";
|
|
29
|
+
import { CheckboxSelect as ao } from "./components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
30
|
+
export {
|
|
31
|
+
e as Button,
|
|
32
|
+
po as CheckBox,
|
|
33
|
+
mo as CheckBoxNew,
|
|
34
|
+
ao as CheckboxSelect,
|
|
35
|
+
a as DestinationTab,
|
|
36
|
+
F as FieldInput,
|
|
37
|
+
w as FilterWithSave,
|
|
38
|
+
h as Flex,
|
|
39
|
+
j as GroupedInputs,
|
|
40
|
+
T as Input,
|
|
41
|
+
y as Logo,
|
|
42
|
+
I as LotCard,
|
|
43
|
+
O as LotCardSkeleton,
|
|
44
|
+
E as MetroTag,
|
|
45
|
+
p as MobileButton,
|
|
46
|
+
k as Modal,
|
|
47
|
+
L as ModalForm,
|
|
48
|
+
oo as ModalSuccess,
|
|
49
|
+
m as NewIcon,
|
|
50
|
+
U as ProjectCardSkeleton,
|
|
51
|
+
n as RoundButton,
|
|
52
|
+
P as Select,
|
|
53
|
+
J as SliderNavigation,
|
|
54
|
+
N as SortSelect,
|
|
55
|
+
eo as SummarySelect,
|
|
56
|
+
d as Switcher,
|
|
57
|
+
X as TabSelect,
|
|
58
|
+
v as TabSwitcher,
|
|
59
|
+
c as Tag,
|
|
60
|
+
s as Text,
|
|
61
|
+
_ as ZoomControls,
|
|
62
|
+
A as deepEqual,
|
|
63
|
+
Z as useClientWidth
|
|
64
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const r = (e) => {
|
|
2
|
+
if (e && (e == null ? void 0 : e.direction) === 1) {
|
|
3
|
+
if ((e == null ? void 0 : e.type) === 11 || (e == null ? void 0 : e.subType) === 8)
|
|
4
|
+
return !0;
|
|
5
|
+
if (typeof (e == null ? void 0 : e.beginFloor) == "number" && typeof (e == null ? void 0 : e.endFloor) == "number")
|
|
6
|
+
return (e == null ? void 0 : e.beginFloor) !== (e == null ? void 0 : e.endFloor);
|
|
7
|
+
}
|
|
8
|
+
return !1;
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
r as checkLargeOffice
|
|
12
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const f = (e, t) => {
|
|
2
|
+
if (e === t)
|
|
3
|
+
return !0;
|
|
4
|
+
if (e == null || typeof e != "object" || t == null || typeof t != "object")
|
|
5
|
+
return !1;
|
|
6
|
+
const r = Object.keys(e), s = Object.keys(t);
|
|
7
|
+
if (r.length !== s.length)
|
|
8
|
+
return !1;
|
|
9
|
+
for (const n of r)
|
|
10
|
+
if (!s.includes(n) || !f(e[n], t[n]))
|
|
11
|
+
return !1;
|
|
12
|
+
return !0;
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
f as deepEqual
|
|
16
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useState as u, useCallback as c, useEffect as i } from "react";
|
|
2
|
+
const a = () => {
|
|
3
|
+
const [e, n] = u(0), t = c(() => {
|
|
4
|
+
n(window.innerWidth);
|
|
5
|
+
}, [n]);
|
|
6
|
+
i(() => (window.addEventListener("resize", t), () => window.removeEventListener("resize", t)), []), i(() => {
|
|
7
|
+
t();
|
|
8
|
+
}, []);
|
|
9
|
+
const s = e < 1024, o = typeof window < "u" ? window.innerWidth < 768 : !1, r = e >= 768 && e < 1440, d = e > 1023 && e < 1440, l = e >= 1440;
|
|
10
|
+
return { currentClientWidth: e, isMobile: s, isTablet: d, isDesktop: l, isMobileBorder: o, isFullTablet: r };
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
a as useClientWidth
|
|
14
|
+
};
|