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.
Files changed (137) hide show
  1. package/dist/App.js +10 -0
  2. package/dist/ButtonState.module-DtW3aevR.js +8 -0
  3. package/dist/FilterWithSave-Bp6rH8Pe.js +2230 -0
  4. package/dist/Menu-CgCfinVZ.js +513 -0
  5. package/dist/Option-BVIm7wOW.js +83 -0
  6. package/dist/PinTrans-D6OZq76b.js +10 -0
  7. package/dist/Router.js +103 -0
  8. package/dist/SmallFilter-C-VKnbkP.js +10 -0
  9. package/dist/components/Button/index.js +4 -0
  10. package/dist/components/Button/ui/Button.js +94 -0
  11. package/dist/components/Button/ui/Button.types.js +15 -0
  12. package/dist/components/CheckBox/CheckBox.js +84 -0
  13. package/dist/components/CheckBox/CheckBox.types.js +1 -0
  14. package/dist/components/CheckBox/index.js +4 -0
  15. package/dist/components/CheckBoxNew/CheckBox.types.js +6 -0
  16. package/dist/components/CheckBoxNew/CheckBoxNew.js +44 -0
  17. package/dist/components/CheckboxSelect/index.js +4 -0
  18. package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +51 -0
  19. package/dist/components/DestinationTab/index.js +4 -0
  20. package/dist/components/DestinationTab/ui/DestinationTab.js +75 -0
  21. package/dist/components/DestinationTab/ui/DestinationTab.types.js +6 -0
  22. package/dist/components/FieldInput/index.js +4 -0
  23. package/dist/components/FieldInput/ui/FieldInput.js +22 -0
  24. package/dist/components/FieldInput/ui/FieldInput.types.js +1 -0
  25. package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +28 -0
  26. package/dist/components/FilterWithSave/ui/FilterWithSave.js +9 -0
  27. package/dist/components/Flex/index.js +4 -0
  28. package/dist/components/Flex/ui/Flex.js +68 -0
  29. package/dist/components/Flex/ui/Flex.types.js +1 -0
  30. package/dist/components/FormModal/ui/ModalForm.js +30 -0
  31. package/dist/components/FormModal/utils/reg.js +6 -0
  32. package/dist/components/GroupedInput/index.js +4 -0
  33. package/dist/components/GroupedInput/ui/GroupedInputs.js +8 -0
  34. package/dist/components/GroupedInput/ui/GroupedInputs.types.js +1 -0
  35. package/dist/components/Input/index.js +4 -0
  36. package/dist/components/Input/ui/Input.js +3346 -0
  37. package/dist/components/Input/ui/Input.types.js +1 -0
  38. package/dist/components/Logo/index.js +4 -0
  39. package/dist/components/Logo/ui/Logo.js +63 -0
  40. package/dist/components/Logo/ui/Logo.types.js +13 -0
  41. package/dist/components/LotCard/hooks/useLotCard.js +31 -0
  42. package/dist/components/LotCard/index.js +4 -0
  43. package/dist/components/LotCard/ui/LotCard.js +11 -0
  44. package/dist/components/LotCard/ui/LotCard.types.js +1 -0
  45. package/dist/components/LotCard/utils/checkBedroomsCount.js +20 -0
  46. package/dist/components/LotCard/utils/const.js +11 -0
  47. package/dist/components/LotCard/utils/formatPrice.js +11 -0
  48. package/dist/components/LotCard/utils/getTagsFeatures.js +13 -0
  49. package/dist/components/LotCard/utils/monthlyPayment.js +4 -0
  50. package/dist/components/LotCardSkeleton/index.js +4 -0
  51. package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +83 -0
  52. package/dist/components/MetroLabel/ui/MetroLabel.js +44 -0
  53. package/dist/components/MetroLabel/ui/MetroLabel.types.js +1 -0
  54. package/dist/components/MetroTag/index.js +4 -0
  55. package/dist/components/MetroTag/ui/MetroTag.js +142 -0
  56. package/dist/components/MetroTag/ui/MetroTag.types.js +1 -0
  57. package/dist/components/Modal/index.js +4 -0
  58. package/dist/components/Modal/ui/Modal.js +77 -0
  59. package/dist/components/Modal/ui/Modal.types.js +1 -0
  60. package/dist/components/ModalSuccess/ModalSuccess.js +61 -0
  61. package/dist/components/ModalSuccess/ModalSuccess.types.js +1 -0
  62. package/dist/components/NewIcon/icons/PinTrans.js +6 -0
  63. package/dist/components/NewIcon/icons/SmallFilter.js +6 -0
  64. package/dist/components/NewIcon/index.js +4 -0
  65. package/dist/components/NewIcon/ui/NewIcon.js +314 -0
  66. package/dist/components/NewIcon/ui/NewIcon.types.js +1 -0
  67. package/dist/components/NewIcon/ui/iconTypes.js +60 -0
  68. package/dist/components/ProjectCardSkeleton/index.js +4 -0
  69. package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +34 -0
  70. package/dist/components/RoundButton/index.js +4 -0
  71. package/dist/components/RoundButton/ui/RoundButton.js +73 -0
  72. package/dist/components/RoundButton/ui/RoundButton.types.js +16 -0
  73. package/dist/components/Select/index.js +4 -0
  74. package/dist/components/Select/model/selectMode.js +49 -0
  75. package/dist/components/Select/ui/Category.js +76 -0
  76. package/dist/components/Select/ui/Option.js +7 -0
  77. package/dist/components/Select/ui/Select.js +179 -0
  78. package/dist/components/Select/ui/Select.types.js +1 -0
  79. package/dist/components/SliderNavigation/index.js +4 -0
  80. package/dist/components/SliderNavigation/ui/SliderNavigation.js +65 -0
  81. package/dist/components/SliderNavigation/ui/SliderNavigation.types.js +1 -0
  82. package/dist/components/SortSelect/hooks/useSortSelect.js +6 -0
  83. package/dist/components/SortSelect/index.js +4 -0
  84. package/dist/components/SortSelect/ui/SortSelect.js +29 -0
  85. package/dist/components/SortSelect/ui/SortSelect.types.js +1 -0
  86. package/dist/components/SummarySelect/index.js +4 -0
  87. package/dist/components/SummarySelect/ui/SummarySelect.js +128 -0
  88. package/dist/components/Switcher/index.js +4 -0
  89. package/dist/components/Switcher/ui/Switcher.js +49 -0
  90. package/dist/components/Switcher/ui/Switcher.types.js +1 -0
  91. package/dist/components/TabSelect/index.js +4 -0
  92. package/dist/components/TabSelect/ui/TabSelect.js +49 -0
  93. package/dist/components/TabSelect/ui/TabSelect.types.js +1 -0
  94. package/dist/components/TabSwitcher/index.js +4 -0
  95. package/dist/components/TabSwitcher/ui/TabSwitcher.js +28 -0
  96. package/dist/components/TabSwitcher/ui/TabSwitcher.types.js +1 -0
  97. package/dist/components/Tag/index.js +4 -0
  98. package/dist/components/Tag/ui/Tag.js +79 -0
  99. package/dist/components/Tag/ui/Tag.types.js +20 -0
  100. package/dist/components/Text/index.js +4 -0
  101. package/dist/components/Text/ui/Text.js +22 -0
  102. package/dist/components/Text/ui/Text.types.js +1 -0
  103. package/dist/components/TextArea/TextArea.js +19 -0
  104. package/dist/components/TextArea/TextArea.types.js +1 -0
  105. package/dist/components/ZoomControls/index.js +4 -0
  106. package/dist/components/ZoomControls/ui/ZoomControls.js +31 -0
  107. package/dist/components/ZoomControls/ui/ZoomControls.types.js +1 -0
  108. package/dist/components/mobileButton/index.js +4 -0
  109. package/dist/components/mobileButton/ui/MobileButton.js +64 -0
  110. package/dist/components/mobileButton/ui/MobileButton.types.js +6 -0
  111. package/dist/index-DmANy9jd.js +890 -0
  112. package/dist/index-rKuIKazb.js +45 -0
  113. package/dist/layout/Layout.js +11 -0
  114. package/dist/layout/components/Header/Header.js +164 -0
  115. package/dist/layout/components/Menu.js +28 -0
  116. package/dist/main.d.ts +31 -3
  117. package/dist/main.js +64 -35
  118. package/dist/pages/ButtonsPage/ButtonState/ButtonState.js +121 -0
  119. package/dist/pages/ButtonsPage/Buttons.js +134 -0
  120. package/dist/pages/CheckboxPage/CheckboxPage.js +224 -0
  121. package/dist/pages/FormsPage/FormsPage.js +78 -0
  122. package/dist/pages/HomePage/HomePage.js +7 -0
  123. package/dist/pages/IconsPage/IconsPage.js +41 -0
  124. package/dist/pages/InputPage/InputPage.js +35 -0
  125. package/dist/pages/LogoPage/LogoPage.js +38 -0
  126. package/dist/pages/LotsPage/LotsPage.js +542 -0
  127. package/dist/pages/ModalsPage/ModalPage.js +130 -0
  128. package/dist/pages/SelectPage/SelectPage.js +192 -0
  129. package/dist/pages/SelectPage/const.js +35 -0
  130. package/dist/pages/TabsPage/TabsPage.js +175 -0
  131. package/dist/pages/TagsPage/TagsPage.js +75 -0
  132. package/dist/shared/checkLargeOffice.js +12 -0
  133. package/dist/shared/deepEqual.js +16 -0
  134. package/dist/shared/useClientWidth.js +14 -0
  135. package/dist/style.css +1 -1
  136. package/dist/useSortSelect-CjZXLFOG.js +80 -0
  137. package/package.json +1 -1
