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.
Files changed (178) hide show
  1. package/dist/App.js +4 -4
  2. package/dist/{Option-DU8cvBnA.js → Option-CtwUzW8a.js} +1 -1
  3. package/dist/Router.js +1 -1
  4. package/dist/chunk-4WY6JWTD-BeveLKf_.js +1582 -0
  5. package/dist/components/Button/ui/Button.d.ts +0 -1
  6. package/dist/components/Button/ui/Button.js +1 -1
  7. package/dist/components/Button/ui/Button.types.d.ts +0 -1
  8. package/dist/components/CheckBox/CheckBox.d.ts +0 -1
  9. package/dist/components/CheckBox/CheckBox.js +1 -1
  10. package/dist/components/CheckBox/CheckBox.types.d.ts +0 -2
  11. package/dist/components/CheckBoxNew/CheckBox.types.d.ts +0 -1
  12. package/dist/components/CheckBoxNew/CheckBoxNew.d.ts +0 -1
  13. package/dist/components/CheckBoxNew/CheckBoxNew.js +17 -17
  14. package/dist/components/CheckboxSelect/ui/CheckboxSelect.d.ts +0 -1
  15. package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +34 -34
  16. package/dist/components/CommercialLotCard/CommercialLotCard.d.ts +0 -1
  17. package/dist/components/CommercialLotCard/CommercialLotCard.js +50 -7
  18. package/dist/components/CommercialLotCard/components/Price/Price.d.ts +0 -1
  19. package/dist/components/CommercialLotCard/components/Price/Price.js +25 -26
  20. package/dist/components/CommercialLotCard/components/Snippets/Snippets.d.ts +0 -1
  21. package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +98 -27
  22. package/dist/components/CommercialLotCard/components/Tags/Tags.d.ts +0 -1
  23. package/dist/components/CommercialLotCard/components/Tags/Tags.js +17 -17
  24. package/dist/components/CommercialLotCard/types/CommercialLotCard.types.d.ts +0 -1
  25. package/dist/components/CommercialLotCard/types/LotCard.d.ts +0 -1
  26. package/dist/components/CommercialLotCard/utils/formatPrice.js +1 -2
  27. package/dist/components/CommercialLotCard/utils/getTagsFeatures.d.ts +1 -2
  28. package/dist/components/DestinationTab/ui/DestinationTab.d.ts +0 -1
  29. package/dist/components/DestinationTab/ui/DestinationTab.js +41 -41
  30. package/dist/components/DestinationTab/ui/DestinationTab.types.d.ts +0 -1
  31. package/dist/components/FieldInput/ui/FieldInput.d.ts +0 -1
  32. package/dist/components/FieldInput/ui/FieldInput.types.d.ts +0 -1
  33. package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +1 -2
  34. package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +54 -26
  35. package/dist/components/FilterWithSave/ui/FilterWithSave.d.ts +0 -1
  36. package/dist/components/FilterWithSave/ui/FilterWithSave.js +323 -7
  37. package/dist/components/Flex/ui/Flex.d.ts +0 -1
  38. package/dist/components/Flex/ui/Flex.js +1 -1
  39. package/dist/components/Flex/ui/Flex.types.d.ts +0 -1
  40. package/dist/components/FormModal/ui/ModalForm.js +1445 -28
  41. package/dist/components/GroupedInput/ui/GroupedInputs.d.ts +0 -1
  42. package/dist/components/GroupedInput/ui/GroupedInputs.js +1 -1
  43. package/dist/components/GroupedInput/ui/GroupedInputs.types.d.ts +0 -1
  44. package/dist/components/Input/ui/Input.d.ts +1 -2
  45. package/dist/components/Input/ui/Input.js +234 -325
  46. package/dist/components/Logo/ui/Logo.d.ts +0 -1
  47. package/dist/components/Logo/ui/Logo.js +6 -6
  48. package/dist/components/LotCard/hooks/useLotCard.d.ts +0 -1
  49. package/dist/components/LotCard/hooks/useLotCard.js +6 -24
  50. package/dist/components/LotCard/index.js +2 -2
  51. package/dist/components/LotCard/ui/LotCard.d.ts +0 -1
  52. package/dist/components/LotCard/ui/LotCard.js +213 -10
  53. package/dist/components/LotCard/ui/LotCard.types.d.ts +0 -1
  54. package/dist/components/LotCard/utils/formatPrice.js +1 -2
  55. package/dist/components/LotCard/utils/getTagsFeatures.d.ts +1 -2
  56. package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +1 -1
  57. package/dist/components/MetroLabel/ui/MetroLabel.d.ts +0 -1
  58. package/dist/components/MetroLabel/ui/MetroLabel.js +16 -16
  59. package/dist/components/MetroLabel/ui/MetroLabel.types.d.ts +0 -1
  60. package/dist/components/MetroTag/ui/MetroTag.d.ts +0 -1
  61. package/dist/components/MetroTag/ui/MetroTag.js +74 -74
  62. package/dist/components/MetroTag/ui/MetroTag.types.d.ts +0 -1
  63. package/dist/components/Modal/ui/Modal.d.ts +0 -1
  64. package/dist/components/Modal/ui/Modal.js +34 -37
  65. package/dist/components/Modal/ui/Modal.types.d.ts +0 -1
  66. package/dist/components/ModalSuccess/ModalSuccess.d.ts +0 -1
  67. package/dist/components/ModalSuccess/ModalSuccess.js +18 -19
  68. package/dist/components/ModalSuccess/ModalSuccess.types.d.ts +0 -1
  69. package/dist/components/NewIcon/icons/PinTrans.d.ts +0 -1
  70. package/dist/components/NewIcon/icons/SmallFilter.d.ts +0 -1
  71. package/dist/components/NewIcon/ui/NewIcon.d.ts +0 -1
  72. package/dist/components/NewIcon/ui/NewIcon.js +43 -33
  73. package/dist/components/NewIcon/ui/NewIcon.types.d.ts +0 -1
  74. package/dist/components/NewIcon/ui/iconTypes.d.ts +0 -1
  75. package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +9 -11
  76. package/dist/components/RoundButton/ui/RoundButton.d.ts +0 -1
  77. package/dist/components/RoundButton/ui/RoundButton.js +2 -2
  78. package/dist/components/RoundButton/ui/RoundButton.types.d.ts +0 -1
  79. package/dist/components/Select/model/selectMode.d.ts +0 -1
  80. package/dist/components/Select/model/selectMode.js +30 -30
  81. package/dist/components/Select/ui/Category.d.ts +0 -1
  82. package/dist/components/Select/ui/Category.js +3 -3
  83. package/dist/components/Select/ui/Option.d.ts +0 -1
  84. package/dist/components/Select/ui/Option.js +2 -2
  85. package/dist/components/Select/ui/Select.d.ts +0 -1
  86. package/dist/components/Select/ui/Select.js +115 -115
  87. package/dist/components/SliderNavigation/index.d.ts +0 -1
  88. package/dist/components/SliderNavigation/ui/SliderNavigation.d.ts +0 -1
  89. package/dist/components/SliderNavigation/ui/SliderNavigation.js +6 -6
  90. package/dist/components/SortSelect/hooks/useSortSelect.d.ts +1 -2
  91. package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
  92. package/dist/components/SortSelect/index.js +1 -1
  93. package/dist/components/SortSelect/ui/SortSelect.d.ts +0 -1
  94. package/dist/components/SortSelect/ui/SortSelect.js +108 -26
  95. package/dist/components/SortSelect/ui/SortSelect.types.d.ts +0 -1
  96. package/dist/components/SummarySelect/ui/SummarySelect.d.ts +0 -1
  97. package/dist/components/SummarySelect/ui/SummarySelect.js +59 -65
  98. package/dist/components/Switcher/ui/Switcher.d.ts +0 -1
  99. package/dist/components/Switcher/ui/Switcher.js +1 -1
  100. package/dist/components/Switcher/ui/Switcher.types.d.ts +0 -1
  101. package/dist/components/TabSelect/ui/TabSelect.d.ts +12 -8
  102. package/dist/components/TabSelect/ui/TabSelect.js +42 -37
  103. package/dist/components/TabSwitcher/index.js +2 -2
  104. package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +4 -4
  105. package/dist/components/TabSwitcher/ui/TabSwitcher.js +120 -26
  106. package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +1 -2
  107. package/dist/components/Tag/ui/Tag.d.ts +0 -1
  108. package/dist/components/Tag/ui/Tag.js +91 -91
  109. package/dist/components/Tag/ui/Tag.types.d.ts +0 -1
  110. package/dist/components/Text/ui/Text.d.ts +0 -1
  111. package/dist/components/Text/ui/Text.js +1 -1
  112. package/dist/components/Text/ui/Text.types.d.ts +0 -1
  113. package/dist/components/TextArea/TextArea.d.ts +8 -0
  114. package/dist/components/TextArea/TextArea.js +18 -12
  115. package/dist/components/ZoomControls/ui/ZoomControls.d.ts +0 -1
  116. package/dist/components/ZoomControls/ui/ZoomControls.types.d.ts +0 -1
  117. package/dist/components/mobileButton/ui/MobileButton.d.ts +0 -1
  118. package/dist/components/mobileButton/ui/MobileButton.js +1 -1
  119. package/dist/components/mobileButton/ui/MobileButton.types.d.ts +0 -1
  120. package/dist/{index-DvCs2JPX.js → index-BJwl9stn.js} +9596 -9695
  121. package/dist/index-YnD2EP-S.js +43 -0
  122. package/dist/layout/Layout.d.ts +0 -1
  123. package/dist/layout/components/Header/Header.js +48 -71
  124. package/dist/layout/components/Menu.js +107 -26
  125. package/dist/main.js +70 -65
  126. package/dist/pages/ButtonsPage/Buttons.js +49 -77
  127. package/dist/pages/FormsPage/FormsPage.js +26 -50
  128. package/dist/pages/IconsPage/IconsPage.js +9 -31
  129. package/dist/pages/InputPage/InputPage.js +10 -32
  130. package/dist/pages/LogoPage/LogoPage.js +13 -35
  131. package/dist/pages/LotsPage/LotsPage.js +18 -17
  132. package/dist/pages/LotsPage/const.d.ts +0 -1
  133. package/dist/pages/ModalsPage/ModalPage.js +46 -66
  134. package/dist/pages/SelectPage/SelectPage.js +58 -58
  135. package/dist/pages/TabsPage/TabsPage.js +19 -20
  136. package/dist/pages/TagsPage/TagsPage.js +23 -44
  137. package/dist/shared/checkLargeOffice.d.ts +0 -1
  138. package/dist/shared/checkLargeOffice.js +1 -1
  139. package/dist/shared/mlnRound.js +1 -2
  140. package/dist/stone-kit.css +1 -0
  141. package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +2 -2
  142. package/dist/stories/shared/ui/Button/Button.stories.js +5 -5
  143. package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +1 -1
  144. package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +1 -1
  145. package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +1 -1
  146. package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +1 -1
  147. package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +1 -1
  148. package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +2 -2
  149. package/dist/stories/shared/ui/FormModal/FormModal.stories.js +8 -8
  150. package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +1 -1
  151. package/dist/stories/shared/ui/Logo/Logo.stories.js +1 -1
  152. package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +1 -1
  153. package/dist/stories/shared/ui/Modal/Modal.stories.js +1 -1
  154. package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +1 -1
  155. package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +1 -1
  156. package/dist/stories/shared/ui/Select/Select.stories.js +1 -1
  157. package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +1 -1
  158. package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +2 -2
  159. package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +1 -1
  160. package/dist/stories/shared/ui/Switcher/Switcher.stories.js +1 -1
  161. package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +1 -1
  162. package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +2 -2
  163. package/dist/stories/shared/ui/Tag/Tag.stories.js +4 -4
  164. package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +1 -1
  165. package/dist/useLotCard-CYcRSogE.js +186 -0
  166. package/dist/useSortSelect-Cy3od4ig.js +80 -0
  167. package/package.json +22 -31
  168. package/dist/ButtonState.module-DtW3aevR.js +0 -8
  169. package/dist/FilterWithSave-DkVYQ7W8.js +0 -2473
  170. package/dist/Menu-DKuZheFD.js +0 -513
  171. package/dist/components/TextArea/TextArea.types.d.ts +0 -11
  172. package/dist/components/TextArea/TextArea.types.js +0 -1
  173. package/dist/index-DmANy9jd.js +0 -890
  174. package/dist/index-rKuIKazb.js +0 -45
  175. package/dist/pages/ButtonsPage/ButtonState/ButtonState.d.ts +0 -7
  176. package/dist/pages/ButtonsPage/ButtonState/ButtonState.js +0 -121
  177. package/dist/style.css +0 -1
  178. package/dist/useSortSelect-CjZXLFOG.js +0 -80
