stone-kit 0.0.874 → 0.0.875
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 +44 -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.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-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.d.ts +31 -3
- package/dist/main.js +64 -35
- 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 +78 -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 +542 -0
- package/dist/pages/ModalsPage/ModalPage.js +130 -0
- package/dist/pages/SelectPage/SelectPage.js +192 -0
- package/dist/pages/SelectPage/const.js +35 -0
- package/dist/pages/TabsPage/TabsPage.js +175 -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/style.css +1 -1
- package/dist/useSortSelect-CjZXLFOG.js +80 -0
- package/package.json +1 -1
|
@@ -0,0 +1,542 @@
|
|
|
1
|
+
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { useState as u } from "react";
|
|
3
|
+
import "../../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 "react-dom";
|
|
14
|
+
import { L as o } from "../../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 { LotCardSkeleton as s } from "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
21
|
+
import { ProjectCardSkeleton as m } from "../../components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js";
|
|
22
|
+
import "../../components/TabSelect/ui/TabSelect.js";
|
|
23
|
+
import "../../components/CheckBox/CheckBox.js";
|
|
24
|
+
import "../../components/CheckBoxNew/CheckBoxNew.js";
|
|
25
|
+
import "../../components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
26
|
+
const g = "_root_1w9fc_1", d = "_lotWrapper_1w9fc_8", f = "_optionsWrapper_1w9fc_14", h = "_isFetching_1w9fc_20", r = {
|
|
27
|
+
root: g,
|
|
28
|
+
lotWrapper: d,
|
|
29
|
+
optionsWrapper: f,
|
|
30
|
+
isFetching: h
|
|
31
|
+
}, z = () => {
|
|
32
|
+
const i = {
|
|
33
|
+
id: 1,
|
|
34
|
+
name: "Жилой Комплекс 'Северный'",
|
|
35
|
+
buildingQuarter: 3,
|
|
36
|
+
lotUuid: "abcd-efgh-ijkl-mnop",
|
|
37
|
+
projectUuid: "proj-1234",
|
|
38
|
+
sellingPrice: "5000000",
|
|
39
|
+
sellingPriceBeforeDiscount: "5400000",
|
|
40
|
+
showPriceFlg: !0,
|
|
41
|
+
sellingPricePerMeter: "200000",
|
|
42
|
+
rentPricePerMeterPerYear: "2400000",
|
|
43
|
+
rentPricePerMonth: "200000",
|
|
44
|
+
discount: "3.00",
|
|
45
|
+
discountVolume: null,
|
|
46
|
+
discountedPrice: null,
|
|
47
|
+
availableFrom: "2024-09-01",
|
|
48
|
+
handoverKeys: "2024-12-31",
|
|
49
|
+
status: 1,
|
|
50
|
+
rentStatus: 0,
|
|
51
|
+
number: "A-101",
|
|
52
|
+
address: "г. Москва, ул. Ленина, д. 10, кв. 101",
|
|
53
|
+
type: 3,
|
|
54
|
+
direction: 2,
|
|
55
|
+
entrance: "1",
|
|
56
|
+
doorNumber: "101",
|
|
57
|
+
area: "50",
|
|
58
|
+
kitchenArea: 10,
|
|
59
|
+
livingArea: 30,
|
|
60
|
+
floorsNumber: 25,
|
|
61
|
+
floor: 10,
|
|
62
|
+
ceiling: "2.7",
|
|
63
|
+
saleFloorMin: 1,
|
|
64
|
+
saleFloorMax: 25,
|
|
65
|
+
roomsCount: 2,
|
|
66
|
+
windowViews: ["Вид на ул. Костякова", "Вид на ЖК Symphony 34", "Вид на сквер", "Вид на город"],
|
|
67
|
+
bedroomsCount: 1,
|
|
68
|
+
housing: "Корпус 1",
|
|
69
|
+
section: "Секция А",
|
|
70
|
+
buildStage: 3,
|
|
71
|
+
isCorner: !0,
|
|
72
|
+
isCatering: !1,
|
|
73
|
+
isDetachedBuilding: !1,
|
|
74
|
+
isPhone: !0,
|
|
75
|
+
isMortgage: !0,
|
|
76
|
+
isGarbageTube: !1,
|
|
77
|
+
isApart: !1,
|
|
78
|
+
isDoubleLevel: !1,
|
|
79
|
+
isRamp: !1,
|
|
80
|
+
isCloseToLift: !0,
|
|
81
|
+
isOccupied: !1,
|
|
82
|
+
isGab: !1,
|
|
83
|
+
isFacing: !0,
|
|
84
|
+
terrace: !0,
|
|
85
|
+
isPenthouse: !0,
|
|
86
|
+
features: [
|
|
87
|
+
{
|
|
88
|
+
category: "Инфраструктура",
|
|
89
|
+
icoImg: { attributes: { url: "https://example.com/icon.png" } },
|
|
90
|
+
slug: "park",
|
|
91
|
+
val: "Рядом парк"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
liftPassenger: 2,
|
|
95
|
+
liftService: 1,
|
|
96
|
+
balcony: 1,
|
|
97
|
+
loggia: 0,
|
|
98
|
+
condition: "Новостройка",
|
|
99
|
+
inputType: "Отдельный",
|
|
100
|
+
decoration: "Чистовая",
|
|
101
|
+
layout: "Евро",
|
|
102
|
+
repairType: "Евроремонт",
|
|
103
|
+
waterPipesCount: [1, 2],
|
|
104
|
+
workPlacesCount: null,
|
|
105
|
+
combinedWcsCount: 1,
|
|
106
|
+
speciality: 1,
|
|
107
|
+
showcaseWindows: "Юг",
|
|
108
|
+
endFloor: null,
|
|
109
|
+
windowView: "Парк",
|
|
110
|
+
promo: [
|
|
111
|
+
{
|
|
112
|
+
val: "Скидка 10%",
|
|
113
|
+
slug: "discount",
|
|
114
|
+
category: "Акция",
|
|
115
|
+
icoImg: "https://example.com/promo-icon.png",
|
|
116
|
+
color: "#ff0000"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
promoText: "Скидка 10% на все лоты!",
|
|
120
|
+
interiorPlanImg: "https://ugra-news.ru/upload/medialibrary/4ba/eoi2i79bfunr3t8zvr12mbt0nupuhnnx/Foto-03.png",
|
|
121
|
+
floorPlanImg: "https://example.com/floor-plan.png",
|
|
122
|
+
sitPlanImg: "https://example.com/sit-plan.png",
|
|
123
|
+
createdAt: "2024-07-18",
|
|
124
|
+
updatedAt: "2024-07-18",
|
|
125
|
+
firstPaymentSum: "500000",
|
|
126
|
+
childLots: [
|
|
127
|
+
{
|
|
128
|
+
id: 101,
|
|
129
|
+
floor: 1,
|
|
130
|
+
floorPlanImg: "https://example.com/child-floor-plan.png"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
azimuthAngle: 45,
|
|
134
|
+
businessType: "Residential",
|
|
135
|
+
isDecoration: !1,
|
|
136
|
+
isWaterPipes: !0,
|
|
137
|
+
project: {
|
|
138
|
+
address: "г. Москва, ул. Ленина, д. 10",
|
|
139
|
+
buildingYear: 2024,
|
|
140
|
+
createdAt: "2022-01-01",
|
|
141
|
+
direction: 2,
|
|
142
|
+
features: [
|
|
143
|
+
{
|
|
144
|
+
category: "Благоустройство",
|
|
145
|
+
icoImg: { attributes: { url: "https://example.com/feature-icon.png" } },
|
|
146
|
+
slug: "landscaping",
|
|
147
|
+
val: "Озеленение"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
geo: {
|
|
151
|
+
lat: "55.7558",
|
|
152
|
+
lon: "37.6176"
|
|
153
|
+
},
|
|
154
|
+
id: 1,
|
|
155
|
+
logoImg: "https://example.com/logo.png",
|
|
156
|
+
metro: [
|
|
157
|
+
{
|
|
158
|
+
name: "Красные Ворота",
|
|
159
|
+
color: "Красная",
|
|
160
|
+
station: "Сокольническая линия",
|
|
161
|
+
timeTo: "10 минут пешком"
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
name: "Северный",
|
|
165
|
+
project: "Residential",
|
|
166
|
+
shortDesc: "Жилой комплекс Северный",
|
|
167
|
+
sitPlanImg: "https://example.com/project-sit-plan.png",
|
|
168
|
+
sort: 1,
|
|
169
|
+
sortOffice: null,
|
|
170
|
+
sortRetail: null,
|
|
171
|
+
updatedAt: "2024-07-18",
|
|
172
|
+
buildingQuarter: 3,
|
|
173
|
+
projectUuid: "proj-1234",
|
|
174
|
+
portalUuid: "portal-5678",
|
|
175
|
+
location: "г. Москва",
|
|
176
|
+
showPriceFlg: !0,
|
|
177
|
+
lotsCount: 100
|
|
178
|
+
},
|
|
179
|
+
reservations: ["res-001", "res-002"]
|
|
180
|
+
}, n = {
|
|
181
|
+
id: 1,
|
|
182
|
+
name: "Жилой Комплекс 'Северный'",
|
|
183
|
+
buildingQuarter: 3,
|
|
184
|
+
lotUuid: "abcd-efgh-ijkl-mnop",
|
|
185
|
+
projectUuid: "proj-1234",
|
|
186
|
+
sellingPrice: "5000000",
|
|
187
|
+
sellingPriceBeforeDiscount: "5400000",
|
|
188
|
+
showPriceFlg: !1,
|
|
189
|
+
sellingPricePerMeter: "200000",
|
|
190
|
+
rentPricePerMeterPerYear: "2400000",
|
|
191
|
+
rentPricePerMonth: "200000",
|
|
192
|
+
discount: "3.00",
|
|
193
|
+
discountVolume: null,
|
|
194
|
+
discountedPrice: null,
|
|
195
|
+
availableFrom: "2024-09-01",
|
|
196
|
+
handoverKeys: "2024-12-31",
|
|
197
|
+
status: 1,
|
|
198
|
+
rentStatus: 0,
|
|
199
|
+
number: "A-101",
|
|
200
|
+
address: "г. Москва, ул. Ленина, д. 10, кв. 101",
|
|
201
|
+
type: 1,
|
|
202
|
+
direction: 2,
|
|
203
|
+
entrance: "1",
|
|
204
|
+
doorNumber: "101",
|
|
205
|
+
area: "50",
|
|
206
|
+
kitchenArea: 10,
|
|
207
|
+
livingArea: 30,
|
|
208
|
+
floorsNumber: 25,
|
|
209
|
+
floor: 10,
|
|
210
|
+
ceiling: "2.7",
|
|
211
|
+
saleFloorMin: 1,
|
|
212
|
+
saleFloorMax: 25,
|
|
213
|
+
roomsCount: 2,
|
|
214
|
+
bedroomsCount: 1,
|
|
215
|
+
housing: "Корпус 1",
|
|
216
|
+
section: "Секция А",
|
|
217
|
+
buildStage: 3,
|
|
218
|
+
isCorner: !1,
|
|
219
|
+
isCatering: !1,
|
|
220
|
+
isDetachedBuilding: !1,
|
|
221
|
+
isPhone: !0,
|
|
222
|
+
isMortgage: !0,
|
|
223
|
+
isGarbageTube: !1,
|
|
224
|
+
isApart: !1,
|
|
225
|
+
isDoubleLevel: !1,
|
|
226
|
+
terrace: !0,
|
|
227
|
+
isRamp: !1,
|
|
228
|
+
isCloseToLift: !0,
|
|
229
|
+
isOccupied: !1,
|
|
230
|
+
isGab: !1,
|
|
231
|
+
isFacing: !0,
|
|
232
|
+
features: [
|
|
233
|
+
{
|
|
234
|
+
category: "Инфраструктура",
|
|
235
|
+
icoImg: { attributes: { url: "https://example.com/icon.png" } },
|
|
236
|
+
slug: "park",
|
|
237
|
+
val: "Рядом парк"
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
liftPassenger: 2,
|
|
241
|
+
liftService: 1,
|
|
242
|
+
balcony: 1,
|
|
243
|
+
projectId: 34,
|
|
244
|
+
loggia: 0,
|
|
245
|
+
condition: "Новостройка",
|
|
246
|
+
inputType: "Отдельный",
|
|
247
|
+
decoration: "Чистовая",
|
|
248
|
+
layout: "Евро",
|
|
249
|
+
repairType: "Евроремонт",
|
|
250
|
+
waterPipesCount: [1, 2],
|
|
251
|
+
workPlacesCount: null,
|
|
252
|
+
combinedWcsCount: 1,
|
|
253
|
+
speciality: 1,
|
|
254
|
+
showcaseWindows: "Юг",
|
|
255
|
+
endFloor: null,
|
|
256
|
+
windowView: "Парк",
|
|
257
|
+
promo: [
|
|
258
|
+
{
|
|
259
|
+
val: "Скидка 10%",
|
|
260
|
+
slug: "discount",
|
|
261
|
+
category: "Акция",
|
|
262
|
+
icoImg: "https://example.com/promo-icon.png",
|
|
263
|
+
color: "#ff0000"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
promoText: "Скидка 10% на все лоты!",
|
|
267
|
+
interiorPlanImg: "https://ugra-news.ru/upload/medialibrary/4ba/eoi2i79bfunr3t8zvr12mbt0nupuhnnx/Foto-03.png",
|
|
268
|
+
floorPlanImg: "https://example.com/floor-plan.png",
|
|
269
|
+
sitPlanImg: "https://example.com/sit-plan.png",
|
|
270
|
+
createdAt: "2024-07-18",
|
|
271
|
+
updatedAt: "2024-07-18",
|
|
272
|
+
firstPaymentSum: "500000",
|
|
273
|
+
childLots: [
|
|
274
|
+
{
|
|
275
|
+
id: 101,
|
|
276
|
+
floor: 1,
|
|
277
|
+
floorPlanImg: "https://example.com/child-floor-plan.png"
|
|
278
|
+
}
|
|
279
|
+
],
|
|
280
|
+
azimuthAngle: 45,
|
|
281
|
+
businessType: "Residential",
|
|
282
|
+
isDecoration: !1,
|
|
283
|
+
isWaterPipes: !0,
|
|
284
|
+
project: {
|
|
285
|
+
address: "г. Москва, ул. Ленина, д. 10",
|
|
286
|
+
buildingYear: 2024,
|
|
287
|
+
createdAt: "2022-01-01",
|
|
288
|
+
direction: 2,
|
|
289
|
+
features: [
|
|
290
|
+
{
|
|
291
|
+
category: "Благоустройство",
|
|
292
|
+
icoImg: { attributes: { url: "https://example.com/feature-icon.png" } },
|
|
293
|
+
slug: "landscaping",
|
|
294
|
+
val: "Озеленение"
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
geo: {
|
|
298
|
+
lat: "55.7558",
|
|
299
|
+
lon: "37.6176"
|
|
300
|
+
},
|
|
301
|
+
id: 1,
|
|
302
|
+
logoImg: "https://example.com/logo.png",
|
|
303
|
+
metro: [
|
|
304
|
+
{
|
|
305
|
+
name: "Красные Ворота",
|
|
306
|
+
color: "Красная",
|
|
307
|
+
station: "Сокольническая линия",
|
|
308
|
+
timeTo: "10 минут пешком"
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
name: "Северный",
|
|
312
|
+
project: "Residential",
|
|
313
|
+
shortDesc: "Жилой комплекс Северный",
|
|
314
|
+
sitPlanImg: "https://example.com/project-sit-plan.png",
|
|
315
|
+
sort: 1,
|
|
316
|
+
sortOffice: null,
|
|
317
|
+
sortRetail: null,
|
|
318
|
+
updatedAt: "2024-07-18",
|
|
319
|
+
buildingQuarter: 3,
|
|
320
|
+
projectUuid: "proj-1234",
|
|
321
|
+
portalUuid: "portal-5678",
|
|
322
|
+
location: "г. Москва",
|
|
323
|
+
showPriceFlg: !1,
|
|
324
|
+
lotsCount: 100
|
|
325
|
+
},
|
|
326
|
+
reservations: ["res-001", "res-002"]
|
|
327
|
+
}, c = {
|
|
328
|
+
id: 1,
|
|
329
|
+
name: "Жилой Комплекс 'Северный'",
|
|
330
|
+
buildingQuarter: 3,
|
|
331
|
+
lotUuid: "abcd-efgh-ijkl-mnop",
|
|
332
|
+
projectUuid: "proj-1234",
|
|
333
|
+
sellingPrice: "5000000",
|
|
334
|
+
sellingPriceBeforeDiscount: "5400000",
|
|
335
|
+
showPriceFlg: !0,
|
|
336
|
+
sellingPricePerMeter: "200000",
|
|
337
|
+
rentPricePerMeterPerYear: "2400000",
|
|
338
|
+
rentPricePerMonth: "200000",
|
|
339
|
+
discount: "3.00",
|
|
340
|
+
terrace: !0,
|
|
341
|
+
isPenthouse: !0,
|
|
342
|
+
discountVolume: null,
|
|
343
|
+
discountedPrice: null,
|
|
344
|
+
availableFrom: "2024-09-01",
|
|
345
|
+
handoverKeys: "2024-12-31",
|
|
346
|
+
status: 1,
|
|
347
|
+
rentStatus: 0,
|
|
348
|
+
number: "A-101",
|
|
349
|
+
address: "г. Москва, ул. Ленина, д. 10, кв. 101",
|
|
350
|
+
type: 1,
|
|
351
|
+
direction: 2,
|
|
352
|
+
entrance: "1",
|
|
353
|
+
doorNumber: "101",
|
|
354
|
+
area: "3050",
|
|
355
|
+
kitchenArea: 10,
|
|
356
|
+
livingArea: 30,
|
|
357
|
+
endFloor: 15,
|
|
358
|
+
floorsNumber: 25,
|
|
359
|
+
floor: 10,
|
|
360
|
+
ceiling: "2.7",
|
|
361
|
+
saleFloorMin: 1,
|
|
362
|
+
saleFloorMax: 25,
|
|
363
|
+
roomsCount: 2,
|
|
364
|
+
bedroomsCount: 1,
|
|
365
|
+
housing: "Корпус 1",
|
|
366
|
+
section: "Секция А",
|
|
367
|
+
buildStage: 3,
|
|
368
|
+
isCorner: !1,
|
|
369
|
+
isCatering: !1,
|
|
370
|
+
isDetachedBuilding: !1,
|
|
371
|
+
isPhone: !0,
|
|
372
|
+
isMortgage: !0,
|
|
373
|
+
isGarbageTube: !1,
|
|
374
|
+
isApart: !1,
|
|
375
|
+
isDoubleLevel: !1,
|
|
376
|
+
isRamp: !1,
|
|
377
|
+
isCloseToLift: !0,
|
|
378
|
+
isOccupied: !1,
|
|
379
|
+
isGab: !1,
|
|
380
|
+
isFacing: !0,
|
|
381
|
+
features: [
|
|
382
|
+
{
|
|
383
|
+
category: "Инфраструктура",
|
|
384
|
+
icoImg: { attributes: { url: "https://example.com/icon.png" } },
|
|
385
|
+
slug: "park",
|
|
386
|
+
val: "Рядом парк"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
category: null,
|
|
390
|
+
icoImg: null,
|
|
391
|
+
slug: "park",
|
|
392
|
+
val: "Этажи 15-17 (3 этажа)"
|
|
393
|
+
}
|
|
394
|
+
],
|
|
395
|
+
liftPassenger: 2,
|
|
396
|
+
liftService: 1,
|
|
397
|
+
balcony: 1,
|
|
398
|
+
loggia: 0,
|
|
399
|
+
condition: "Новостройка",
|
|
400
|
+
inputType: "Отдельный",
|
|
401
|
+
decoration: "Чистовая",
|
|
402
|
+
layout: "Евро",
|
|
403
|
+
repairType: "Евроремонт",
|
|
404
|
+
waterPipesCount: [1, 2],
|
|
405
|
+
workPlacesCount: null,
|
|
406
|
+
combinedWcsCount: 1,
|
|
407
|
+
speciality: 1,
|
|
408
|
+
showcaseWindows: "Юг",
|
|
409
|
+
windowView: "Парк",
|
|
410
|
+
promo: [
|
|
411
|
+
{
|
|
412
|
+
val: "Скидка 10%",
|
|
413
|
+
slug: "discount",
|
|
414
|
+
category: "Акция",
|
|
415
|
+
icoImg: "https://example.com/promo-icon.png",
|
|
416
|
+
color: "#ff0000"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
promoText: "Скидка 10% на все лоты!",
|
|
420
|
+
interiorPlanImg: "https://ugra-news.ru/upload/medialibrary/4ba/eoi2i79bfunr3t8zvr12mbt0nupuhnnx/Foto-03.png",
|
|
421
|
+
floorPlanImg: "https://example.com/floor-plan.png",
|
|
422
|
+
sitPlanImg: "https://example.com/sit-plan.png",
|
|
423
|
+
createdAt: "2024-07-18",
|
|
424
|
+
updatedAt: "2024-07-18",
|
|
425
|
+
firstPaymentSum: "500000",
|
|
426
|
+
childLots: [
|
|
427
|
+
{
|
|
428
|
+
id: 101,
|
|
429
|
+
floor: 1,
|
|
430
|
+
floorPlanImg: "https://example.com/child-floor-plan.png"
|
|
431
|
+
}
|
|
432
|
+
],
|
|
433
|
+
azimuthAngle: 45,
|
|
434
|
+
businessType: "Residential",
|
|
435
|
+
isDecoration: !1,
|
|
436
|
+
isWaterPipes: !0,
|
|
437
|
+
project: {
|
|
438
|
+
address: "г. Москва, ул. Ленина, д. 10",
|
|
439
|
+
buildingYear: 2024,
|
|
440
|
+
createdAt: "2022-01-01",
|
|
441
|
+
direction: 2,
|
|
442
|
+
features: [
|
|
443
|
+
{
|
|
444
|
+
category: "Благоустройство",
|
|
445
|
+
icoImg: { attributes: { url: "https://example.com/feature-icon.png" } },
|
|
446
|
+
slug: "landscaping",
|
|
447
|
+
val: "Озеленение"
|
|
448
|
+
}
|
|
449
|
+
],
|
|
450
|
+
geo: {
|
|
451
|
+
lat: "55.7558",
|
|
452
|
+
lon: "37.6176"
|
|
453
|
+
},
|
|
454
|
+
id: 1,
|
|
455
|
+
logoImg: "https://example.com/logo.png",
|
|
456
|
+
metro: [
|
|
457
|
+
{
|
|
458
|
+
name: "Красные Ворота",
|
|
459
|
+
color: "Красная",
|
|
460
|
+
station: "Сокольническая линия",
|
|
461
|
+
timeTo: "10 минут пешком"
|
|
462
|
+
}
|
|
463
|
+
],
|
|
464
|
+
name: "Северный",
|
|
465
|
+
project: "Residential",
|
|
466
|
+
shortDesc: "Жилой комплекс Северный",
|
|
467
|
+
sitPlanImg: "https://example.com/project-sit-plan.png",
|
|
468
|
+
sort: 1,
|
|
469
|
+
sortOffice: null,
|
|
470
|
+
sortRetail: null,
|
|
471
|
+
updatedAt: "2024-07-18",
|
|
472
|
+
buildingQuarter: 3,
|
|
473
|
+
projectUuid: "proj-1234",
|
|
474
|
+
portalUuid: "portal-5678",
|
|
475
|
+
location: "г. Москва",
|
|
476
|
+
showPriceFlg: !0,
|
|
477
|
+
lotsCount: 100
|
|
478
|
+
},
|
|
479
|
+
reservations: ["res-001", "res-002"]
|
|
480
|
+
}, [t, p] = u(!1), l = JSON.parse(JSON.stringify(i));
|
|
481
|
+
return l.status = 2, /* @__PURE__ */ e("div", { className: r.root, children: /* @__PURE__ */ a("div", { className: r.lotWrapper, children: [
|
|
482
|
+
/* @__PURE__ */ e(s, {}),
|
|
483
|
+
!t && /* @__PURE__ */ e(
|
|
484
|
+
o,
|
|
485
|
+
{
|
|
486
|
+
lot: i,
|
|
487
|
+
handleBtnForm: () => {
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
),
|
|
491
|
+
!t && /* @__PURE__ */ e(
|
|
492
|
+
o,
|
|
493
|
+
{
|
|
494
|
+
lot: l,
|
|
495
|
+
handleBtnForm: () => {
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
),
|
|
499
|
+
!t && /* @__PURE__ */ e(
|
|
500
|
+
o,
|
|
501
|
+
{
|
|
502
|
+
lot: c,
|
|
503
|
+
handleBtnForm: () => {
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
),
|
|
507
|
+
!t && /* @__PURE__ */ e(
|
|
508
|
+
o,
|
|
509
|
+
{
|
|
510
|
+
lot: n,
|
|
511
|
+
handleBtnForm: () => {
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
),
|
|
515
|
+
/* @__PURE__ */ a("div", { style: { display: "flex", flexWrap: "wrap" }, children: [
|
|
516
|
+
!t && /* @__PURE__ */ e(
|
|
517
|
+
o,
|
|
518
|
+
{
|
|
519
|
+
lot: i,
|
|
520
|
+
rowConditions: !1,
|
|
521
|
+
handleBtnForm: () => {
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
),
|
|
525
|
+
/* @__PURE__ */ e(s, { isProjectCard: !0 })
|
|
526
|
+
] }),
|
|
527
|
+
/* @__PURE__ */ e(m, {}),
|
|
528
|
+
/* @__PURE__ */ e("div", { className: r.optionsWrapper, children: /* @__PURE__ */ a("label", { className: r.isFetching, children: [
|
|
529
|
+
"isFetching",
|
|
530
|
+
/* @__PURE__ */ e(
|
|
531
|
+
"input",
|
|
532
|
+
{
|
|
533
|
+
type: "checkbox",
|
|
534
|
+
onClick: () => p(!t)
|
|
535
|
+
}
|
|
536
|
+
)
|
|
537
|
+
] }) })
|
|
538
|
+
] }) });
|
|
539
|
+
};
|
|
540
|
+
export {
|
|
541
|
+
z as LotsPage
|
|
542
|
+
};
|
|
@@ -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
|
+
};
|