@@ -0,0 +1,192 @@
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import { useState as n } 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 { Switcher as m } from "../../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 { F as f, a as b } 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 { Select as r } from "../../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 { SummarySelect as p } from "../../components/SummarySelect/ui/SummarySelect.js";
23
+ import { CheckBox as y } from "../../components/CheckBox/CheckBox.js";
24
+ import "../../components/CheckBoxNew/CheckBoxNew.js";
25
+ import { CheckboxSelect as k } from "../../components/CheckboxSelect/ui/CheckboxSelect.js";
26
+ import { defaultOption as d, defaultCategory as a } from "./const.js";
27
+ const V = "_sort_1szg2_1", _ = "_addClass_1szg2_6", x = "_filterWithSave_1szg2_14", c = {
28
+ sort: V,
29
+ addClass: _,
30
+ filterWithSave: x
31
+ }, Z = () => {
32
+ const [u, g] = n(d[0]), [l, S] = n([]), [s, h] = n("options"), v = [
33
+ { label: "sdfsdfsdf", setValue: () => {
34
+ }, isSelected: !1, disabled: !0 },
35
+ { label: "sdfsdfsdf", setValue: () => {
36
+ }, isSelected: !0, disabled: !1 },
37
+ { label: "sdfsdfsdf", setValue: () => {
38
+ }, isSelected: !1, disabled: !1 },
39
+ { label: "sdfsdfsdf", setValue: () => {
40
+ }, isSelected: !0, disabled: !1 },
41
+ { label: "sdfsdfsdf", setValue: () => {
42
+ }, isSelected: !0, disabled: !1 }
43
+ ], C = (t) => {
44
+ !t || !t.target || g(t.target.value);
45
+ }, i = (t) => {
46
+ t && S(t);
47
+ };
48
+ return /* @__PURE__ */ o("div", { className: c.root, children: [
49
+ /* @__PURE__ */ o("div", { children: [
50
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
51
+ f,
52
+ {
53
+ onClick: () => console.log("filter"),
54
+ onSaveClick: () => console.log("save"),
55
+ onClearClick: () => console.log("clear"),
56
+ onTabClick: () => console.log("year"),
57
+ tabs: [
58
+ { value: "dfsdf", state: !1 },
59
+ { value: "dddddddd", state: !1 }
60
+ ]
61
+ }
62
+ ) }),
63
+ /* @__PURE__ */ o("div", { children: [
64
+ /* @__PURE__ */ e("h2", { children: " Селектор с чекбоксами" }),
65
+ /* @__PURE__ */ e(k, { checkboxes: v })
66
+ ] }),
67
+ /* @__PURE__ */ o("div", { children: [
68
+ /* @__PURE__ */ e("h2", { children: "старый чекбокс" }),
69
+ /* @__PURE__ */ e(
70
+ y,
71
+ {
72
+ isChecked: !1,
73
+ emitIsChecked: () => {
74
+ console.log("check");
75
+ }
76
+ }
77
+ )
78
+ ] }),
79
+ /* @__PURE__ */ o("div", { children: [
80
+ /* @__PURE__ */ e("h2", { children: " Фильтрация с сохранением" }),
81
+ /* @__PURE__ */ e("div", { className: c.filterWithSave, children: /* @__PURE__ */ e(f, {}) })
82
+ ] }),
83
+ /* @__PURE__ */ e("h2", { children: "Сорт селект" }),
84
+ /* @__PURE__ */ e("div", { className: c.sort, children: /* @__PURE__ */ e(
85
+ b,
86
+ {
87
+ mini: !0,
88
+ selectedOption: u,
89
+ options: d,
90
+ onChange: (t) => C(t)
91
+ }
92
+ ) })
93
+ ] }),
94
+ /* @__PURE__ */ o("div", { className: c.summarySelect, children: [
95
+ /* @__PURE__ */ o("div", { style: { display: "flex", gap: "20px" }, children: [
96
+ /* @__PURE__ */ e("h2", { children: "SummarySelect" }),
97
+ /* @__PURE__ */ e(
98
+ m,
99
+ {
100
+ isActive: s === "category",
101
+ onClick: () => h(s === "options" ? "category" : "options"),
102
+ children: "mode category"
103
+ }
104
+ ),
105
+ /* @__PURE__ */ e(
106
+ m,
107
+ {
108
+ isActive: s === "double",
109
+ onClick: () => h(s === "options" ? "double" : "options"),
110
+ children: "mode double"
111
+ }
112
+ )
113
+ ] }),
114
+ /* @__PURE__ */ e(
115
+ p,
116
+ {
117
+ mode: s,
118
+ label: "Проект",
119
+ isShowReset: !0,
120
+ selectedValues: l,
121
+ options: s === "category" ? a : d,
122
+ onChange: (t) => i(t)
123
+ }
124
+ ),
125
+ /* @__PURE__ */ e(
126
+ p,
127
+ {
128
+ mode: "single",
129
+ label: "Проект",
130
+ isShowReset: !0,
131
+ selectedValues: l,
132
+ options: d,
133
+ onChange: (t) => i(t)
134
+ }
135
+ )
136
+ ] }),
137
+ /* @__PURE__ */ o("div", { children: [
138
+ /* @__PURE__ */ e("h2", { children: "Селект mode option" }),
139
+ /* @__PURE__ */ e(
140
+ r,
141
+ {
142
+ selectedValues: l,
143
+ options: a,
144
+ onChange: (t) => i(t)
145
+ }
146
+ )
147
+ ] }),
148
+ /* @__PURE__ */ o("div", { children: [
149
+ /* @__PURE__ */ e("h2", { children: "Селект mode category" }),
150
+ /* @__PURE__ */ e(
151
+ r,
152
+ {
153
+ mode: "category",
154
+ selectedValues: l,
155
+ options: a,
156
+ onChange: (t) => i(t)
157
+ }
158
+ )
159
+ ] }),
160
+ /* @__PURE__ */ o("div", { children: [
161
+ /* @__PURE__ */ e("h2", { children: "Селект mode double" }),
162
+ /* @__PURE__ */ e(
163
+ r,
164
+ {
165
+ selectedValues: l,
166
+ options: a,
167
+ mode: "double",
168
+ clickableOptions: ["Category1", "options1", "options3"],
169
+ onChange: (t) => i(t)
170
+ }
171
+ )
172
+ ] }),
173
+ /* @__PURE__ */ o("div", { children: [
174
+ /* @__PURE__ */ e("h2", { children: "Селект кнопка" }),
175
+ /* @__PURE__ */ e("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ e(
176
+ r,
177
+ {
178
+ isBtn: !0,
179
+ size_s: "small",
180
+ size_l: "medium",
181
+ isListRight: !0,
182
+ selectedValues: l,
183
+ options: d,
184
+ onChange: (t) => i(t)
185
+ }
186
+ ) })
187
+ ] })
188
+ ] });
189
+ };
190
+ export {
191
+ Z as SelectPage
192
+ };
@@ -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
+ };
@@ -0,0 +1,175 @@
1
+ import { jsxs as h, jsx as r } from "react/jsx-runtime";
2
+ import { useState as m } 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 { FieldInput as p } from "../../components/FieldInput/ui/FieldInput.js";
15
+ import { S as i } from "../../FilterWithSave-Bp6rH8Pe.js";
16
+ import "../../components/GroupedInput/ui/GroupedInputs.js";
17
+ import "../../index-rKuIKazb.js";
18
+ import "../../components/MetroTag/ui/MetroTag.js";
19
+ import "../../components/Select/ui/Select.js";
20
+ import "../../components/SliderNavigation/ui/SliderNavigation.js";
21
+ import "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
22
+ import { TabSelect as d } from "../../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 c = "_root_idppf_1", _ = "_tabsShort_idppf_7", w = "_tabSelectWrapper_idppf_11", v = "_destinationWrapper_idppf_15", g = "_whiteRow_apart_idppf_22", u = "_row_apart_idppf_26", n = {
27
+ root: c,
28
+ tabsShort: _,
29
+ tabSelectWrapper: w,
30
+ destinationWrapper: v,
31
+ whiteRow_apart: g,
32
+ row_apart: u
33
+ }, K = () => {
34
+ const [l, o] = m("C мебелью"), s = ["C мебелью", "C размерами", "План этажа", "Ген. план"], a = ["Студия", "1", "2", "3", "4+"];
35
+ return /* @__PURE__ */ h("div", { className: n.root, children: [
36
+ /* @__PURE__ */ r(i, { children: a.map((t, e) => /* @__PURE__ */ r(
37
+ i.Item,
38
+ {
39
+ itemsLength: a.length,
40
+ size_s: "medium",
41
+ size_l: "large",
42
+ index: e,
43
+ value: t,
44
+ disabled: e === 2 || e === 1,
45
+ children: t
46
+ },
47
+ e
48
+ )) }),
49
+ /* @__PURE__ */ r("div", { className: n.tabsShort, children: /* @__PURE__ */ r(p, { label: "Количество спален", children: /* @__PURE__ */ r(i, { children: a.map((t, e) => /* @__PURE__ */ r(
50
+ i.Item,
51
+ {
52
+ itemsLength: a.length,
53
+ index: e,
54
+ value: t,
55
+ addItemClassName: e === 0 ? n.gg : "",
56
+ children: t
57
+ }
58
+ )) }) }) }),
59
+ /* @__PURE__ */ r("div", { className: n.tabsShort, children: /* @__PURE__ */ r(p, { label: "Количество спален", children: /* @__PURE__ */ r(i, { variant: "whiteRowGrayLabel", children: a.map((t, e) => /* @__PURE__ */ r(
60
+ i.Item,
61
+ {
62
+ size_s: "tiny",
63
+ size_m: "tiny",
64
+ size_l: "tiny",
65
+ itemsLength: a.length,
66
+ index: e,
67
+ value: t,
68
+ addItemClassName: e === 0 ? n.gg : "",
69
+ children: t
70
+ },
71
+ e
72
+ )) }) }) }),
73
+ /* @__PURE__ */ r(p, { label: "Количество спален", children: /* @__PURE__ */ r(i, { variant: "whiteRowGrayLabel", children: a.map((t, e) => /* @__PURE__ */ r(
74
+ i.Item,
75
+ {
76
+ size_s: "tiny",
77
+ size_m: "tiny",
78
+ size_l: "tiny",
79
+ itemsLength: a.length,
80
+ index: e,
81
+ value: t,
82
+ addItemClassName: e === 0 ? n.gg : "",
83
+ children: t
84
+ },
85
+ e
86
+ )) }) }),
87
+ /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(i, { col: !0, children: a.map((t, e) => /* @__PURE__ */ r(
88
+ i.Item,
89
+ {
90
+ itemsLength: a.length,
91
+ index: e,
92
+ value: t,
93
+ children: t
94
+ },
95
+ e
96
+ )) }) }),
97
+ /* @__PURE__ */ r("div", { className: n.tabsShort, children: /* @__PURE__ */ r(i, { col: !0, children: a.map((t, e) => /* @__PURE__ */ r(
98
+ i.Item,
99
+ {
100
+ itemsLength: a.length,
101
+ index: e,
102
+ value: t,
103
+ children: t
104
+ },
105
+ e
106
+ )) }) }),
107
+ /* @__PURE__ */ r("div", { className: n.whiteRow_apart, children: /* @__PURE__ */ r(
108
+ i,
109
+ {
110
+ variant: "whiteRow",
111
+ isApart: !0,
112
+ addClassName: n.row_apart,
113
+ children: a.map((t, e) => /* @__PURE__ */ r(
114
+ i.Item,
115
+ {
116
+ width: e === 0 ? "135px" : void 0,
117
+ width_m: e === 0 ? "96px" : void 0,
118
+ width_l: e === 0 ? "155px" : void 0,
119
+ itemsLength: a.length,
120
+ index: e,
121
+ children: t
122
+ },
123
+ e
124
+ ))
125
+ }
126
+ ) }),
127
+ /* @__PURE__ */ r("div", { className: n.whiteRow_apart, children: /* @__PURE__ */ r(
128
+ i,
129
+ {
130
+ variant: "grayRow",
131
+ isApart: !0,
132
+ addClassName: n.row_apart,
133
+ children: a.map((t, e) => /* @__PURE__ */ r(
134
+ i.Item,
135
+ {
136
+ width: e === 0 ? "135px" : void 0,
137
+ width_m: e === 0 ? "96px" : void 0,
138
+ width_l: e === 0 ? "155px" : void 0,
139
+ itemsLength: a.length,
140
+ index: e,
141
+ children: t
142
+ },
143
+ e
144
+ ))
145
+ }
146
+ ) }),
147
+ /* @__PURE__ */ r("div", { className: n.tabSelectWrapper, children: /* @__PURE__ */ r(d, { variant: "grayDesign", children: s.map((t, e) => /* @__PURE__ */ r(
148
+ d.Item,
149
+ {
150
+ name: "type",
151
+ checked: l === t,
152
+ onChange: () => o(t),
153
+ value: t,
154
+ children: t
155
+ },
156
+ e
157
+ )) }) }),
158
+ /* @__PURE__ */ r("div", { className: n.tabSelectWrapper, children: /* @__PURE__ */ r(d, { variant: "whiteStroke", children: ["для коммерции", "для жилых"].map((t, e) => /* @__PURE__ */ r(
159
+ d.Item,
160
+ {
161
+ name: "type",
162
+ width: "160px",
163
+ withPadding: !0,
164
+ checked: l === t,
165
+ onChange: () => o(t),
166
+ value: t,
167
+ children: t
168
+ },
169
+ e
170
+ )) }) })
171
+ ] });
172
+ };
173
+ export {
174
+ K as default
175
+ };
@@ -0,0 +1,75 @@
1
+ import { jsxs as e, 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 { Tag as i } from "../../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 "../../index-rKuIKazb.js";
17
+ import { MetroTag as t } from "../../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 = "_root_1tmts_1", s = {
26
+ root: p
27
+ }, W = () => {
28
+ const r = { name: "sokolnuyaki", color: "red", timeTo: 10, mode: "auto" }, m = [
29
+ { name: "Сокольники", color: "red", timeTo: 10, mode: "auto" },
30
+ { name: "Электрозаводская", color: "blue", timeTo: 10, mode: "auto" }
31
+ ];
32
+ return /* @__PURE__ */ e("div", { className: s.root, children: [
33
+ /* @__PURE__ */ o(t, { metro: m }),
34
+ /* @__PURE__ */ o(t, { metro: r }),
35
+ /* @__PURE__ */ o(
36
+ t,
37
+ {
38
+ metro: r,
39
+ withBg: !0
40
+ }
41
+ ),
42
+ /* @__PURE__ */ o(
43
+ t,
44
+ {
45
+ metro: r,
46
+ withBg: !0,
47
+ isBetween: !0,
48
+ width: "full"
49
+ }
50
+ ),
51
+ /* @__PURE__ */ o(
52
+ i,
53
+ {
54
+ variant: "shadeWhite",
55
+ size: "medium",
56
+ size_m: "tiny",
57
+ size_l: "tiny",
58
+ children: "От 285 000 ₽/м2"
59
+ }
60
+ ),
61
+ /* @__PURE__ */ o(
62
+ i,
63
+ {
64
+ variant: "chineseBlack",
65
+ size: "small",
66
+ size_m: "tiny",
67
+ size_l: "small",
68
+ children: "От 285 000 ₽/м2"
69
+ }
70
+ )
71
+ ] });
72
+ };
73
+ export {
74
+ W as TagsPage
75
+ };
@@ -0,0 +1,12 @@
1
+ const r = (e) => {
2
+ if (e && (e == null ? void 0 : e.direction) === 1) {
3
+ if ((e == null ? void 0 : e.type) === 11 || (e == null ? void 0 : e.subType) === 8)
4
+ return !0;
5
+ if (typeof (e == null ? void 0 : e.beginFloor) == "number" && typeof (e == null ? void 0 : e.endFloor) == "number")
6
+ return (e == null ? void 0 : e.beginFloor) !== (e == null ? void 0 : e.endFloor);
7
+ }
8
+ return !1;
9
+ };
10
+ export {
11
+ r as checkLargeOffice
12
+ };
@@ -0,0 +1,16 @@
1
+ const f = (e, t) => {
2
+ if (e === t)
3
+ return !0;
4
+ if (e == null || typeof e != "object" || t == null || typeof t != "object")
5
+ return !1;
6
+ const r = Object.keys(e), s = Object.keys(t);
7
+ if (r.length !== s.length)
8
+ return !1;
9
+ for (const n of r)
10
+ if (!s.includes(n) || !f(e[n], t[n]))
11
+ return !1;
12
+ return !0;
13
+ };
14
+ export {
15
+ f as deepEqual
16
+ };
@@ -0,0 +1,14 @@
1
+ import { useState as u, useCallback as c, useEffect as i } from "react";
2
+ const a = () => {
3
+ const [e, n] = u(0), t = c(() => {
4
+ n(window.innerWidth);
5
+ }, [n]);
6
+ i(() => (window.addEventListener("resize", t), () => window.removeEventListener("resize", t)), []), i(() => {
7
+ t();
8
+ }, []);
9
+ const s = e < 1024, o = typeof window < "u" ? window.innerWidth < 768 : !1, r = e >= 768 && e < 1440, d = e > 1023 && e < 1440, l = e >= 1440;
10
+ return { currentClientWidth: e, isMobile: s, isTablet: d, isDesktop: l, isMobileBorder: o, isFullTablet: r };
11
+ };
12
+ export {
13
+ a as useClientWidth
14
+ };