@@ -1,93 +1,65 @@
1
- import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
- import W, { useState as n } from "react";
3
- import { Button as w } from "../../components/Button/ui/Button.js";
4
- import "../../components/mobileButton/ui/MobileButton.js";
5
- import { NewIcon as d, iconTypes as A } from "../../components/NewIcon/ui/NewIcon.js";
6
- import "../../components/DestinationTab/ui/DestinationTab.js";
7
- import { RoundButton as g } from "../../components/RoundButton/ui/RoundButton.js";
8
- import "../../components/Tag/ui/Tag.js";
9
- import { Switcher as b } 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 "../../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 { 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__ */ i("div", { className: r.clearButton, children: [
56
- /* @__PURE__ */ t("h2", { children: "Круглая" }),
57
- /* @__PURE__ */ i("div", { className: r.buttonsWrapper, children: [
58
- /* @__PURE__ */ t(
59
- g,
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: o ? "blackFill" : "whiteStroke",
33
+ variant: i ? "blackFill" : "whiteStroke",
62
34
  size: "tiny",
63
- onClick: () => l(!o),
64
- children: /* @__PURE__ */ t(
35
+ onClick: () => r(!i),
36
+ children: /* @__PURE__ */ e(
65
37
  d,
66
38
  {
67
39
  name: "close",
68
40
  size: "12",
69
- color: o ? "#fff" : "#000"
41
+ color: i ? "#fff" : "#000"
70
42
  }
71
43
  )
72
44
  }
73
45
  ),
74
- /* @__PURE__ */ t(
75
- g,
46
+ /* @__PURE__ */ e(
47
+ c,
76
48
  {
77
49
  iconName: "close",
78
- variant: o ? "blackFill" : "whiteStroke",
50
+ variant: i ? "blackFill" : "whiteStroke",
79
51
  deg: "90",
80
52
  size: "tiny",
81
53
  size_l: "small",
82
- onClick: () => l(!o)
54
+ onClick: () => r(!i)
83
55
  }
84
56
  )
85
57
  ] })
86
58
  ] }),
