stone-kit 0.0.1030 → 0.0.1031

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 (172) hide show
  1. package/dist/App.js +1 -1
  2. package/dist/{Menu-CeBSiTyP.js → Menu-CdJTzN7T.js} +157 -176
  3. package/dist/{Option-DU8cvBnA.js → Option-rFBMQAPk.js} +1 -1
  4. package/dist/Router.js +1 -1
  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 -1
  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 +0 -1
  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 +328 -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 +1430 -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 -304
  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 +1 -1
  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 +0 -1
  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 +0 -1
  102. package/dist/components/TabSelect/ui/TabSelect.js +5 -5
  103. package/dist/components/TabSwitcher/index.js +2 -2
  104. package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +0 -1
  105. package/dist/components/TabSwitcher/ui/TabSwitcher.js +120 -26
  106. package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +0 -1
  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 +0 -1
  114. package/dist/components/TextArea/TextArea.js +1 -1
  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-3E04UaC2.js} +9529 -9629
  121. package/dist/index-B2JRaoNz.js +48 -0
  122. package/dist/{index-DmANy9jd.js → index-CBdtKu-u.js} +272 -271
  123. package/dist/layout/Layout.d.ts +0 -1
  124. package/dist/layout/components/Header/Header.js +48 -71
  125. package/dist/layout/components/Menu.js +2 -24
  126. package/dist/main.js +70 -65
  127. package/dist/pages/ButtonsPage/Buttons.js +44 -61
  128. package/dist/pages/FormsPage/FormsPage.js +26 -50
  129. package/dist/pages/IconsPage/IconsPage.js +9 -31
  130. package/dist/pages/InputPage/InputPage.js +10 -32
  131. package/dist/pages/LogoPage/LogoPage.js +13 -35
  132. package/dist/pages/LotsPage/LotsPage.js +18 -17
  133. package/dist/pages/LotsPage/const.d.ts +0 -1
  134. package/dist/pages/ModalsPage/ModalPage.js +46 -66
  135. package/dist/pages/SelectPage/SelectPage.js +58 -58
  136. package/dist/pages/TabsPage/TabsPage.js +19 -20
  137. package/dist/pages/TagsPage/TagsPage.js +23 -44
  138. package/dist/shared/checkLargeOffice.d.ts +0 -1
  139. package/dist/shared/checkLargeOffice.js +1 -1
  140. package/dist/shared/mlnRound.js +1 -2
  141. package/dist/stone-kit.css +1 -0
  142. package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +2 -2
  143. package/dist/stories/shared/ui/Button/Button.stories.js +5 -5
  144. package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +1 -1
  145. package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +1 -1
  146. package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +1 -1
  147. package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +1 -1
  148. package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +1 -1
  149. package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +2 -2
  150. package/dist/stories/shared/ui/FormModal/FormModal.stories.js +8 -8
  151. package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +1 -1
  152. package/dist/stories/shared/ui/Logo/Logo.stories.js +1 -1
  153. package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +1 -1
  154. package/dist/stories/shared/ui/Modal/Modal.stories.js +1 -1
  155. package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +1 -1
  156. package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +1 -1
  157. package/dist/stories/shared/ui/Select/Select.stories.js +1 -1
  158. package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +1 -1
  159. package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +2 -2
  160. package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +1 -1
  161. package/dist/stories/shared/ui/Switcher/Switcher.stories.js +1 -1
  162. package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +1 -1
  163. package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +2 -2
  164. package/dist/stories/shared/ui/Tag/Tag.stories.js +4 -4
  165. package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +1 -1
  166. package/dist/useLotCard-DG9doKCX.js +186 -0
  167. package/dist/useSortSelect-B8HOGdOt.js +79 -0
  168. package/package.json +1 -1
  169. package/dist/FilterWithSave-BWA01WwU.js +0 -2476
  170. package/dist/index-rKuIKazb.js +0 -45
  171. package/dist/style.css +0 -1
  172. package/dist/useSortSelect-BTCEVMVn.js +0 -80
