stone-kit 0.0.1027 → 0.0.1029
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.js +4 -4
- package/dist/{Option-DU8cvBnA.js → Option-CtwUzW8a.js} +1 -1
- package/dist/Router.js +1 -1
- package/dist/chunk-4WY6JWTD-BeveLKf_.js +1582 -0
- package/dist/components/Button/ui/Button.d.ts +0 -1
- package/dist/components/Button/ui/Button.js +1 -1
- package/dist/components/Button/ui/Button.types.d.ts +0 -1
- package/dist/components/CheckBox/CheckBox.d.ts +0 -1
- package/dist/components/CheckBox/CheckBox.js +1 -1
- package/dist/components/CheckBox/CheckBox.types.d.ts +0 -2
- package/dist/components/CheckBoxNew/CheckBox.types.d.ts +0 -1
- package/dist/components/CheckBoxNew/CheckBoxNew.d.ts +0 -1
- package/dist/components/CheckBoxNew/CheckBoxNew.js +17 -17
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.d.ts +0 -1
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +34 -34
- package/dist/components/CommercialLotCard/CommercialLotCard.d.ts +0 -1
- package/dist/components/CommercialLotCard/CommercialLotCard.js +50 -7
- package/dist/components/CommercialLotCard/components/Price/Price.d.ts +0 -1
- package/dist/components/CommercialLotCard/components/Price/Price.js +25 -26
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.d.ts +0 -1
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +98 -27
- package/dist/components/CommercialLotCard/components/Tags/Tags.d.ts +0 -1
- package/dist/components/CommercialLotCard/components/Tags/Tags.js +17 -17
- package/dist/components/CommercialLotCard/types/CommercialLotCard.types.d.ts +0 -1
- package/dist/components/CommercialLotCard/types/LotCard.d.ts +0 -1
- package/dist/components/CommercialLotCard/utils/formatPrice.js +1 -2
- package/dist/components/CommercialLotCard/utils/getTagsFeatures.d.ts +1 -2
- package/dist/components/DestinationTab/ui/DestinationTab.d.ts +0 -1
- package/dist/components/DestinationTab/ui/DestinationTab.js +41 -41
- package/dist/components/DestinationTab/ui/DestinationTab.types.d.ts +0 -1
- package/dist/components/FieldInput/ui/FieldInput.d.ts +0 -1
- package/dist/components/FieldInput/ui/FieldInput.types.d.ts +0 -1
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +1 -2
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +54 -26
- package/dist/components/FilterWithSave/ui/FilterWithSave.d.ts +0 -1
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +323 -7
- package/dist/components/Flex/ui/Flex.d.ts +0 -1
- package/dist/components/Flex/ui/Flex.js +1 -1
- package/dist/components/Flex/ui/Flex.types.d.ts +0 -1
- package/dist/components/FormModal/ui/ModalForm.js +1445 -28
- package/dist/components/GroupedInput/ui/GroupedInputs.d.ts +0 -1
- package/dist/components/GroupedInput/ui/GroupedInputs.js +1 -1
- package/dist/components/GroupedInput/ui/GroupedInputs.types.d.ts +0 -1
- package/dist/components/Input/ui/Input.d.ts +1 -2
- package/dist/components/Input/ui/Input.js +234 -325
- package/dist/components/Logo/ui/Logo.d.ts +0 -1
- package/dist/components/Logo/ui/Logo.js +6 -6
- package/dist/components/LotCard/hooks/useLotCard.d.ts +0 -1
- package/dist/components/LotCard/hooks/useLotCard.js +6 -24
- package/dist/components/LotCard/index.js +2 -2
- package/dist/components/LotCard/ui/LotCard.d.ts +0 -1
- package/dist/components/LotCard/ui/LotCard.js +213 -10
- package/dist/components/LotCard/ui/LotCard.types.d.ts +0 -1
- package/dist/components/LotCard/utils/formatPrice.js +1 -2
- package/dist/components/LotCard/utils/getTagsFeatures.d.ts +1 -2
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +1 -1
- package/dist/components/MetroLabel/ui/MetroLabel.d.ts +0 -1
- package/dist/components/MetroLabel/ui/MetroLabel.js +16 -16
- package/dist/components/MetroLabel/ui/MetroLabel.types.d.ts +0 -1
- package/dist/components/MetroTag/ui/MetroTag.d.ts +0 -1
- package/dist/components/MetroTag/ui/MetroTag.js +74 -74
- package/dist/components/MetroTag/ui/MetroTag.types.d.ts +0 -1
- package/dist/components/Modal/ui/Modal.d.ts +0 -1
- package/dist/components/Modal/ui/Modal.js +34 -37
- package/dist/components/Modal/ui/Modal.types.d.ts +0 -1
- package/dist/components/ModalSuccess/ModalSuccess.d.ts +0 -1
- package/dist/components/ModalSuccess/ModalSuccess.js +18 -19
- package/dist/components/ModalSuccess/ModalSuccess.types.d.ts +0 -1
- package/dist/components/NewIcon/icons/PinTrans.d.ts +0 -1
- package/dist/components/NewIcon/icons/SmallFilter.d.ts +0 -1
- package/dist/components/NewIcon/ui/NewIcon.d.ts +0 -1
- package/dist/components/NewIcon/ui/NewIcon.js +43 -33
- package/dist/components/NewIcon/ui/NewIcon.types.d.ts +0 -1
- package/dist/components/NewIcon/ui/iconTypes.d.ts +0 -1
- package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +9 -11
- package/dist/components/RoundButton/ui/RoundButton.d.ts +0 -1
- package/dist/components/RoundButton/ui/RoundButton.js +2 -2
- package/dist/components/RoundButton/ui/RoundButton.types.d.ts +0 -1
- package/dist/components/Select/model/selectMode.d.ts +0 -1
- package/dist/components/Select/model/selectMode.js +30 -30
- package/dist/components/Select/ui/Category.d.ts +0 -1
- package/dist/components/Select/ui/Category.js +3 -3
- package/dist/components/Select/ui/Option.d.ts +0 -1
- package/dist/components/Select/ui/Option.js +2 -2
- package/dist/components/Select/ui/Select.d.ts +0 -1
- package/dist/components/Select/ui/Select.js +115 -115
- package/dist/components/SliderNavigation/index.d.ts +0 -1
- package/dist/components/SliderNavigation/ui/SliderNavigation.d.ts +0 -1
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +6 -6
- package/dist/components/SortSelect/hooks/useSortSelect.d.ts +1 -2
- package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
- package/dist/components/SortSelect/index.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.d.ts +0 -1
- package/dist/components/SortSelect/ui/SortSelect.js +108 -26
- package/dist/components/SortSelect/ui/SortSelect.types.d.ts +0 -1
- package/dist/components/SummarySelect/ui/SummarySelect.d.ts +0 -1
- package/dist/components/SummarySelect/ui/SummarySelect.js +59 -65
- package/dist/components/Switcher/ui/Switcher.d.ts +0 -1
- package/dist/components/Switcher/ui/Switcher.js +1 -1
- package/dist/components/Switcher/ui/Switcher.types.d.ts +0 -1
- package/dist/components/TabSelect/ui/TabSelect.d.ts +12 -8
- package/dist/components/TabSelect/ui/TabSelect.js +42 -37
- package/dist/components/TabSwitcher/index.js +2 -2
- package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +4 -4
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +120 -26
- package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +1 -2
- package/dist/components/Tag/ui/Tag.d.ts +0 -1
- package/dist/components/Tag/ui/Tag.js +91 -91
- package/dist/components/Tag/ui/Tag.types.d.ts +0 -1
- package/dist/components/Text/ui/Text.d.ts +0 -1
- package/dist/components/Text/ui/Text.js +1 -1
- package/dist/components/Text/ui/Text.types.d.ts +0 -1
- package/dist/components/TextArea/TextArea.d.ts +8 -0
- package/dist/components/TextArea/TextArea.js +18 -12
- package/dist/components/ZoomControls/ui/ZoomControls.d.ts +0 -1
- package/dist/components/ZoomControls/ui/ZoomControls.types.d.ts +0 -1
- package/dist/components/mobileButton/ui/MobileButton.d.ts +0 -1
- package/dist/components/mobileButton/ui/MobileButton.js +1 -1
- package/dist/components/mobileButton/ui/MobileButton.types.d.ts +0 -1
- package/dist/{index-DvCs2JPX.js → index-BJwl9stn.js} +9596 -9695
- package/dist/index-YnD2EP-S.js +43 -0
- package/dist/layout/Layout.d.ts +0 -1
- package/dist/layout/components/Header/Header.js +48 -71
- package/dist/layout/components/Menu.js +107 -26
- package/dist/main.js +70 -65
- package/dist/pages/ButtonsPage/Buttons.js +49 -77
- package/dist/pages/FormsPage/FormsPage.js +26 -50
- package/dist/pages/IconsPage/IconsPage.js +9 -31
- package/dist/pages/InputPage/InputPage.js +10 -32
- package/dist/pages/LogoPage/LogoPage.js +13 -35
- package/dist/pages/LotsPage/LotsPage.js +18 -17
- package/dist/pages/LotsPage/const.d.ts +0 -1
- package/dist/pages/ModalsPage/ModalPage.js +46 -66
- package/dist/pages/SelectPage/SelectPage.js +58 -58
- package/dist/pages/TabsPage/TabsPage.js +19 -20
- package/dist/pages/TagsPage/TagsPage.js +23 -44
- package/dist/shared/checkLargeOffice.d.ts +0 -1
- package/dist/shared/checkLargeOffice.js +1 -1
- package/dist/shared/mlnRound.js +1 -2
- package/dist/stone-kit.css +1 -0
- package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +2 -2
- package/dist/stories/shared/ui/Button/Button.stories.js +5 -5
- package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +1 -1
- package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +1 -1
- package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +1 -1
- package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +1 -1
- package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +1 -1
- package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +2 -2
- package/dist/stories/shared/ui/FormModal/FormModal.stories.js +8 -8
- package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +1 -1
- package/dist/stories/shared/ui/Logo/Logo.stories.js +1 -1
- package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +1 -1
- package/dist/stories/shared/ui/Modal/Modal.stories.js +1 -1
- package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +1 -1
- package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +1 -1
- package/dist/stories/shared/ui/Select/Select.stories.js +1 -1
- package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +1 -1
- package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +2 -2
- package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +1 -1
- package/dist/stories/shared/ui/Switcher/Switcher.stories.js +1 -1
- package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +1 -1
- package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +2 -2
- package/dist/stories/shared/ui/Tag/Tag.stories.js +4 -4
- package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +1 -1
- package/dist/useLotCard-CYcRSogE.js +186 -0
- package/dist/useSortSelect-Cy3od4ig.js +80 -0
- package/package.json +22 -31
- package/dist/ButtonState.module-DtW3aevR.js +0 -8
- package/dist/FilterWithSave-DkVYQ7W8.js +0 -2473
- package/dist/Menu-DKuZheFD.js +0 -513
- package/dist/components/TextArea/TextArea.types.d.ts +0 -11
- package/dist/components/TextArea/TextArea.types.js +0 -1
- package/dist/index-DmANy9jd.js +0 -890
- package/dist/index-rKuIKazb.js +0 -45
- package/dist/pages/ButtonsPage/ButtonState/ButtonState.d.ts +0 -7
- package/dist/pages/ButtonsPage/ButtonState/ButtonState.js +0 -121
- package/dist/style.css +0 -1
- package/dist/useSortSelect-CjZXLFOG.js +0 -80
|
@@ -1,93 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { Button as
|
|
4
|
-
import "../../components/
|
|
5
|
-
import { NewIcon as d
|
|
6
|
-
import "../../components/
|
|
7
|
-
import {
|
|
8
|
-
import "../../components/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
import { SliderNavigation as B } from "../../components/SliderNavigation/ui/SliderNavigation.js";
|
|
20
|
-
import "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
21
|
-
import "../../components/TabSelect/ui/TabSelect.js";
|
|
22
|
-
import { ZoomControls as y } from "../../components/ZoomControls/ui/ZoomControls.js";
|
|
23
|
-
import "../../components/CheckBox/CheckBox.js";
|
|
24
|
-
import "../../components/CheckBoxNew/CheckBoxNew.js";
|
|
25
|
-
import "../../components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
26
|
-
import { s as a } from "../../ButtonState.module-DtW3aevR.js";
|
|
27
|
-
import { BUTTON_VARIANTS as j } from "../../components/Button/ui/Button.types.js";
|
|
28
|
-
const O = "_root_iex42_1", T = "_buttonsWrapper_iex42_11", r = {
|
|
29
|
-
root: O,
|
|
30
|
-
buttonsWrapper: T
|
|
31
|
-
}, V = ({ children: o }) => {
|
|
32
|
-
const [l, c] = n("auto"), [s, f] = n("blue"), [h, z] = n(!1), [m, I] = n(null), [p, S] = n(null), [N, C] = n(null), [k, P] = n(null), u = ["12", "16", "20", "24"], _ = W.cloneElement(o, {
|
|
33
|
-
width: l,
|
|
34
|
-
variant: s,
|
|
35
|
-
isLoading: h,
|
|
36
|
-
pre: m ? t(d, { name: m, size: N ?? "24" }) : null,
|
|
37
|
-
post: p ? t(d, { name: p, size: k ?? "24" }) : null
|
|
38
|
-
}), x = ["auto", "full"], L = Object.values(j), v = Object.keys(A);
|
|
39
|
-
return i("div", { className: a.root, children: [_, i("div", { className: a.optionsWrapper, children: [t("div", { children: i("label", { children: ["Width:", t("select", { onChange: (e) => c(e.target.value), children: x.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Variants:", t("select", { onChange: (e) => f(e.target.value), children: L.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Pre Icon:", t("select", { onChange: (e) => I(e.target.value), children: v.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Post Icon:", t("select", { onChange: (e) => S(e.target.value), children: v.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Pre Icon Size:", t("select", { onChange: (e) => C(e.target.value), children: u.map((e) => t("option", { value: e, children: e }, e)) })] }) }), t("div", { children: i("label", { children: ["Post Icon Size:", t("select", { onChange: (e) => P(e.target.value), children: u.map((e) => t("option", { value: e, children: e }, e)) })] }) }), i("label", { className: a.isLoading, children: ["isLoading", t("input", { type: "checkbox", onChange: () => z(!h) })] })] })] });
|
|
40
|
-
}, he = () => {
|
|
41
|
-
const [o, l] = n(!0), [c, s] = n(!1);
|
|
42
|
-
return /* @__PURE__ */ i("div", { className: r.root, children: [
|
|
43
|
-
/* @__PURE__ */ i("div", { className: r.clearButton, children: [
|
|
44
|
-
/* @__PURE__ */ t("h2", { children: "Обычная" }),
|
|
45
|
-
/* @__PURE__ */ t("div", { className: r.buttonsWrapper, children: /* @__PURE__ */ t(V, { children: /* @__PURE__ */ t(
|
|
46
|
-
w,
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s } from "react";
|
|
3
|
+
import { Button as m } from "../../components/Button/ui/Button.js";
|
|
4
|
+
import { RoundButton as c } from "../../components/RoundButton/ui/RoundButton.js";
|
|
5
|
+
import { NewIcon as d } from "../../components/NewIcon/ui/NewIcon.js";
|
|
6
|
+
import { ZoomControls as h } from "../../components/ZoomControls/ui/ZoomControls.js";
|
|
7
|
+
import { SliderNavigation as p } from "../../components/SliderNavigation/ui/SliderNavigation.js";
|
|
8
|
+
import { Switcher as l } from "../../components/Switcher/ui/Switcher.js";
|
|
9
|
+
const u = "_root_iex42_1", v = "_buttonsWrapper_iex42_11", t = {
|
|
10
|
+
root: u,
|
|
11
|
+
buttonsWrapper: v
|
|
12
|
+
}, S = () => {
|
|
13
|
+
const [i, r] = s(!0), [n, a] = s(!1);
|
|
14
|
+
return /* @__PURE__ */ o("div", { className: t.root, children: [
|
|
15
|
+
/* @__PURE__ */ o("div", { className: t.clearButton, children: [
|
|
16
|
+
/* @__PURE__ */ e("h2", { children: "Обычная" }),
|
|
17
|
+
/* @__PURE__ */ e("div", { className: t.buttonsWrapper, children: /* @__PURE__ */ e(
|
|
18
|
+
m,
|
|
47
19
|
{
|
|
48
20
|
as: "button",
|
|
49
21
|
size: "large",
|
|
50
22
|
variant: "blue",
|
|
51
23
|
children: "Приветики"
|
|
52
24
|
}
|
|
53
|
-
) })
|
|
25
|
+
) })
|
|
54
26
|
] }),
|
|
55
|
-
/* @__PURE__ */
|
|
56
|
-
/* @__PURE__ */
|
|
57
|
-
/* @__PURE__ */
|
|
58
|
-
/* @__PURE__ */
|
|
59
|
-
|
|
27
|
+
/* @__PURE__ */ o("div", { className: t.clearButton, children: [
|
|
28
|
+
/* @__PURE__ */ e("h2", { children: "Круглая" }),
|
|
29
|
+
/* @__PURE__ */ o("div", { className: t.buttonsWrapper, children: [
|
|
30
|
+
/* @__PURE__ */ e(
|
|
31
|
+
c,
|
|
60
32
|
{
|
|
61
|
-
variant:
|
|
33
|
+
variant: i ? "blackFill" : "whiteStroke",
|
|
62
34
|
size: "tiny",
|
|
63
|
-
onClick: () =>
|
|
64
|
-
children: /* @__PURE__ */
|
|
35
|
+
onClick: () => r(!i),
|
|
36
|
+
children: /* @__PURE__ */ e(
|
|
65
37
|
d,
|
|
66
38
|
{
|
|
67
39
|
name: "close",
|
|
68
40
|
size: "12",
|
|
69
|
-
color:
|
|
41
|
+
color: i ? "#fff" : "#000"
|
|
70
42
|
}
|
|
71
43
|
)
|
|
72
44
|
}
|
|
73
45
|
),
|
|
74
|
-
/* @__PURE__ */
|
|
75
|
-
|
|
46
|
+
/* @__PURE__ */ e(
|
|
47
|
+
c,
|
|
76
48
|
{
|
|
77
49
|
iconName: "close",
|
|
78
|
-
variant:
|
|
50
|
+
variant: i ? "blackFill" : "whiteStroke",
|
|
79
51
|
deg: "90",
|
|
80
52
|
size: "tiny",
|
|
81
53
|
size_l: "small",
|
|
82
|
-
onClick: () =>
|
|
54
|
+
onClick: () => r(!i)
|
|
83
55
|
}
|
|
84
56
|
)
|
|
85
57
|
] })
|
|
86
58
|
] }),
|
|
87
|
-
/* @__PURE__ */
|
|
88
|
-
/* @__PURE__ */
|
|
89
|
-
/* @__PURE__ */
|
|
90
|
-
|
|
59
|
+
/* @__PURE__ */ o("div", { children: [
|
|
60
|
+
/* @__PURE__ */ e("h2", { children: "Зум" }),
|
|
61
|
+
/* @__PURE__ */ e(
|
|
62
|
+
h,
|
|
91
63
|
{
|
|
92
64
|
size: "medium",
|
|
93
65
|
zoomIn: () => {
|
|
@@ -97,10 +69,10 @@ const O = "_root_iex42_1", T = "_buttonsWrapper_iex42_11", r = {
|
|
|
97
69
|
}
|
|
98
70
|
)
|
|
99
71
|
] }),
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
-
/* @__PURE__ */
|
|
102
|
-
/* @__PURE__ */
|
|
103
|
-
|
|
72
|
+
/* @__PURE__ */ o("div", { children: [
|
|
73
|
+
/* @__PURE__ */ e("h2", { children: "Слайдер" }),
|
|
74
|
+
/* @__PURE__ */ e(
|
|
75
|
+
p,
|
|
104
76
|
{
|
|
105
77
|
goNext: () => {
|
|
106
78
|
},
|
|
@@ -111,24 +83,24 @@ const O = "_root_iex42_1", T = "_buttonsWrapper_iex42_11", r = {
|
|
|
111
83
|
}
|
|
112
84
|
)
|
|
113
85
|
] }),
|
|
114
|
-
/* @__PURE__ */
|
|
115
|
-
|
|
86
|
+
/* @__PURE__ */ e(
|
|
87
|
+
l,
|
|
116
88
|
{
|
|
117
|
-
isActive:
|
|
118
|
-
onClick: () =>
|
|
89
|
+
isActive: i,
|
|
90
|
+
onClick: () => r(!i),
|
|
119
91
|
children: "В продаже"
|
|
120
92
|
}
|
|
121
93
|
),
|
|
122
|
-
/* @__PURE__ */
|
|
123
|
-
|
|
94
|
+
/* @__PURE__ */ e(
|
|
95
|
+
l,
|
|
124
96
|
{
|
|
125
|
-
isActive:
|
|
126
|
-
onClick: () =>
|
|
97
|
+
isActive: n,
|
|
98
|
+
onClick: () => a(!n),
|
|
127
99
|
children: "В продаже"
|
|
128
100
|
}
|
|
129
101
|
)
|
|
130
102
|
] });
|
|
131
103
|
};
|
|
132
104
|
export {
|
|
133
|
-
|
|
105
|
+
S as ButtonsPage
|
|
134
106
|
};
|
|
@@ -1,58 +1,34 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import {
|
|
4
|
-
import { Button as
|
|
5
|
-
import "../../components/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import "../../components/Input/ui/Input.js";
|
|
14
|
-
import "react-dom";
|
|
15
|
-
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
16
|
-
import "../../index-rKuIKazb.js";
|
|
17
|
-
import "../../components/MetroTag/ui/MetroTag.js";
|
|
18
|
-
import "../../components/Select/ui/Select.js";
|
|
19
|
-
import "../../components/SliderNavigation/ui/SliderNavigation.js";
|
|
20
|
-
import "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
21
|
-
import "../../components/TabSelect/ui/TabSelect.js";
|
|
22
|
-
import { ModalSuccess as l } from "../../components/ModalSuccess/ModalSuccess.js";
|
|
23
|
-
import "../../components/CheckBox/CheckBox.js";
|
|
24
|
-
import "../../components/CheckBoxNew/CheckBoxNew.js";
|
|
25
|
-
import "../../components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
26
|
-
const c = "_root_kl5jx_1", u = "_tabsShort_kl5jx_7", d = "_tabSelectWrapper_kl5jx_11", b = "_destinationWrapper_kl5jx_15", _ = "_bbb_kl5jx_22", S = {
|
|
27
|
-
root: c,
|
|
28
|
-
tabsShort: u,
|
|
29
|
-
tabSelectWrapper: d,
|
|
30
|
-
destinationWrapper: b,
|
|
31
|
-
bbb: _
|
|
32
|
-
}, D = () => {
|
|
33
|
-
const [i, o] = e(!1), [p, r] = e(!0);
|
|
34
|
-
return /* @__PURE__ */ a("div", { className: S.root, children: [
|
|
35
|
-
/* @__PURE__ */ t(
|
|
36
|
-
s,
|
|
1
|
+
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useState as t } from "react";
|
|
3
|
+
import { ModalForm as u } from "../../components/FormModal/ui/ModalForm.js";
|
|
4
|
+
import { Button as r } from "../../components/Button/ui/Button.js";
|
|
5
|
+
import { ModalSuccess as a } from "../../components/ModalSuccess/ModalSuccess.js";
|
|
6
|
+
const m = "_root_kl5jx_1", d = {
|
|
7
|
+
root: m
|
|
8
|
+
}, F = () => {
|
|
9
|
+
const [i, e] = t(!1), [l, s] = t(!0);
|
|
10
|
+
return /* @__PURE__ */ c("div", { className: d.root, children: [
|
|
11
|
+
/* @__PURE__ */ o(
|
|
12
|
+
r,
|
|
37
13
|
{
|
|
38
14
|
as: "button",
|
|
39
|
-
onClick: () =>
|
|
15
|
+
onClick: () => e(!0),
|
|
40
16
|
children: "ModalForm"
|
|
41
17
|
}
|
|
42
18
|
),
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
|
|
19
|
+
/* @__PURE__ */ o(
|
|
20
|
+
r,
|
|
45
21
|
{
|
|
46
22
|
as: "button",
|
|
47
|
-
onClick: () =>
|
|
23
|
+
onClick: () => s(!0),
|
|
48
24
|
children: "ModalSucceess"
|
|
49
25
|
}
|
|
50
26
|
),
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
|
|
27
|
+
/* @__PURE__ */ o(
|
|
28
|
+
u,
|
|
53
29
|
{
|
|
54
|
-
submitHandler: (
|
|
55
|
-
console.log(
|
|
30
|
+
submitHandler: (n) => {
|
|
31
|
+
console.log(n);
|
|
56
32
|
},
|
|
57
33
|
isEmail: !0,
|
|
58
34
|
subTitle: "Оставьте номер телефона для получения консультации",
|
|
@@ -64,18 +40,18 @@ const c = "_root_kl5jx_1", u = "_tabsShort_kl5jx_7", d = "_tabSelectWrapper_kl5j
|
|
|
64
40
|
isFormOpen: i,
|
|
65
41
|
isNews: !0,
|
|
66
42
|
advCheckBox: null,
|
|
67
|
-
setIsFormOpen:
|
|
43
|
+
setIsFormOpen: e
|
|
68
44
|
}
|
|
69
45
|
),
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
|
|
46
|
+
/* @__PURE__ */ o(
|
|
47
|
+
a,
|
|
72
48
|
{
|
|
73
|
-
isSuccessOpen:
|
|
74
|
-
setIsSuccess:
|
|
49
|
+
isSuccessOpen: l,
|
|
50
|
+
setIsSuccess: s
|
|
75
51
|
}
|
|
76
52
|
)
|
|
77
53
|
] });
|
|
78
54
|
};
|
|
79
55
|
export {
|
|
80
|
-
|
|
56
|
+
F as default
|
|
81
57
|
};
|
|
@@ -1,41 +1,19 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { iconTypes as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import "../../components/Tag/ui/Tag.js";
|
|
8
|
-
import "../../components/Switcher/ui/Switcher.js";
|
|
9
|
-
import "../../components/Text/ui/Text.js";
|
|
10
|
-
import "../../components/Flex/ui/Flex.js";
|
|
11
|
-
import "../../components/Input/ui/Input.js";
|
|
12
|
-
import "react";
|
|
13
|
-
import "react-dom";
|
|
14
|
-
import "../../FilterWithSave-DkVYQ7W8.js";
|
|
15
|
-
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
16
|
-
import "../../index-rKuIKazb.js";
|
|
17
|
-
import "../../components/MetroTag/ui/MetroTag.js";
|
|
18
|
-
import "../../components/Select/ui/Select.js";
|
|
19
|
-
import "../../components/SliderNavigation/ui/SliderNavigation.js";
|
|
20
|
-
import "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
21
|
-
import "../../components/TabSelect/ui/TabSelect.js";
|
|
22
|
-
import "../../components/CheckBox/CheckBox.js";
|
|
23
|
-
import "../../components/CheckBoxNew/CheckBoxNew.js";
|
|
24
|
-
import "../../components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
25
|
-
const s = "_root_3zx0k_1", c = "_iconWrapper_3zx0k_7", i = {
|
|
26
|
-
root: s,
|
|
27
|
-
iconWrapper: c
|
|
28
|
-
}, q = () => /* @__PURE__ */ o("div", { className: i.root, children: Array.isArray(Object.keys(t)) ? Object.keys(t).map((r, p) => /* @__PURE__ */ m("div", { className: i.iconWrapper, children: [
|
|
1
|
+
import { jsx as o, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { iconTypes as e, NewIcon as t } from "../../components/NewIcon/ui/NewIcon.js";
|
|
3
|
+
const a = "_root_3zx0k_1", i = "_iconWrapper_3zx0k_7", s = {
|
|
4
|
+
root: a,
|
|
5
|
+
iconWrapper: i
|
|
6
|
+
}, l = () => /* @__PURE__ */ o("div", { className: s.root, children: Array.isArray(Object.keys(e)) ? Object.keys(e).map((r, c) => /* @__PURE__ */ n("div", { className: s.iconWrapper, children: [
|
|
29
7
|
/* @__PURE__ */ o(
|
|
30
|
-
|
|
8
|
+
t,
|
|
31
9
|
{
|
|
32
10
|
name: r,
|
|
33
11
|
size: "16"
|
|
34
12
|
},
|
|
35
|
-
|
|
13
|
+
c
|
|
36
14
|
),
|
|
37
15
|
r ?? ""
|
|
38
16
|
] })) : null });
|
|
39
17
|
export {
|
|
40
|
-
|
|
18
|
+
l as IconsPage
|
|
41
19
|
};
|
|
@@ -1,35 +1,13 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import "../../components/
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import "../../components/Flex/ui/Flex.js";
|
|
11
|
-
import { Input as t } from "../../components/Input/ui/Input.js";
|
|
12
|
-
import "react";
|
|
13
|
-
import "react-dom";
|
|
14
|
-
import "../../FilterWithSave-DkVYQ7W8.js";
|
|
15
|
-
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
16
|
-
import "../../index-rKuIKazb.js";
|
|
17
|
-
import "../../components/MetroTag/ui/MetroTag.js";
|
|
18
|
-
import "../../components/Select/ui/Select.js";
|
|
19
|
-
import "../../components/SliderNavigation/ui/SliderNavigation.js";
|
|
20
|
-
import "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
21
|
-
import "../../components/TabSelect/ui/TabSelect.js";
|
|
22
|
-
import "../../components/CheckBox/CheckBox.js";
|
|
23
|
-
import "../../components/CheckBoxNew/CheckBoxNew.js";
|
|
24
|
-
import "../../components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
25
|
-
const m = {}, b = () => /* @__PURE__ */ r("div", { className: m.root, children: /* @__PURE__ */ r("div", { children: /* @__PURE__ */ i("form", { children: [
|
|
26
|
-
/* @__PURE__ */ r(t, {}),
|
|
27
|
-
/* @__PURE__ */ r(t, { variant: "dark", error: !0 }),
|
|
28
|
-
/* @__PURE__ */ r(t, { size_s: "medium", size_m: "large" }),
|
|
29
|
-
/* @__PURE__ */ r(t, { variant: "gray", name: "email" }),
|
|
30
|
-
/* @__PURE__ */ r(t, { variant: "transparent", name: "email" }),
|
|
31
|
-
/* @__PURE__ */ r(t, { isPhoneIMask: !0, variant: "transparent", name: "imask" })
|
|
1
|
+
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
2
|
+
import { Input as a } from "../../components/Input/ui/Input.js";
|
|
3
|
+
const n = {}, s = () => /* @__PURE__ */ r("div", { className: n.root, children: /* @__PURE__ */ r("div", { children: /* @__PURE__ */ e("form", { children: [
|
|
4
|
+
/* @__PURE__ */ r(a, {}),
|
|
5
|
+
/* @__PURE__ */ r(a, { variant: "dark", error: !0 }),
|
|
6
|
+
/* @__PURE__ */ r(a, { size_s: "medium", size_m: "large" }),
|
|
7
|
+
/* @__PURE__ */ r(a, { variant: "gray", name: "email" }),
|
|
8
|
+
/* @__PURE__ */ r(a, { variant: "transparent", name: "email" }),
|
|
9
|
+
/* @__PURE__ */ r(a, { isPhoneIMask: !0, variant: "transparent", name: "imask" })
|
|
32
10
|
] }) }) });
|
|
33
11
|
export {
|
|
34
|
-
|
|
12
|
+
s as InputPage
|
|
35
13
|
};
|
|
@@ -1,38 +1,16 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import "../../components/
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import "react-dom";
|
|
14
|
-
import "../../FilterWithSave-DkVYQ7W8.js";
|
|
15
|
-
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
16
|
-
import { Logo as r } from "../../components/Logo/ui/Logo.js";
|
|
17
|
-
import "../../components/MetroTag/ui/MetroTag.js";
|
|
18
|
-
import "../../components/Select/ui/Select.js";
|
|
19
|
-
import "../../components/SliderNavigation/ui/SliderNavigation.js";
|
|
20
|
-
import "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
21
|
-
import "../../components/TabSelect/ui/TabSelect.js";
|
|
22
|
-
import "../../components/CheckBox/CheckBox.js";
|
|
23
|
-
import "../../components/CheckBoxNew/CheckBoxNew.js";
|
|
24
|
-
import "../../components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
25
|
-
const i = "_root_6bj02_1", m = {
|
|
26
|
-
root: i
|
|
27
|
-
}, q = () => /* @__PURE__ */ t("div", { className: m.root, children: [
|
|
28
|
-
/* @__PURE__ */ o(r, { variant: "black" }),
|
|
29
|
-
/* @__PURE__ */ o(r, { variant: "white" }),
|
|
30
|
-
/* @__PURE__ */ o(r, { variant: "value" }),
|
|
31
|
-
/* @__PURE__ */ o(r, { variant: "office" }),
|
|
32
|
-
/* @__PURE__ */ o(r, { variant: "dom" }),
|
|
33
|
-
/* @__PURE__ */ o(r, { variant: "newOffice" }),
|
|
34
|
-
/* @__PURE__ */ o(r, { variant: "realty" })
|
|
1
|
+
import { jsxs as r, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Logo as a } from "../../components/Logo/ui/Logo.js";
|
|
3
|
+
const t = "_root_6bj02_1", i = {
|
|
4
|
+
root: t
|
|
5
|
+
}, s = () => /* @__PURE__ */ r("div", { className: i.root, children: [
|
|
6
|
+
/* @__PURE__ */ o(a, { variant: "black" }),
|
|
7
|
+
/* @__PURE__ */ o(a, { variant: "white" }),
|
|
8
|
+
/* @__PURE__ */ o(a, { variant: "value" }),
|
|
9
|
+
/* @__PURE__ */ o(a, { variant: "office" }),
|
|
10
|
+
/* @__PURE__ */ o(a, { variant: "dom" }),
|
|
11
|
+
/* @__PURE__ */ o(a, { variant: "newOffice" }),
|
|
12
|
+
/* @__PURE__ */ o(a, { variant: "realty" })
|
|
35
13
|
] });
|
|
36
14
|
export {
|
|
37
|
-
|
|
15
|
+
s as LogoPage
|
|
38
16
|
};
|
|
@@ -1,55 +1,56 @@
|
|
|
1
1
|
import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { testLot as r, testLotEmpty as l } from "./const.js";
|
|
4
|
+
import { CommercialLotCard as p } from "../../components/CommercialLotCard/CommercialLotCard.js";
|
|
5
|
+
import { LotCard as e } from "../../components/LotCard/ui/LotCard.js";
|
|
6
|
+
import { LotCardSkeleton as m } from "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
7
|
+
import { ProjectCardSkeleton as d } from "../../components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js";
|
|
7
8
|
const h = "_root_1w9fc_1", f = "_lotWrapper_1w9fc_8", _ = "_optionsWrapper_1w9fc_14", F = "_isFetching_1w9fc_20", s = {
|
|
8
9
|
root: h,
|
|
9
10
|
lotWrapper: f,
|
|
10
11
|
optionsWrapper: _,
|
|
11
12
|
isFetching: F
|
|
12
|
-
},
|
|
13
|
-
const [o, a] = c(!1), n = JSON.parse(JSON.stringify(
|
|
13
|
+
}, N = () => {
|
|
14
|
+
const [o, a] = c(!1), n = JSON.parse(JSON.stringify(r));
|
|
14
15
|
return n.status = 2, /* @__PURE__ */ t("div", { className: s.root, children: /* @__PURE__ */ i("div", { className: s.lotWrapper, children: [
|
|
15
16
|
/* @__PURE__ */ t(p, { lot: n, isVertical: !0 }),
|
|
16
17
|
!o && /* @__PURE__ */ t(
|
|
17
|
-
|
|
18
|
+
e,
|
|
18
19
|
{
|
|
19
|
-
lot:
|
|
20
|
+
lot: r,
|
|
20
21
|
handleBtnForm: () => {
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
),
|
|
24
25
|
!o && /* @__PURE__ */ t(
|
|
25
|
-
|
|
26
|
+
e,
|
|
26
27
|
{
|
|
27
|
-
lot:
|
|
28
|
+
lot: r,
|
|
28
29
|
handleBtnForm: () => {
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
),
|
|
32
33
|
!o && /* @__PURE__ */ t(
|
|
33
|
-
|
|
34
|
+
e,
|
|
34
35
|
{
|
|
35
|
-
lot:
|
|
36
|
+
lot: l,
|
|
36
37
|
handleBtnForm: () => {
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
),
|
|
40
41
|
/* @__PURE__ */ i("div", { style: { display: "flex", flexWrap: "wrap" }, children: [
|
|
41
42
|
!o && /* @__PURE__ */ t(
|
|
42
|
-
|
|
43
|
+
e,
|
|
43
44
|
{
|
|
44
|
-
lot:
|
|
45
|
+
lot: r,
|
|
45
46
|
rowConditions: !1,
|
|
46
47
|
handleBtnForm: () => {
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
),
|
|
50
|
-
/* @__PURE__ */ t(
|
|
51
|
+
/* @__PURE__ */ t(m, { isProjectCard: !0 })
|
|
51
52
|
] }),
|
|
52
|
-
/* @__PURE__ */ t(
|
|
53
|
+
/* @__PURE__ */ t(d, {}),
|
|
53
54
|
/* @__PURE__ */ t("div", { className: s.optionsWrapper, children: /* @__PURE__ */ i("label", { className: s.isFetching, children: [
|
|
54
55
|
"isFetching",
|
|
55
56
|
/* @__PURE__ */ t(
|
|
@@ -63,5 +64,5 @@ const h = "_root_1w9fc_1", f = "_lotWrapper_1w9fc_8", _ = "_optionsWrapper_1w9fc
|
|
|
63
64
|
] }) });
|
|
64
65
|
};
|
|
65
66
|
export {
|
|
66
|
-
|
|
67
|
+
N as LotsPage
|
|
67
68
|
};
|