87
- /* @__PURE__ */ i("div", { children: [
88
- /* @__PURE__ */ t("h2", { children: "Зум" }),
89
- /* @__PURE__ */ t(
90
- y,
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__ */ i("div", { children: [
101
- /* @__PURE__ */ t("h2", { children: "Слайдер" }),
102
- /* @__PURE__ */ t(
103
- B,
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__ */ t(
115
- b,
86
+ /* @__PURE__ */ e(
87
+ l,
116
88
  {
117
- isActive: o,
118
- onClick: () => l(!o),
89
+ isActive: i,
90
+ onClick: () => r(!i),
119
91
  children: "В продаже"
120
92
  }
121
93
  ),
122
- /* @__PURE__ */ t(
123
- b,
94
+ /* @__PURE__ */ e(
95
+ l,
124
96
  {
125
- isActive: c,
126
- onClick: () => s(!c),
97
+ isActive: n,
98
+ onClick: () => a(!n),
127
99
  children: "В продаже"
128
100
  }
129
101
  )
130
102
  ] });
131
103
  };
132
104
  export {
133
- he as ButtonsPage
105
+ S as ButtonsPage
134
106
  };
@@ -1,58 +1,34 @@
1
- import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
- import { useState as e } from "react";
3
- import { M as n } from "../../FilterWithSave-DkVYQ7W8.js";
4
- import { Button as s } from "../../components/Button/ui/Button.js";
5
- import "../../components/mobileButton/ui/MobileButton.js";
6
- import "../../components/NewIcon/ui/NewIcon.js";
7
- import "../../components/DestinationTab/ui/DestinationTab.js";
8
- import "../../components/RoundButton/ui/RoundButton.js";
9
- import "../../components/Tag/ui/Tag.js";
10
- import "../../components/Switcher/ui/Switcher.js";
11
- import "../../components/Text/ui/Text.js";
12
- import "../../components/Flex/ui/Flex.js";
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: () => o(!0),
15
+ onClick: () => e(!0),
40
16
  children: "ModalForm"
41
17
  }
42
18
  ),
43
- /* @__PURE__ */ t(
44
- s,
19
+ /* @__PURE__ */ o(
20
+ r,
45
21
  {
46
22
  as: "button",
47
- onClick: () => r(!0),
23
+ onClick: () => s(!0),
48
24
  children: "ModalSucceess"
49
25
  }
50
26
  ),
51
- /* @__PURE__ */ t(
52
- n,
27
+ /* @__PURE__ */ o(
28
+ u,
53
29
  {
54
- submitHandler: (m) => {
55
- console.log(m);
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: o
43
+ setIsFormOpen: e
68
44
  }
69
45
  ),
70
- /* @__PURE__ */ t(
71
- l,
46
+ /* @__PURE__ */ o(
47
+ a,
72
48
  {
73
- isSuccessOpen: p,
74
- setIsSuccess: r
49
+ isSuccessOpen: l,
50
+ setIsSuccess: s
75
51
  }
76
52
  )
77
53
  ] });
78
54
  };
79
55
  export {
80
- D as default
56
+ F as default
81
57
  };
@@ -1,41 +1,19 @@
1
- import { jsx as o, jsxs as m } from "react/jsx-runtime";
2
- import { iconTypes as t, NewIcon as e } from "../../components/NewIcon/ui/NewIcon.js";
3
- import "../../components/Button/ui/Button.js";
4
- import "../../components/mobileButton/ui/MobileButton.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-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
- e,
8
+ t,
31
9
  {
32
10
  name: r,
33
11
  size: "16"
34
12
  },
35
- p
13
+ c
36
14
  ),
37
15
  r ?? ""
38
16
  ] })) : null });