@@ -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-BWA01WwU.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-BWA01WwU.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-BWA01WwU.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-BWA01WwU.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 };
@@ -1,122 +1,102 @@
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-BWA01WwU.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,
1
+ import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
+ import { useState as s } from "react";
3
+ import { Button as l } from "../../components/Button/ui/Button.js";
4
+ import { Modal as c } from "../../components/Modal/ui/Modal.js";
5
+ const d = {}, k = () => {
6
+ const [r, e] = s(!1), [a, t] = s(!1);
7
+ return /* @__PURE__ */ i("div", { className: d.root, children: [
8
+ /* @__PURE__ */ o(
9
+ l,
30
10
  {
31
11
  as: "button",
32
- onClick: () => n((o) => !o),
12
+ onClick: () => e((n) => !n),
33
13
  children: "Каскад модалок"
34
14
  }
35
15
  ),
36
- /* @__PURE__ */ t(
37
- m,
16
+ /* @__PURE__ */ o(
17
+ c,
38
18
  {
39
- isOpen: s,
40
- emitIsOpen: () => n((o) => !o),
19
+ isOpen: r,
20
+ emitIsOpen: () => e((n) => !n),
41
21
  isTransparentBack: !0,
42
- children: /* @__PURE__ */ t(
43
- r,
22
+ children: /* @__PURE__ */ o(
23
+ l,
44
24
  {
45
25
  as: "button",
46
- onClick: () => i((o) => !o),
26
+ onClick: () => t((n) => !n),
47
27
  children: "вайди"
48
28
  }
49
29
  )
50
30
  }
51
31
  ),
52
- /* @__PURE__ */ l(
53
- m,
32
+ /* @__PURE__ */ i(
33
+ c,
54
34
  {
55
- isOpen: c,
56
- emitIsOpen: () => i((o) => !o),
35
+ isOpen: a,
36
+ emitIsOpen: () => t((n) => !n),
57
37
  leaveDisableScroll: !0,
58
38
  children: [
59
- /* @__PURE__ */ t(
60
- r,
39
+ /* @__PURE__ */ o(
40
+ l,
61
41
  {
62
42
  as: "button",
63
- onClick: () => i((o) => !o),
43
+ onClick: () => t((n) => !n),
64
44
  children: "выйди"
65
45
  }
66
46
  ),
67
- /* @__PURE__ */ t(
68
- r,
47
+ /* @__PURE__ */ o(
48
+ l,
69
49
  {
70
50
  as: "button",
71
- onClick: () => i((o) => !o),
51
+ onClick: () => t((n) => !n),
72
52
  children: "выйди"
73
53
  }
74
54
  ),
75
- /* @__PURE__ */ t(
76
- r,
55
+ /* @__PURE__ */ o(
56
+ l,
77
57
  {
78
58
  as: "button",
79
- onClick: () => i((o) => !o),
59
+ onClick: () => t((n) => !n),
80
60
  children: "выйди"
81
61
  }
82
62
  ),
83
- /* @__PURE__ */ t(
84
- r,
63
+ /* @__PURE__ */ o(
64
+ l,
85
65
  {
86
66
  as: "button",
87
- onClick: () => i((o) => !o),
67
+ onClick: () => t((n) => !n),
88
68
  children: "выйди"
89
69
  }
90
70
  ),
91
- /* @__PURE__ */ t(
92
- r,
71
+ /* @__PURE__ */ o(
72
+ l,
93
73
  {
94
74
  as: "button",
95
- onClick: () => i((o) => !o),
75
+ onClick: () => t((n) => !n),
96
76
  children: "выйди"
97
77
  }
98
78
  ),
99
- /* @__PURE__ */ t(
100
- r,
79
+ /* @__PURE__ */ o(
80
+ l,
101
81
  {
102
82
  as: "button",
103
- onClick: () => i((o) => !o),
83
+ onClick: () => t((n) => !n),
104
84
  children: "выйди"
105
85
  }
106
86
  ),
107
- /* @__PURE__ */ t(
108
- r,
87
+ /* @__PURE__ */ o(
88
+ l,
109
89
  {
110
90
  as: "button",
111
- onClick: () => i((o) => !o),
91
+ onClick: () => t((n) => !n),
112
92
  children: "выйди"
113
93
  }
114
94
  ),
115
- /* @__PURE__ */ t(
116
- r,
95
+ /* @__PURE__ */ o(
96
+ l,
117
97
  {
118
98
  as: "button",
119
- onClick: () => i((o) => !o),
99
+ onClick: () => t((n) => !n),
120
100
  children: "выйди"
121
101
  }
122
102
  )
@@ -126,5 +106,5 @@ const p = {}, z = () => {
126
106
  ] });
127
107
  };
128
108
  export {
129
- z as default
109
+ k as default
130
110
  };
@@ -1,18 +1,18 @@
1
- import { jsxs as s, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as n } from "react";
3
- import { SummarySelect as u } from "../../components/SummarySelect/ui/SummarySelect.js";
4
- import { F as m, S as y } from "../../FilterWithSave-BWA01WwU.js";
3
+ import { FilterWithSave as u } from "../../components/FilterWithSave/ui/FilterWithSave.js";
5
4
  import { defaultOption as i, defaultCategory as a } from "./const.js";
6
- import { CheckboxSelect as v } from "../../components/CheckboxSelect/ui/CheckboxSelect.js";
7
- import { CheckBox as k } from "../../components/CheckBox/CheckBox.js";
8
- import { Switcher as S } from "../../components/Switcher/ui/Switcher.js";
5
+ import { CheckboxSelect as m } from "../../components/CheckboxSelect/ui/CheckboxSelect.js";
6
+ import { CheckBox as y } from "../../components/CheckBox/CheckBox.js";
7
+ import { SortSelect as k } from "../../components/SortSelect/ui/SortSelect.js";
8
+ import { Switcher as v } from "../../components/Switcher/ui/Switcher.js";
9
+ import { SummarySelect as p } from "../../components/SummarySelect/ui/SummarySelect.js";
9
10
  import { Select as c } from "../../components/Select/ui/Select.js";
10
- const x = "_sort_1szg2_1", V = "_addClass_1szg2_6", _ = "_filterWithSave_1szg2_14", r = {
11
+ const x = "_sort_1szg2_1", V = "_filterWithSave_1szg2_14", r = {
11
12
  sort: x,
12
- addClass: V,
13
- filterWithSave: _
14
- }, O = () => {
15
- const [g, p] = n(i[0]), [t, C] = n([]), [d, h] = n("options"), f = [
13
+ filterWithSave: V
14
+ }, P = () => {
15
+ const [S, g] = n(i[0]), [s, b] = n([]), [o, f] = n("options"), h = [
16
16
  {
17
17
  label: "sdfsdfsdf",
18
18
  setValue: () => {
@@ -48,15 +48,15 @@ const x = "_sort_1szg2_1", V = "_addClass_1szg2_6", _ = "_filterWithSave_1szg2_1
48
48
  isSelected: !0,
49
49
  disabled: !1
50
50
  }
51
- ], b = (l) => {
52
- !l || !l.target || p(l.target.value);
53
- }, o = (l) => {
54
- l && C(l);
51
+ ], C = (l) => {
52
+ !l || !l.target || g(l.target.value);
53
+ }, d = (l) => {
54
+ l && b(l);
55
55
  };
56
- return /* @__PURE__ */ s("div", { className: r.root, children: [
57
- /* @__PURE__ */ s("div", { children: [
56
+ return /* @__PURE__ */ t("div", { className: r.root, children: [
57
+ /* @__PURE__ */ t("div", { children: [
58
58
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
59
- m,
59
+ u,
60
60
  {
61
61
  onClick: () => console.log("filter"),
62
62
  onSaveClick: () => console.log("save"),
@@ -73,18 +73,18 @@ const x = "_sort_1szg2_1", V = "_addClass_1szg2_6", _ = "_filterWithSave_1szg2_1
73
73
  ]
74
74
  }
75
75
  ) }),
76
- /* @__PURE__ */ s("div", { children: [
76
+ /* @__PURE__ */ t("div", { children: [
77
77
  /* @__PURE__ */ e("h2", { children: " Селектор с чекбоксами" }),
78
- /* @__PURE__ */ e(v, { checkboxes: f })
78
+ /* @__PURE__ */ e(m, { checkboxes: h })
79
79
  ] }),
80
- /* @__PURE__ */ s("div", { children: [
80
+ /* @__PURE__ */ t("div", { children: [
81
81
  /* @__PURE__ */ e("h2", { children: " Селектор с чекбоксами" }),
82
- /* @__PURE__ */ e(v, { checkboxes: f, isPromotion: !0 })
82
+ /* @__PURE__ */ e(m, { checkboxes: h, isPromotion: !0 })
83
83
  ] }),
84
- /* @__PURE__ */ s("div", { children: [
84
+ /* @__PURE__ */ t("div", { children: [
85
85
  /* @__PURE__ */ e("h2", { children: "старый чекбокс" }),
86
86
  /* @__PURE__ */ e(
87
- k,
87
+ y,
88
88
  {
89
89
  isChecked: !1,
90
90
  emitIsChecked: () => {
@@ -93,103 +93,103 @@ const x = "_sort_1szg2_1", V = "_addClass_1szg2_6", _ = "_filterWithSave_1szg2_1
93
93
  }
94
94
  )
95
95
  ] }),
96
- /* @__PURE__ */ s("div", { children: [
96
+ /* @__PURE__ */ t("div", { children: [
97
97
  /* @__PURE__ */ e("h2", { children: " Фильтрация с сохранением" }),
98
- /* @__PURE__ */ e("div", { className: r.filterWithSave, children: /* @__PURE__ */ e(m, {}) })
98
+ /* @__PURE__ */ e("div", { className: r.filterWithSave, children: /* @__PURE__ */ e(u, {}) })
99
99
  ] }),
100
100
  /* @__PURE__ */ e("h2", { children: "Сорт селект" }),
101
101
  /* @__PURE__ */ e("div", { className: r.sort, children: /* @__PURE__ */ e(
102
- y,
102
+ k,
103
103
  {
104
104
  mini: !0,
105
- selectedOption: g,
105
+ selectedOption: S,
106
106
  options: i,
107
- onChange: (l) => b(l)
107
+ onChange: (l) => C(l)
108
108
  }
109
109
  ) })
110
110
  ] }),
111
- /* @__PURE__ */ s("div", { className: r.summarySelect, children: [
112
- /* @__PURE__ */ s("div", { style: { display: "flex", gap: "20px" }, children: [
111
+ /* @__PURE__ */ t("div", { className: r.summarySelect, children: [
112
+ /* @__PURE__ */ t("div", { style: { display: "flex", gap: "20px" }, children: [
113
113
  /* @__PURE__ */ e("h2", { children: "SummarySelect" }),
114
114
  /* @__PURE__ */ e(
115
- S,
115
+ v,
116
116
  {
117
- isActive: d === "category",
118
- onClick: () => h(d === "options" ? "category" : "options"),
117
+ isActive: o === "category",
118
+ onClick: () => f(o === "options" ? "category" : "options"),
119
119
  children: "mode category"
120
120
  }
121
121
  ),
122
122
  /* @__PURE__ */ e(
123
- S,
123
+ v,
124
124
  {
125
- isActive: d === "double",
126
- onClick: () => h(d === "options" ? "double" : "options"),
125
+ isActive: o === "double",
126
+ onClick: () => f(o === "options" ? "double" : "options"),
127
127
  children: "mode double"
128
128
  }
129
129
  )
130
130
  ] }),
131
131
  /* @__PURE__ */ e(
132
- u,
132
+ p,
133
133
  {
134
- mode: d,
134
+ mode: o,
135
135
  label: "Проект",
136
136
  isShowReset: !0,
137
- selectedValues: t,
138
- options: d === "category" ? a : i,
139
- onChange: (l) => o(l),
137
+ selectedValues: s,
138
+ options: o === "category" ? a : i,
139
+ onChange: (l) => d(l),
140
140
  selectAll: { enabled: !0 }
141
141
  }
142
142
  ),
143
143
  /* @__PURE__ */ e(
144
- u,
144
+ p,
145
145
  {
146
146
  mode: "single",
147
147
  label: "Проект",
148
148
  isShowReset: !0,
149
- selectedValues: t,
149
+ selectedValues: s,
150
150
  options: i,
151
- onChange: (l) => o(l)
151
+ onChange: (l) => d(l)
152
152
  }
153
153
  )
154
154
  ] }),
155
- /* @__PURE__ */ s("div", { children: [
155
+ /* @__PURE__ */ t("div", { children: [
156
156
  /* @__PURE__ */ e("h2", { children: "Селект mode option" }),
157
157
  /* @__PURE__ */ e(
158
158
  c,
159
159
  {
160
- selectedValues: t,
160
+ selectedValues: s,
161
161
  options: a,
162
- onChange: (l) => o(l)
162
+ onChange: (l) => d(l)
163
163
  }
164
164
  )
165
165
  ] }),
166
- /* @__PURE__ */ s("div", { children: [
166
+ /* @__PURE__ */ t("div", { children: [
167
167
  /* @__PURE__ */ e("h2", { children: "Селект mode category" }),
168
168
  /* @__PURE__ */ e(
169
169
  c,
170
170
  {
171
171
  mode: "category",
172
- selectedValues: t,
172
+ selectedValues: s,
173
173
  options: a,
174
- onChange: (l) => o(l)
174
+ onChange: (l) => d(l)
175
175
  }
176
176
  )
177
177
  ] }),
178
- /* @__PURE__ */ s("div", { children: [
178
+ /* @__PURE__ */ t("div", { children: [
179
179
  /* @__PURE__ */ e("h2", { children: "Селект mode double" }),
180
180
  /* @__PURE__ */ e(
181
181
  c,
182
182
  {
183
183
  selectAll: { enabled: !0 },
184
- selectedValues: t,
184
+ selectedValues: s,
185
185
  options: a,
186
186
  mode: "double",
187
187
  clickableOptions: ["Category1", "options1", "options3"],
188
- onChange: (l) => o(l)
188
+ onChange: (l) => d(l)
189
189
  }
190
190
  )
191
191
  ] }),
192
- /* @__PURE__ */ s("div", { children: [
192
+ /* @__PURE__ */ t("div", { children: [
193
193
  /* @__PURE__ */ e("h2", { children: "Селект кнопка" }),
194
194
  /* @__PURE__ */ e("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ e(
195
195
  c,
@@ -198,14 +198,14 @@ const x = "_sort_1szg2_1", V = "_addClass_1szg2_6", _ = "_filterWithSave_1szg2_1
198
198
  size_s: "small",
199
199
  size_l: "medium",
200
200
  isListRight: !0,
201
- selectedValues: t,
201
+ selectedValues: s,
202
202
  options: i,
203
- onChange: (l) => o(l)
203
+ onChange: (l) => d(l)
204
204
  }
205
205
  ) })
206
206
  ] })
207
207
  ] });
208
208
  };
209
209
  export {
210
- O as SelectPage
210
+ P as SelectPage
211
211
  };