stone-kit 0.0.887 → 0.0.889
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 +10 -0
- package/dist/ButtonState.module-DtW3aevR.js +8 -0
- package/dist/FilterWithSave-Bp6rH8Pe.js +2230 -0
- package/dist/Menu-CgCfinVZ.js +513 -0
- package/dist/Option-BVIm7wOW.js +83 -0
- package/dist/PinTrans-D6OZq76b.js +10 -0
- package/dist/Router.js +103 -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.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.d.ts +163 -70
- 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 +319 -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-DQgqDqGf.js +34046 -0
- package/dist/index-DmANy9jd.js +890 -0
- package/dist/index-rKuIKazb.js +45 -0
- package/dist/layout/Layout.js +11 -0
- package/dist/layout/components/Header/Header.js +164 -0
- package/dist/layout/components/Menu.js +28 -0
- package/dist/main.js +62 -7727
- package/dist/pages/ButtonsPage/ButtonState/ButtonState.js +121 -0
- package/dist/pages/ButtonsPage/Buttons.js +134 -0
- package/dist/pages/CheckboxPage/CheckboxPage.js +224 -0
- package/dist/pages/FormsPage/FormsPage.js +81 -0
- package/dist/pages/HomePage/HomePage.js +7 -0
- package/dist/pages/IconsPage/IconsPage.js +41 -0
- package/dist/pages/InputPage/InputPage.js +35 -0
- package/dist/pages/LogoPage/LogoPage.js +38 -0
- package/dist/pages/LotsPage/LotsPage.js +75 -0
- package/dist/pages/LotsPage/const.d.ts +4 -0
- package/dist/pages/LotsPage/const.js +210 -0
- package/dist/pages/ModalsPage/ModalPage.js +130 -0
- package/dist/pages/SelectPage/SelectPage.js +175 -0
- package/dist/pages/SelectPage/const.js +35 -0
- package/dist/pages/TabsPage/TabsPage.js +155 -0
- package/dist/pages/TagsPage/TagsPage.js +75 -0
- package/dist/shared/checkLargeOffice.js +12 -0
- package/dist/shared/deepEqual.js +16 -0
- package/dist/shared/useClientWidth.js +14 -0
- package/dist/stories/Button.js +23 -0
- package/dist/stories/Button.stories.js +50 -0
- package/dist/stories/Header.js +44 -0
- package/dist/stories/Header.stories.js +28 -0
- package/dist/stories/Page.js +58 -0
- package/dist/stories/Page.stories.js +22 -0
- package/dist/style.css +1 -1
- package/dist/useSortSelect-CjZXLFOG.js +80 -0
- package/package.json +1 -2
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsxs as t, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import "../../components/Button/ui/Button.js";
|
|
3
|
+
import "../../components/mobileButton/ui/MobileButton.js";
|
|
4
|
+
import "../../components/NewIcon/ui/NewIcon.js";
|
|
5
|
+
import "../../components/DestinationTab/ui/DestinationTab.js";
|
|
6
|
+
import "../../components/RoundButton/ui/RoundButton.js";
|
|
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-Bp6rH8Pe.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" })
|
|
35
|
+
] });
|
|
36
|
+
export {
|
|
37
|
+
q as LogoPage
|
|
38
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { useState as c } from "react";
|
|
3
|
+
import { LotCardSkeleton as i } from "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
4
|
+
import { L as e } from "../../FilterWithSave-Bp6rH8Pe.js";
|
|
5
|
+
import { ProjectCardSkeleton as p } from "../../components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js";
|
|
6
|
+
import { testLot as r } from "./const.js";
|
|
7
|
+
const m = "_root_1w9fc_1", d = "_lotWrapper_1w9fc_8", h = "_optionsWrapper_1w9fc_14", f = "_isFetching_1w9fc_20", s = {
|
|
8
|
+
root: m,
|
|
9
|
+
lotWrapper: d,
|
|
10
|
+
optionsWrapper: h,
|
|
11
|
+
isFetching: f
|
|
12
|
+
}, C = () => {
|
|
13
|
+
const [o, a] = c(!1), l = JSON.parse(JSON.stringify(r));
|
|
14
|
+
return l.status = 2, /* @__PURE__ */ t("div", { className: s.root, children: /* @__PURE__ */ n("div", { className: s.lotWrapper, children: [
|
|
15
|
+
/* @__PURE__ */ t(i, {}),
|
|
16
|
+
!o && /* @__PURE__ */ t(
|
|
17
|
+
e,
|
|
18
|
+
{
|
|
19
|
+
lot: r,
|
|
20
|
+
handleBtnForm: () => {
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
),
|
|
24
|
+
!o && /* @__PURE__ */ t(
|
|
25
|
+
e,
|
|
26
|
+
{
|
|
27
|
+
lot: r,
|
|
28
|
+
handleBtnForm: () => {
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
),
|
|
32
|
+
!o && /* @__PURE__ */ t(
|
|
33
|
+
e,
|
|
34
|
+
{
|
|
35
|
+
lot: r,
|
|
36
|
+
handleBtnForm: () => {
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
!o && /* @__PURE__ */ t(
|
|
41
|
+
e,
|
|
42
|
+
{
|
|
43
|
+
lot: r,
|
|
44
|
+
handleBtnForm: () => {
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
/* @__PURE__ */ n("div", { style: { display: "flex", flexWrap: "wrap" }, children: [
|
|
49
|
+
!o && /* @__PURE__ */ t(
|
|
50
|
+
e,
|
|
51
|
+
{
|
|
52
|
+
lot: r,
|
|
53
|
+
rowConditions: !1,
|
|
54
|
+
handleBtnForm: () => {
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
/* @__PURE__ */ t(i, { isProjectCard: !0 })
|
|
59
|
+
] }),
|
|
60
|
+
/* @__PURE__ */ t(p, {}),
|
|
61
|
+
/* @__PURE__ */ t("div", { className: s.optionsWrapper, children: /* @__PURE__ */ n("label", { className: s.isFetching, children: [
|
|
62
|
+
"isFetching",
|
|
63
|
+
/* @__PURE__ */ t(
|
|
64
|
+
"input",
|
|
65
|
+
{
|
|
66
|
+
type: "checkbox",
|
|
67
|
+
onClick: () => a(!o)
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
] }) })
|
|
71
|
+
] }) });
|
|
72
|
+
};
|
|
73
|
+
export {
|
|
74
|
+
C as LotsPage
|
|
75
|
+
};
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
address: "Москва, Ходынский бульвар, 20А стр. 1.,СБашня G3",
|
|
3
|
+
area: "65.60",
|
|
4
|
+
availableFrom: null,
|
|
5
|
+
azimuthAngle: 349,
|
|
6
|
+
balcony: null,
|
|
7
|
+
bathroomWithWindow: !1,
|
|
8
|
+
bedroomsCount: 0,
|
|
9
|
+
beginFloor: 15,
|
|
10
|
+
buildStage: null,
|
|
11
|
+
businessType: null,
|
|
12
|
+
cardinalDirections: null,
|
|
13
|
+
ceiling: "3.65",
|
|
14
|
+
combinedWcsCount: null,
|
|
15
|
+
condition: null,
|
|
16
|
+
direction: 1,
|
|
17
|
+
discount: "5.00",
|
|
18
|
+
discountVolume: null,
|
|
19
|
+
discountedPrice: null,
|
|
20
|
+
doorNumber: "G3-1504",
|
|
21
|
+
dressingRoom: !1,
|
|
22
|
+
endFloor: 15,
|
|
23
|
+
entrance: null,
|
|
24
|
+
features: [{
|
|
25
|
+
category: "advantages",
|
|
26
|
+
icoImg: null,
|
|
27
|
+
isSearchable: !1,
|
|
28
|
+
slug: "Вид на Башню Н1",
|
|
29
|
+
val: "Вид на Башню Н1"
|
|
30
|
+
}, {
|
|
31
|
+
category: "advantages",
|
|
32
|
+
icoImg: "https://166ba6ce-eee2-43f1-87a4-b80ece869977.selcdn.net/sp/floor.svg",
|
|
33
|
+
slug: "floor",
|
|
34
|
+
val: "Этаж 15 из 19"
|
|
35
|
+
}],
|
|
36
|
+
firstPaymentSum: null,
|
|
37
|
+
floor: 15,
|
|
38
|
+
floorPlanImg: "https://166ba6ce-eee2-43f1-87a4-b80ece869977.selcdn.net/customFields/ObjectModels/ObjectModel15072/550edf73.png",
|
|
39
|
+
floorsNumber: 19,
|
|
40
|
+
handoverKeys: null,
|
|
41
|
+
housing: "Башня G3",
|
|
42
|
+
id: 2965,
|
|
43
|
+
inputType: null,
|
|
44
|
+
interiorPlanImg: null,
|
|
45
|
+
isApart: !1,
|
|
46
|
+
isCatering: !1,
|
|
47
|
+
isCloseToLift: !1,
|
|
48
|
+
isCorner: !1,
|
|
49
|
+
isDecoration: !1,
|
|
50
|
+
isDetachedBuilding: !1,
|
|
51
|
+
isDoubleLevel: !1,
|
|
52
|
+
isFacing: !1,
|
|
53
|
+
isGab: !1,
|
|
54
|
+
isGarbageTube: !1,
|
|
55
|
+
isMortgage: !1,
|
|
56
|
+
isOccupied: !1,
|
|
57
|
+
isPenthouse: !1,
|
|
58
|
+
isPhone: !1,
|
|
59
|
+
isRamp: !1,
|
|
60
|
+
isWaterPipes: !1,
|
|
61
|
+
kitchenArea: null,
|
|
62
|
+
layout: null,
|
|
63
|
+
liftPassenger: null,
|
|
64
|
+
liftService: null,
|
|
65
|
+
livingArea: null,
|
|
66
|
+
loggia: null,
|
|
67
|
+
lotUuid: "486069da-ea8e-11ee-8383-005056b5170a",
|
|
68
|
+
masterBedroom: !1,
|
|
69
|
+
number: "G3-1504",
|
|
70
|
+
objectId: "SH-G3-1504",
|
|
71
|
+
pdfPresentation: null,
|
|
72
|
+
project: {
|
|
73
|
+
address: "Ходынский бульвар, 20а/2",
|
|
74
|
+
bigLotFeatures: {
|
|
75
|
+
category: "finance",
|
|
76
|
+
icoImg: {
|
|
77
|
+
id: 1870,
|
|
78
|
+
attributes: {
|
|
79
|
+
alternativeText: null,
|
|
80
|
+
caption: null,
|
|
81
|
+
createdAt: "2024-09-04T07:24:23.722Z",
|
|
82
|
+
ext: ".svg",
|
|
83
|
+
formats: null,
|
|
84
|
+
hash: "Calculator_d076a4e307",
|
|
85
|
+
height: 12,
|
|
86
|
+
mime: "image/svg+xml",
|
|
87
|
+
name: "Calculator.svg",
|
|
88
|
+
previewUrl: null,
|
|
89
|
+
provider: "local",
|
|
90
|
+
publishedAt: "2025-05-13T14:09:55.082Z",
|
|
91
|
+
size: 1.42,
|
|
92
|
+
updatedAt: "2024-09-04T07:24:23.722Z",
|
|
93
|
+
url: "/uploads/Calculator_d076a4e307.svg"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
slug: "pervyj-vznos-10-1",
|
|
97
|
+
val: "Первый взнос 10%"
|
|
98
|
+
},
|
|
99
|
+
buildingYear: 2028,
|
|
100
|
+
catalogFeatures: [{
|
|
101
|
+
category: "header",
|
|
102
|
+
icoImg: null,
|
|
103
|
+
slug: "gotovnost-2028",
|
|
104
|
+
val: "Готовность: 2028 г."
|
|
105
|
+
}],
|
|
106
|
+
createdAt: "2024-03-15T12:31:32.000000Z",
|
|
107
|
+
direction: 1,
|
|
108
|
+
discount: "5.00",
|
|
109
|
+
features: [{
|
|
110
|
+
category: "directionPage",
|
|
111
|
+
icoImg: null,
|
|
112
|
+
slug: "ofisy-i-ritejl-ot-27-6-mln-1",
|
|
113
|
+
val: "Офисы от 36 млн ₽"
|
|
114
|
+
}, {
|
|
115
|
+
category: "directionPage",
|
|
116
|
+
icoImg: null,
|
|
117
|
+
slug: "ot-375-tys-m",
|
|
118
|
+
val: "От 300 тыс. ₽/м² "
|
|
119
|
+
}],
|
|
120
|
+
frontFeatures: null,
|
|
121
|
+
geo: {
|
|
122
|
+
lat: "55.789043",
|
|
123
|
+
long: "37.526521"
|
|
124
|
+
},
|
|
125
|
+
id: 7,
|
|
126
|
+
logoImg: null,
|
|
127
|
+
lotsCount: 121,
|
|
128
|
+
metro: [{
|
|
129
|
+
color: "#29B1A6",
|
|
130
|
+
icon: null,
|
|
131
|
+
mode: null,
|
|
132
|
+
name: "ЦСКА",
|
|
133
|
+
station: "ЦСКА",
|
|
134
|
+
timeTo: 5
|
|
135
|
+
}],
|
|
136
|
+
minimalLotPrice: {
|
|
137
|
+
1: "37949600",
|
|
138
|
+
3: "46994400",
|
|
139
|
+
8: "1317492000",
|
|
140
|
+
11: "4983842500"
|
|
141
|
+
},
|
|
142
|
+
name: "STONE Ходынка 2",
|
|
143
|
+
retailLotsCount: {
|
|
144
|
+
3: 12,
|
|
145
|
+
14: 1,
|
|
146
|
+
21: 25
|
|
147
|
+
},
|
|
148
|
+
salesOffice: {
|
|
149
|
+
metro: [{
|
|
150
|
+
color: "#0a6f20",
|
|
151
|
+
id: 16,
|
|
152
|
+
name: "Белорусская",
|
|
153
|
+
station: "Белорусская",
|
|
154
|
+
timeTo: 12
|
|
155
|
+
}, {
|
|
156
|
+
color: "#a2a5b4",
|
|
157
|
+
id: 18,
|
|
158
|
+
name: "Савеловская",
|
|
159
|
+
station: "Савеловская"
|
|
160
|
+
}],
|
|
161
|
+
address: "Бумажный проезд, вл. 19, стр. 1"
|
|
162
|
+
},
|
|
163
|
+
shortDesc: "STONE Ходынка 2 расположен в шаговой доступности от метро «ЦСКА» и состоит из трех разноэтажных башен, объединенных торговой галереей. В основе концепции проекта — принцип «отдыхать, работать, жить», который выражается в создании мест для отдыха и творчества. В реализации — полная линейка предложений от 71 кв. м для инвестиций до офисных этажей для размещения собственного бизнеса.",
|
|
164
|
+
showCatalog: !0,
|
|
165
|
+
showDetailPage: !0,
|
|
166
|
+
showPdfBtn: !1,
|
|
167
|
+
showPriceFlg: !0,
|
|
168
|
+
sitPlanImg: "https://dev.cms.stonehedgecompany.com/uploads/SH_2_na_portal_6b9abb4d8d.jpg",
|
|
169
|
+
sort: null,
|
|
170
|
+
sortOffice: 4,
|
|
171
|
+
sortRetail: 1e3,
|
|
172
|
+
status: "start-prodazh",
|
|
173
|
+
strapiSlug: "hodinka2",
|
|
174
|
+
updatedAt: "2025-08-18T08:00:01.000000Z"
|
|
175
|
+
},
|
|
176
|
+
projectId: 7,
|
|
177
|
+
projectUuid: "cc069c90-77c4-11ee-8352-005056a1be4c",
|
|
178
|
+
promo: null,
|
|
179
|
+
rentPricePerMeterPerYear: "0.00",
|
|
180
|
+
rentPricePerMonth: "0.00",
|
|
181
|
+
rentStatus: 1,
|
|
182
|
+
repairType: null,
|
|
183
|
+
reservations: [],
|
|
184
|
+
roomsCount: 0,
|
|
185
|
+
saleFloorMax: null,
|
|
186
|
+
saleFloorMin: null,
|
|
187
|
+
section: null,
|
|
188
|
+
sellingPrice: "2339074640",
|
|
189
|
+
sellingPriceBeforeDiscount: "41131200",
|
|
190
|
+
showPriceFlg: !0,
|
|
191
|
+
showcaseWindows: null,
|
|
192
|
+
sitPlanImg: "https://166ba6ce-eee2-43f1-87a4-b80ece869977.selcdn.net/cache/Housings/Housing85/fff901f783-1_1200x735.jpg",
|
|
193
|
+
slug: "g3-1504",
|
|
194
|
+
speciality: null,
|
|
195
|
+
status: 1,
|
|
196
|
+
subType: null,
|
|
197
|
+
subTypeName: "Офис",
|
|
198
|
+
termsOfPurchase: null,
|
|
199
|
+
terrace: !1,
|
|
200
|
+
type: 1,
|
|
201
|
+
typeName: "Офис",
|
|
202
|
+
typeSizeCode: null,
|
|
203
|
+
windowView: "-",
|
|
204
|
+
windowViews: [],
|
|
205
|
+
workPlacesCount: 9,
|
|
206
|
+
workroom: !1
|
|
207
|
+
};
|
|
208
|
+
export {
|
|
209
|
+
e as testLot
|
|
210
|
+
};
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as e } from "react";
|
|
3
|
+
import { Button as r } from "../../components/Button/ui/Button.js";
|
|
4
|
+
import "../../components/mobileButton/ui/MobileButton.js";
|
|
5
|
+
import "../../components/NewIcon/ui/NewIcon.js";
|
|
6
|
+
import "../../components/DestinationTab/ui/DestinationTab.js";
|
|
7
|
+
import "../../components/RoundButton/ui/RoundButton.js";
|
|
8
|
+
import "../../components/Tag/ui/Tag.js";
|
|
9
|
+
import "../../components/Switcher/ui/Switcher.js";
|
|
10
|
+
import "../../components/Text/ui/Text.js";
|
|
11
|
+
import "../../components/Flex/ui/Flex.js";
|
|
12
|
+
import "../../components/Input/ui/Input.js";
|
|
13
|
+
import { Modal as m } from "../../components/Modal/ui/Modal.js";
|
|
14
|
+
import "../../FilterWithSave-Bp6rH8Pe.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 p = {}, z = () => {
|
|
26
|
+
const [s, n] = e(!1), [c, i] = e(!1);
|
|
27
|
+
return /* @__PURE__ */ l("div", { className: p.root, children: [
|
|
28
|
+
/* @__PURE__ */ t(
|
|
29
|
+
r,
|
|
30
|
+
{
|
|
31
|
+
as: "button",
|
|
32
|
+
onClick: () => n((o) => !o),
|
|
33
|
+
children: "Каскад модалок"
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
/* @__PURE__ */ t(
|
|
37
|
+
m,
|
|
38
|
+
{
|
|
39
|
+
isOpen: s,
|
|
40
|
+
emitIsOpen: () => n((o) => !o),
|
|
41
|
+
isTransparentBack: !0,
|
|
42
|
+
children: /* @__PURE__ */ t(
|
|
43
|
+
r,
|
|
44
|
+
{
|
|
45
|
+
as: "button",
|
|
46
|
+
onClick: () => i((o) => !o),
|
|
47
|
+
children: "вайди"
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
/* @__PURE__ */ l(
|
|
53
|
+
m,
|
|
54
|
+
{
|
|
55
|
+
isOpen: c,
|
|
56
|
+
emitIsOpen: () => i((o) => !o),
|
|
57
|
+
leaveDisableScroll: !0,
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ t(
|
|
60
|
+
r,
|
|
61
|
+
{
|
|
62
|
+
as: "button",
|
|
63
|
+
onClick: () => i((o) => !o),
|
|
64
|
+
children: "выйди"
|
|
65
|
+
}
|
|
66
|
+
),
|
|
67
|
+
/* @__PURE__ */ t(
|
|
68
|
+
r,
|
|
69
|
+
{
|
|
70
|
+
as: "button",
|
|
71
|
+
onClick: () => i((o) => !o),
|
|
72
|
+
children: "выйди"
|
|
73
|
+
}
|
|
74
|
+
),
|
|
75
|
+
/* @__PURE__ */ t(
|
|
76
|
+
r,
|
|
77
|
+
{
|
|
78
|
+
as: "button",
|
|
79
|
+
onClick: () => i((o) => !o),
|
|
80
|
+
children: "выйди"
|
|
81
|
+
}
|
|
82
|
+
),
|
|
83
|
+
/* @__PURE__ */ t(
|
|
84
|
+
r,
|
|
85
|
+
{
|
|
86
|
+
as: "button",
|
|
87
|
+
onClick: () => i((o) => !o),
|
|
88
|
+
children: "выйди"
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
/* @__PURE__ */ t(
|
|
92
|
+
r,
|
|
93
|
+
{
|
|
94
|
+
as: "button",
|
|
95
|
+
onClick: () => i((o) => !o),
|
|
96
|
+
children: "выйди"
|
|
97
|
+
}
|
|
98
|
+
),
|
|
99
|
+
/* @__PURE__ */ t(
|
|
100
|
+
r,
|
|
101
|
+
{
|
|
102
|
+
as: "button",
|
|
103
|
+
onClick: () => i((o) => !o),
|
|
104
|
+
children: "выйди"
|
|
105
|
+
}
|
|
106
|
+
),
|
|
107
|
+
/* @__PURE__ */ t(
|
|
108
|
+
r,
|
|
109
|
+
{
|
|
110
|
+
as: "button",
|
|
111
|
+
onClick: () => i((o) => !o),
|
|
112
|
+
children: "выйди"
|
|
113
|
+
}
|
|
114
|
+
),
|
|
115
|
+
/* @__PURE__ */ t(
|
|
116
|
+
r,
|
|
117
|
+
{
|
|
118
|
+
as: "button",
|
|
119
|
+
onClick: () => i((o) => !o),
|
|
120
|
+
children: "выйди"
|
|
121
|
+
}
|
|
122
|
+
)
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
)
|
|
126
|
+
] });
|
|
127
|
+
};
|
|
128
|
+
export {
|
|
129
|
+
z as default
|
|
130
|
+
};
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as r } from "react";
|
|
3
|
+
import { SummarySelect as f } from "../../components/SummarySelect/ui/SummarySelect.js";
|
|
4
|
+
import { F as m, a as b } from "../../FilterWithSave-Bp6rH8Pe.js";
|
|
5
|
+
import { defaultOption as i, defaultCategory as a } from "./const.js";
|
|
6
|
+
import { CheckboxSelect as y } from "../../components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
7
|
+
import { CheckBox as k } from "../../components/CheckBox/CheckBox.js";
|
|
8
|
+
import { Switcher as u } from "../../components/Switcher/ui/Switcher.js";
|
|
9
|
+
import { Select as c } from "../../components/Select/ui/Select.js";
|
|
10
|
+
const V = "_sort_1szg2_1", _ = "_addClass_1szg2_6", x = "_filterWithSave_1szg2_14", n = {
|
|
11
|
+
sort: V,
|
|
12
|
+
addClass: _,
|
|
13
|
+
filterWithSave: x
|
|
14
|
+
}, O = () => {
|
|
15
|
+
const [g, p] = r(i[0]), [t, S] = r([]), [o, h] = r("options"), v = [
|
|
16
|
+
{ label: "sdfsdfsdf", setValue: () => {
|
|
17
|
+
}, isSelected: !1, disabled: !0 },
|
|
18
|
+
{ label: "sdfsdfsdf", setValue: () => {
|
|
19
|
+
}, isSelected: !0, disabled: !1 },
|
|
20
|
+
{ label: "sdfsdfsdf", setValue: () => {
|
|
21
|
+
}, isSelected: !1, disabled: !1 },
|
|
22
|
+
{ label: "sdfsdfsdf", setValue: () => {
|
|
23
|
+
}, isSelected: !0, disabled: !1 },
|
|
24
|
+
{ label: "sdfsdfsdf", setValue: () => {
|
|
25
|
+
}, isSelected: !0, disabled: !1 }
|
|
26
|
+
], C = (l) => {
|
|
27
|
+
!l || !l.target || p(l.target.value);
|
|
28
|
+
}, d = (l) => {
|
|
29
|
+
l && S(l);
|
|
30
|
+
};
|
|
31
|
+
return /* @__PURE__ */ s("div", { className: n.root, children: [
|
|
32
|
+
/* @__PURE__ */ s("div", { children: [
|
|
33
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
34
|
+
m,
|
|
35
|
+
{
|
|
36
|
+
onClick: () => console.log("filter"),
|
|
37
|
+
onSaveClick: () => console.log("save"),
|
|
38
|
+
onClearClick: () => console.log("clear"),
|
|
39
|
+
onTabClick: () => console.log("year"),
|
|
40
|
+
tabs: [
|
|
41
|
+
{ value: "dfsdf", state: !1 },
|
|
42
|
+
{ value: "dddddddd", state: !1 }
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
) }),
|
|
46
|
+
/* @__PURE__ */ s("div", { children: [
|
|
47
|
+
/* @__PURE__ */ e("h2", { children: " Селектор с чекбоксами" }),
|
|
48
|
+
/* @__PURE__ */ e(y, { checkboxes: v })
|
|
49
|
+
] }),
|
|
50
|
+
/* @__PURE__ */ s("div", { children: [
|
|
51
|
+
/* @__PURE__ */ e("h2", { children: "старый чекбокс" }),
|
|
52
|
+
/* @__PURE__ */ e(
|
|
53
|
+
k,
|
|
54
|
+
{
|
|
55
|
+
isChecked: !1,
|
|
56
|
+
emitIsChecked: () => {
|
|
57
|
+
console.log("check");
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
] }),
|
|
62
|
+
/* @__PURE__ */ s("div", { children: [
|
|
63
|
+
/* @__PURE__ */ e("h2", { children: " Фильтрация с сохранением" }),
|
|
64
|
+
/* @__PURE__ */ e("div", { className: n.filterWithSave, children: /* @__PURE__ */ e(m, {}) })
|
|
65
|
+
] }),
|
|
66
|
+
/* @__PURE__ */ e("h2", { children: "Сорт селект" }),
|
|
67
|
+
/* @__PURE__ */ e("div", { className: n.sort, children: /* @__PURE__ */ e(
|
|
68
|
+
b,
|
|
69
|
+
{
|
|
70
|
+
mini: !0,
|
|
71
|
+
selectedOption: g,
|
|
72
|
+
options: i,
|
|
73
|
+
onChange: (l) => C(l)
|
|
74
|
+
}
|
|
75
|
+
) })
|
|
76
|
+
] }),
|
|
77
|
+
/* @__PURE__ */ s("div", { className: n.summarySelect, children: [
|
|
78
|
+
/* @__PURE__ */ s("div", { style: { display: "flex", gap: "20px" }, children: [
|
|
79
|
+
/* @__PURE__ */ e("h2", { children: "SummarySelect" }),
|
|
80
|
+
/* @__PURE__ */ e(
|
|
81
|
+
u,
|
|
82
|
+
{
|
|
83
|
+
isActive: o === "category",
|
|
84
|
+
onClick: () => h(o === "options" ? "category" : "options"),
|
|
85
|
+
children: "mode category"
|
|
86
|
+
}
|
|
87
|
+
),
|
|
88
|
+
/* @__PURE__ */ e(
|
|
89
|
+
u,
|
|
90
|
+
{
|
|
91
|
+
isActive: o === "double",
|
|
92
|
+
onClick: () => h(o === "options" ? "double" : "options"),
|
|
93
|
+
children: "mode double"
|
|
94
|
+
}
|
|
95
|
+
)
|
|
96
|
+
] }),
|
|
97
|
+
/* @__PURE__ */ e(
|
|
98
|
+
f,
|
|
99
|
+
{
|
|
100
|
+
mode: o,
|
|
101
|
+
label: "Проект",
|
|
102
|
+
isShowReset: !0,
|
|
103
|
+
selectedValues: t,
|
|
104
|
+
options: o === "category" ? a : i,
|
|
105
|
+
onChange: (l) => d(l)
|
|
106
|
+
}
|
|
107
|
+
),
|
|
108
|
+
/* @__PURE__ */ e(
|
|
109
|
+
f,
|
|
110
|
+
{
|
|
111
|
+
mode: "single",
|
|
112
|
+
label: "Проект",
|
|
113
|
+
isShowReset: !0,
|
|
114
|
+
selectedValues: t,
|
|
115
|
+
options: i,
|
|
116
|
+
onChange: (l) => d(l)
|
|
117
|
+
}
|
|
118
|
+
)
|
|
119
|
+
] }),
|
|
120
|
+
/* @__PURE__ */ s("div", { children: [
|
|
121
|
+
/* @__PURE__ */ e("h2", { children: "Селект mode option" }),
|
|
122
|
+
/* @__PURE__ */ e(
|
|
123
|
+
c,
|
|
124
|
+
{
|
|
125
|
+
selectedValues: t,
|
|
126
|
+
options: a,
|
|
127
|
+
onChange: (l) => d(l)
|
|
128
|
+
}
|
|
129
|
+
)
|
|
130
|
+
] }),
|
|
131
|
+
/* @__PURE__ */ s("div", { children: [
|
|
132
|
+
/* @__PURE__ */ e("h2", { children: "Селект mode category" }),
|
|
133
|
+
/* @__PURE__ */ e(
|
|
134
|
+
c,
|
|
135
|
+
{
|
|
136
|
+
mode: "category",
|
|
137
|
+
selectedValues: t,
|
|
138
|
+
options: a,
|
|
139
|
+
onChange: (l) => d(l)
|
|
140
|
+
}
|
|
141
|
+
)
|
|
142
|
+
] }),
|
|
143
|
+
/* @__PURE__ */ s("div", { children: [
|
|
144
|
+
/* @__PURE__ */ e("h2", { children: "Селект mode double" }),
|
|
145
|
+
/* @__PURE__ */ e(
|
|
146
|
+
c,
|
|
147
|
+
{
|
|
148
|
+
selectedValues: t,
|
|
149
|
+
options: a,
|
|
150
|
+
mode: "double",
|
|
151
|
+
clickableOptions: ["Category1", "options1", "options3"],
|
|
152
|
+
onChange: (l) => d(l)
|
|
153
|
+
}
|
|
154
|
+
)
|
|
155
|
+
] }),
|
|
156
|
+
/* @__PURE__ */ s("div", { children: [
|
|
157
|
+
/* @__PURE__ */ e("h2", { children: "Селект кнопка" }),
|
|
158
|
+
/* @__PURE__ */ e("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ e(
|
|
159
|
+
c,
|
|
160
|
+
{
|
|
161
|
+
isBtn: !0,
|
|
162
|
+
size_s: "small",
|
|
163
|
+
size_l: "medium",
|
|
164
|
+
isListRight: !0,
|
|
165
|
+
selectedValues: t,
|
|
166
|
+
options: i,
|
|
167
|
+
onChange: (l) => d(l)
|
|
168
|
+
}
|
|
169
|
+
) })
|
|
170
|
+
] })
|
|
171
|
+
] });
|
|
172
|
+
};
|
|
173
|
+
export {
|
|
174
|
+
O as SelectPage
|
|
175
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const l = [
|
|
2
|
+
{ value: "option1", label: "Option 1" },
|
|
3
|
+
{ value: "option2", label: "Option 2" },
|
|
4
|
+
{ value: "option3", label: "Option 3" }
|
|
5
|
+
], e = [
|
|
6
|
+
{
|
|
7
|
+
value: "Category1",
|
|
8
|
+
label: "category1",
|
|
9
|
+
options: [
|
|
10
|
+
{ value: "options1", label: "label1" },
|
|
11
|
+
{ value: "options2", label: "label2" },
|
|
12
|
+
{ value: "options3", label: "label3" }
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
value: "Category2",
|
|
17
|
+
label: "category2",
|
|
18
|
+
options: [
|
|
19
|
+
{ value: "options4", label: "label4" },
|
|
20
|
+
{ value: "options5", label: "label5" },
|
|
21
|
+
{ value: "options6", label: "label6" }
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
value: "Category3",
|
|
26
|
+
label: "category3",
|
|
27
|
+
options: [
|
|
28
|
+
{ value: "options7", label: "label7" }
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
];
|
|
32
|
+
export {
|
|
33
|
+
e as defaultCategory,
|
|
34
|
+
l as defaultOption
|
|
35
|
+
};
|