39
17
  export {
40
- q as IconsPage
18
+ l as IconsPage
41
19
  };
@@ -1,35 +1,13 @@
1
- import { jsx as r, jsxs as i } 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 { 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
- b as InputPage
12
+ s as InputPage
35
13
  };
@@ -1,38 +1,16 @@
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-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
- q as LogoPage
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 { LotCardSkeleton as l } from "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
4
- import { C as p, L as r } from "../../FilterWithSave-DkVYQ7W8.js";
5
- import { ProjectCardSkeleton as m } from "../../components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js";
6
- import { testLot as e, testLotEmpty as d } from "./const.js";
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
- }, x = () => {
13
- const [o, a] = c(!1), n = JSON.parse(JSON.stringify(e));
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
- r,
18
+ e,
18
19
  {
19
- lot: e,
20
+ lot: r,
20
21
  handleBtnForm: () => {
21
22
  }
22
23
  }
23
24
  ),
24
25
  !o && /* @__PURE__ */ t(
25
- r,
26
+ e,
26
27
  {
27
- lot: e,
28
+ lot: r,
28
29
  handleBtnForm: () => {
29
30
  }
30
31
  }
31
32
  ),
32
33
  !o && /* @__PURE__ */ t(
33
- r,
34
+ e,
34
35
  {
35
- lot: d,
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
- r,
43
+ e,
43
44
  {
44
- lot: e,
45
+ lot: r,
45
46
  rowConditions: !1,
46
47
  handleBtnForm: () => {
47
48
  }
48
49
  }
49
50
  ),
50
- /* @__PURE__ */ t(l, { isProjectCard: !0 })
51
+ /* @__PURE__ */ t(m, { isProjectCard: !0 })
51
52
  ] }),
52
- /* @__PURE__ */ t(m, {}),
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
- x as LotsPage
67
+ N as LotsPage
67
68
  };
@@ -1,5 +1,4 @@
1
1
  import { ILot } from '../../components/LotCard/ui/LotCard.types.ts';
2
-
3
2
  declare const testLot: ILot;
4
3
  declare const testLotEmpty: ILot;
5
4
  export { testLot, testLotEmpty };