stone-kit 0.0.1029 → 0.0.1030
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.js +4 -4
- package/dist/FilterWithSave-BWA01WwU.js +2476 -0
- package/dist/Menu-CeBSiTyP.js +513 -0
- package/dist/{Option-CtwUzW8a.js → Option-DU8cvBnA.js} +1 -1
- package/dist/Router.js +1 -1
- package/dist/components/Button/ui/Button.d.ts +1 -0
- package/dist/components/Button/ui/Button.js +1 -1
- package/dist/components/Button/ui/Button.types.d.ts +1 -0
- package/dist/components/CheckBox/CheckBox.d.ts +1 -0
- package/dist/components/CheckBox/CheckBox.js +1 -1
- package/dist/components/CheckBox/CheckBox.types.d.ts +1 -0
- package/dist/components/CheckBoxNew/CheckBox.types.d.ts +1 -0
- package/dist/components/CheckBoxNew/CheckBoxNew.d.ts +1 -0
- package/dist/components/CheckBoxNew/CheckBoxNew.js +17 -17
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.d.ts +1 -0
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +34 -34
- package/dist/components/CommercialLotCard/CommercialLotCard.d.ts +1 -0
- package/dist/components/CommercialLotCard/CommercialLotCard.js +7 -50
- package/dist/components/CommercialLotCard/components/Price/Price.d.ts +1 -0
- package/dist/components/CommercialLotCard/components/Price/Price.js +24 -23
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.d.ts +1 -0
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +27 -98
- package/dist/components/CommercialLotCard/components/Tags/Tags.d.ts +1 -0
- package/dist/components/CommercialLotCard/components/Tags/Tags.js +17 -17
- package/dist/components/CommercialLotCard/types/CommercialLotCard.types.d.ts +1 -0
- package/dist/components/CommercialLotCard/types/LotCard.d.ts +1 -0
- package/dist/components/CommercialLotCard/utils/formatPrice.js +2 -1
- package/dist/components/CommercialLotCard/utils/getTagsFeatures.d.ts +2 -1
- package/dist/components/DestinationTab/ui/DestinationTab.d.ts +1 -0
- package/dist/components/DestinationTab/ui/DestinationTab.js +41 -41
- package/dist/components/DestinationTab/ui/DestinationTab.types.d.ts +1 -0
- package/dist/components/FieldInput/ui/FieldInput.d.ts +1 -0
- package/dist/components/FieldInput/ui/FieldInput.types.d.ts +1 -0
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +2 -1
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +26 -54
- package/dist/components/FilterWithSave/ui/FilterWithSave.d.ts +1 -0
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +7 -323
- package/dist/components/Flex/ui/Flex.d.ts +1 -0
- package/dist/components/Flex/ui/Flex.js +1 -1
- package/dist/components/Flex/ui/Flex.types.d.ts +1 -0
- package/dist/components/FormModal/ui/ModalForm.js +28 -1445
- package/dist/components/GroupedInput/ui/GroupedInputs.d.ts +1 -0
- package/dist/components/GroupedInput/ui/GroupedInputs.js +1 -1
- package/dist/components/GroupedInput/ui/GroupedInputs.types.d.ts +1 -0
- package/dist/components/Input/ui/Input.d.ts +2 -1
- package/dist/components/Input/ui/Input.js +325 -234
- package/dist/components/Logo/ui/Logo.d.ts +1 -0
- package/dist/components/Logo/ui/Logo.js +6 -6
- package/dist/components/LotCard/hooks/useLotCard.d.ts +1 -0
- package/dist/components/LotCard/hooks/useLotCard.js +24 -6
- package/dist/components/LotCard/index.js +2 -2
- package/dist/components/LotCard/ui/LotCard.d.ts +1 -0
- package/dist/components/LotCard/ui/LotCard.js +10 -213
- package/dist/components/LotCard/ui/LotCard.types.d.ts +1 -0
- package/dist/components/LotCard/utils/formatPrice.js +2 -1
- package/dist/components/LotCard/utils/getTagsFeatures.d.ts +2 -1
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +1 -1
- package/dist/components/MetroLabel/ui/MetroLabel.d.ts +1 -0
- package/dist/components/MetroLabel/ui/MetroLabel.js +16 -16
- package/dist/components/MetroLabel/ui/MetroLabel.types.d.ts +1 -0
- package/dist/components/MetroTag/ui/MetroTag.d.ts +1 -0
- package/dist/components/MetroTag/ui/MetroTag.js +74 -74
- package/dist/components/MetroTag/ui/MetroTag.types.d.ts +1 -0
- package/dist/components/Modal/ui/Modal.d.ts +1 -0
- package/dist/components/Modal/ui/Modal.js +37 -34
- package/dist/components/Modal/ui/Modal.types.d.ts +1 -0
- package/dist/components/ModalSuccess/ModalSuccess.d.ts +1 -0
- package/dist/components/ModalSuccess/ModalSuccess.js +19 -18
- package/dist/components/ModalSuccess/ModalSuccess.types.d.ts +1 -0
- package/dist/components/NewIcon/icons/PinTrans.d.ts +1 -0
- package/dist/components/NewIcon/icons/SmallFilter.d.ts +1 -0
- package/dist/components/NewIcon/ui/NewIcon.d.ts +1 -0
- package/dist/components/NewIcon/ui/NewIcon.js +1 -1
- package/dist/components/NewIcon/ui/NewIcon.types.d.ts +1 -0
- package/dist/components/NewIcon/ui/iconTypes.d.ts +1 -0
- package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +11 -9
- package/dist/components/RoundButton/ui/RoundButton.d.ts +1 -0
- package/dist/components/RoundButton/ui/RoundButton.js +2 -2
- package/dist/components/RoundButton/ui/RoundButton.types.d.ts +1 -0
- package/dist/components/Select/model/selectMode.d.ts +1 -0
- package/dist/components/Select/model/selectMode.js +30 -30
- package/dist/components/Select/ui/Category.d.ts +1 -0
- package/dist/components/Select/ui/Category.js +3 -3
- package/dist/components/Select/ui/Option.d.ts +1 -0
- package/dist/components/Select/ui/Option.js +2 -2
- package/dist/components/Select/ui/Select.d.ts +1 -0
- package/dist/components/Select/ui/Select.js +115 -115
- package/dist/components/SliderNavigation/index.d.ts +1 -0
- package/dist/components/SliderNavigation/ui/SliderNavigation.d.ts +1 -0
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +6 -6
- package/dist/components/SortSelect/hooks/useSortSelect.d.ts +1 -0
- package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
- package/dist/components/SortSelect/index.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.d.ts +1 -0
- package/dist/components/SortSelect/ui/SortSelect.js +26 -108
- package/dist/components/SortSelect/ui/SortSelect.types.d.ts +1 -0
- package/dist/components/SummarySelect/ui/SummarySelect.d.ts +1 -0
- package/dist/components/SummarySelect/ui/SummarySelect.js +65 -59
- package/dist/components/Switcher/ui/Switcher.d.ts +1 -0
- package/dist/components/Switcher/ui/Switcher.js +1 -1
- package/dist/components/Switcher/ui/Switcher.types.d.ts +1 -0
- package/dist/components/TabSelect/ui/TabSelect.d.ts +1 -0
- package/dist/components/TabSelect/ui/TabSelect.js +5 -5
- package/dist/components/TabSwitcher/index.js +2 -2
- package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +1 -0
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +26 -120
- package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +1 -0
- package/dist/components/Tag/ui/Tag.d.ts +1 -0
- package/dist/components/Tag/ui/Tag.js +91 -91
- package/dist/components/Tag/ui/Tag.types.d.ts +1 -0
- package/dist/components/Text/ui/Text.d.ts +1 -0
- package/dist/components/Text/ui/Text.js +1 -1
- package/dist/components/Text/ui/Text.types.d.ts +1 -0
- package/dist/components/TextArea/TextArea.d.ts +1 -0
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/ZoomControls/ui/ZoomControls.d.ts +1 -0
- package/dist/components/ZoomControls/ui/ZoomControls.types.d.ts +1 -0
- package/dist/components/mobileButton/ui/MobileButton.d.ts +1 -0
- package/dist/components/mobileButton/ui/MobileButton.js +1 -1
- package/dist/components/mobileButton/ui/MobileButton.types.d.ts +1 -0
- package/dist/index-DmANy9jd.js +890 -0
- package/dist/{index-BJwl9stn.js → index-DvCs2JPX.js} +9695 -9596
- package/dist/index-rKuIKazb.js +45 -0
- package/dist/layout/Layout.d.ts +1 -0
- package/dist/layout/components/Header/Header.js +71 -48
- package/dist/layout/components/Menu.js +26 -107
- package/dist/main.js +65 -70
- package/dist/pages/ButtonsPage/Buttons.js +61 -44
- package/dist/pages/FormsPage/FormsPage.js +50 -26
- package/dist/pages/IconsPage/IconsPage.js +31 -9
- package/dist/pages/InputPage/InputPage.js +32 -10
- package/dist/pages/LogoPage/LogoPage.js +35 -13
- package/dist/pages/LotsPage/LotsPage.js +17 -18
- package/dist/pages/LotsPage/const.d.ts +1 -0
- package/dist/pages/ModalsPage/ModalPage.js +66 -46
- package/dist/pages/SelectPage/SelectPage.js +58 -58
- package/dist/pages/TabsPage/TabsPage.js +20 -19
- package/dist/pages/TagsPage/TagsPage.js +44 -23
- package/dist/shared/checkLargeOffice.d.ts +1 -0
- package/dist/shared/checkLargeOffice.js +1 -1
- package/dist/shared/mlnRound.js +2 -1
- package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +2 -2
- package/dist/stories/shared/ui/Button/Button.stories.js +5 -5
- package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +1 -1
- package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +1 -1
- package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +1 -1
- package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +1 -1
- package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +1 -1
- package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +2 -2
- package/dist/stories/shared/ui/FormModal/FormModal.stories.js +8 -8
- package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +1 -1
- package/dist/stories/shared/ui/Logo/Logo.stories.js +1 -1
- package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +1 -1
- package/dist/stories/shared/ui/Modal/Modal.stories.js +1 -1
- package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +1 -1
- package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +1 -1
- package/dist/stories/shared/ui/Select/Select.stories.js +1 -1
- package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +1 -1
- package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +2 -2
- package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +1 -1
- package/dist/stories/shared/ui/Switcher/Switcher.stories.js +1 -1
- package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +1 -1
- package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +2 -2
- package/dist/stories/shared/ui/Tag/Tag.stories.js +4 -4
- package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +1 -1
- package/dist/style.css +1 -0
- package/dist/useSortSelect-BTCEVMVn.js +80 -0
- package/package.json +1 -1
- package/dist/chunk-4WY6JWTD-BeveLKf_.js +0 -1582
- package/dist/index-YnD2EP-S.js +0 -43
- package/dist/stone-kit.css +0 -1
- package/dist/useLotCard-CYcRSogE.js +0 -186
- package/dist/useSortSelect-Cy3od4ig.js +0 -80
|
@@ -1,102 +1,122 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { Button as
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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,
|
|
10
30
|
{
|
|
11
31
|
as: "button",
|
|
12
|
-
onClick: () =>
|
|
32
|
+
onClick: () => n((o) => !o),
|
|
13
33
|
children: "Каскад модалок"
|
|
14
34
|
}
|
|
15
35
|
),
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
|
|
36
|
+
/* @__PURE__ */ t(
|
|
37
|
+
m,
|
|
18
38
|
{
|
|
19
|
-
isOpen:
|
|
20
|
-
emitIsOpen: () =>
|
|
39
|
+
isOpen: s,
|
|
40
|
+
emitIsOpen: () => n((o) => !o),
|
|
21
41
|
isTransparentBack: !0,
|
|
22
|
-
children: /* @__PURE__ */
|
|
23
|
-
|
|
42
|
+
children: /* @__PURE__ */ t(
|
|
43
|
+
r,
|
|
24
44
|
{
|
|
25
45
|
as: "button",
|
|
26
|
-
onClick: () =>
|
|
46
|
+
onClick: () => i((o) => !o),
|
|
27
47
|
children: "вайди"
|
|
28
48
|
}
|
|
29
49
|
)
|
|
30
50
|
}
|
|
31
51
|
),
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
|
|
52
|
+
/* @__PURE__ */ l(
|
|
53
|
+
m,
|
|
34
54
|
{
|
|
35
|
-
isOpen:
|
|
36
|
-
emitIsOpen: () =>
|
|
55
|
+
isOpen: c,
|
|
56
|
+
emitIsOpen: () => i((o) => !o),
|
|
37
57
|
leaveDisableScroll: !0,
|
|
38
58
|
children: [
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
-
|
|
59
|
+
/* @__PURE__ */ t(
|
|
60
|
+
r,
|
|
41
61
|
{
|
|
42
62
|
as: "button",
|
|
43
|
-
onClick: () =>
|
|
63
|
+
onClick: () => i((o) => !o),
|
|
44
64
|
children: "выйди"
|
|
45
65
|
}
|
|
46
66
|
),
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
|
|
67
|
+
/* @__PURE__ */ t(
|
|
68
|
+
r,
|
|
49
69
|
{
|
|
50
70
|
as: "button",
|
|
51
|
-
onClick: () =>
|
|
71
|
+
onClick: () => i((o) => !o),
|
|
52
72
|
children: "выйди"
|
|
53
73
|
}
|
|
54
74
|
),
|
|
55
|
-
/* @__PURE__ */
|
|
56
|
-
|
|
75
|
+
/* @__PURE__ */ t(
|
|
76
|
+
r,
|
|
57
77
|
{
|
|
58
78
|
as: "button",
|
|
59
|
-
onClick: () =>
|
|
79
|
+
onClick: () => i((o) => !o),
|
|
60
80
|
children: "выйди"
|
|
61
81
|
}
|
|
62
82
|
),
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
-
|
|
83
|
+
/* @__PURE__ */ t(
|
|
84
|
+
r,
|
|
65
85
|
{
|
|
66
86
|
as: "button",
|
|
67
|
-
onClick: () =>
|
|
87
|
+
onClick: () => i((o) => !o),
|
|
68
88
|
children: "выйди"
|
|
69
89
|
}
|
|
70
90
|
),
|
|
71
|
-
/* @__PURE__ */
|
|
72
|
-
|
|
91
|
+
/* @__PURE__ */ t(
|
|
92
|
+
r,
|
|
73
93
|
{
|
|
74
94
|
as: "button",
|
|
75
|
-
onClick: () =>
|
|
95
|
+
onClick: () => i((o) => !o),
|
|
76
96
|
children: "выйди"
|
|
77
97
|
}
|
|
78
98
|
),
|
|
79
|
-
/* @__PURE__ */
|
|
80
|
-
|
|
99
|
+
/* @__PURE__ */ t(
|
|
100
|
+
r,
|
|
81
101
|
{
|
|
82
102
|
as: "button",
|
|
83
|
-
onClick: () =>
|
|
103
|
+
onClick: () => i((o) => !o),
|
|
84
104
|
children: "выйди"
|
|
85
105
|
}
|
|
86
106
|
),
|
|
87
|
-
/* @__PURE__ */
|
|
88
|
-
|
|
107
|
+
/* @__PURE__ */ t(
|
|
108
|
+
r,
|
|
89
109
|
{
|
|
90
110
|
as: "button",
|
|
91
|
-
onClick: () =>
|
|
111
|
+
onClick: () => i((o) => !o),
|
|
92
112
|
children: "выйди"
|
|
93
113
|
}
|
|
94
114
|
),
|
|
95
|
-
/* @__PURE__ */
|
|
96
|
-
|
|
115
|
+
/* @__PURE__ */ t(
|
|
116
|
+
r,
|
|
97
117
|
{
|
|
98
118
|
as: "button",
|
|
99
|
-
onClick: () =>
|
|
119
|
+
onClick: () => i((o) => !o),
|
|
100
120
|
children: "выйди"
|
|
101
121
|
}
|
|
102
122
|
)
|
|
@@ -106,5 +126,5 @@ const d = {}, k = () => {
|
|
|
106
126
|
] });
|
|
107
127
|
};
|
|
108
128
|
export {
|
|
109
|
-
|
|
129
|
+
z as default
|
|
110
130
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { SummarySelect as u } from "../../components/SummarySelect/ui/SummarySelect.js";
|
|
4
|
+
import { F as m, S as y } from "../../FilterWithSave-BWA01WwU.js";
|
|
4
5
|
import { defaultOption as i, defaultCategory as a } from "./const.js";
|
|
5
|
-
import { CheckboxSelect as
|
|
6
|
-
import { CheckBox as
|
|
7
|
-
import {
|
|
8
|
-
import { Switcher as v } from "../../components/Switcher/ui/Switcher.js";
|
|
9
|
-
import { SummarySelect as p } from "../../components/SummarySelect/ui/SummarySelect.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";
|
|
10
9
|
import { Select as c } from "../../components/Select/ui/Select.js";
|
|
11
|
-
const x = "_sort_1szg2_1", V = "_filterWithSave_1szg2_14", r = {
|
|
10
|
+
const x = "_sort_1szg2_1", V = "_addClass_1szg2_6", _ = "_filterWithSave_1szg2_14", r = {
|
|
12
11
|
sort: x,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
addClass: V,
|
|
13
|
+
filterWithSave: _
|
|
14
|
+
}, O = () => {
|
|
15
|
+
const [g, p] = n(i[0]), [t, C] = n([]), [d, h] = n("options"), f = [
|
|
16
16
|
{
|
|
17
17
|
label: "sdfsdfsdf",
|
|
18
18
|
setValue: () => {
|
|
@@ -48,15 +48,15 @@ const x = "_sort_1szg2_1", V = "_filterWithSave_1szg2_14", r = {
|
|
|
48
48
|
isSelected: !0,
|
|
49
49
|
disabled: !1
|
|
50
50
|
}
|
|
51
|
-
],
|
|
52
|
-
!l || !l.target ||
|
|
53
|
-
},
|
|
54
|
-
l &&
|
|
51
|
+
], b = (l) => {
|
|
52
|
+
!l || !l.target || p(l.target.value);
|
|
53
|
+
}, o = (l) => {
|
|
54
|
+
l && C(l);
|
|
55
55
|
};
|
|
56
|
-
return /* @__PURE__ */
|
|
57
|
-
/* @__PURE__ */
|
|
56
|
+
return /* @__PURE__ */ s("div", { className: r.root, children: [
|
|
57
|
+
/* @__PURE__ */ s("div", { children: [
|
|
58
58
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
59
|
-
|
|
59
|
+
m,
|
|
60
60
|
{
|
|
61
61
|
onClick: () => console.log("filter"),
|
|
62
62
|
onSaveClick: () => console.log("save"),
|
|
@@ -73,18 +73,18 @@ const x = "_sort_1szg2_1", V = "_filterWithSave_1szg2_14", r = {
|
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
) }),
|
|
76
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ s("div", { children: [
|
|
77
77
|
/* @__PURE__ */ e("h2", { children: " Селектор с чекбоксами" }),
|
|
78
|
-
/* @__PURE__ */ e(
|
|
78
|
+
/* @__PURE__ */ e(v, { checkboxes: f })
|
|
79
79
|
] }),
|
|
80
|
-
/* @__PURE__ */
|
|
80
|
+
/* @__PURE__ */ s("div", { children: [
|
|
81
81
|
/* @__PURE__ */ e("h2", { children: " Селектор с чекбоксами" }),
|
|
82
|
-
/* @__PURE__ */ e(
|
|
82
|
+
/* @__PURE__ */ e(v, { checkboxes: f, isPromotion: !0 })
|
|
83
83
|
] }),
|
|
84
|
-
/* @__PURE__ */
|
|
84
|
+
/* @__PURE__ */ s("div", { children: [
|
|
85
85
|
/* @__PURE__ */ e("h2", { children: "старый чекбокс" }),
|
|
86
86
|
/* @__PURE__ */ e(
|
|
87
|
-
|
|
87
|
+
k,
|
|
88
88
|
{
|
|
89
89
|
isChecked: !1,
|
|
90
90
|
emitIsChecked: () => {
|
|
@@ -93,103 +93,103 @@ const x = "_sort_1szg2_1", V = "_filterWithSave_1szg2_14", r = {
|
|
|
93
93
|
}
|
|
94
94
|
)
|
|
95
95
|
] }),
|
|
96
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ s("div", { children: [
|
|
97
97
|
/* @__PURE__ */ e("h2", { children: " Фильтрация с сохранением" }),
|
|
98
|
-
/* @__PURE__ */ e("div", { className: r.filterWithSave, children: /* @__PURE__ */ e(
|
|
98
|
+
/* @__PURE__ */ e("div", { className: r.filterWithSave, children: /* @__PURE__ */ e(m, {}) })
|
|
99
99
|
] }),
|
|
100
100
|
/* @__PURE__ */ e("h2", { children: "Сорт селект" }),
|
|
101
101
|
/* @__PURE__ */ e("div", { className: r.sort, children: /* @__PURE__ */ e(
|
|
102
|
-
|
|
102
|
+
y,
|
|
103
103
|
{
|
|
104
104
|
mini: !0,
|
|
105
|
-
selectedOption:
|
|
105
|
+
selectedOption: g,
|
|
106
106
|
options: i,
|
|
107
|
-
onChange: (l) =>
|
|
107
|
+
onChange: (l) => b(l)
|
|
108
108
|
}
|
|
109
109
|
) })
|
|
110
110
|
] }),
|
|
111
|
-
/* @__PURE__ */
|
|
112
|
-
/* @__PURE__ */
|
|
111
|
+
/* @__PURE__ */ s("div", { className: r.summarySelect, children: [
|
|
112
|
+
/* @__PURE__ */ s("div", { style: { display: "flex", gap: "20px" }, children: [
|
|
113
113
|
/* @__PURE__ */ e("h2", { children: "SummarySelect" }),
|
|
114
114
|
/* @__PURE__ */ e(
|
|
115
|
-
|
|
115
|
+
S,
|
|
116
116
|
{
|
|
117
|
-
isActive:
|
|
118
|
-
onClick: () =>
|
|
117
|
+
isActive: d === "category",
|
|
118
|
+
onClick: () => h(d === "options" ? "category" : "options"),
|
|
119
119
|
children: "mode category"
|
|
120
120
|
}
|
|
121
121
|
),
|
|
122
122
|
/* @__PURE__ */ e(
|
|
123
|
-
|
|
123
|
+
S,
|
|
124
124
|
{
|
|
125
|
-
isActive:
|
|
126
|
-
onClick: () =>
|
|
125
|
+
isActive: d === "double",
|
|
126
|
+
onClick: () => h(d === "options" ? "double" : "options"),
|
|
127
127
|
children: "mode double"
|
|
128
128
|
}
|
|
129
129
|
)
|
|
130
130
|
] }),
|
|
131
131
|
/* @__PURE__ */ e(
|
|
132
|
-
|
|
132
|
+
u,
|
|
133
133
|
{
|
|
134
|
-
mode:
|
|
134
|
+
mode: d,
|
|
135
135
|
label: "Проект",
|
|
136
136
|
isShowReset: !0,
|
|
137
|
-
selectedValues:
|
|
138
|
-
options:
|
|
139
|
-
onChange: (l) =>
|
|
137
|
+
selectedValues: t,
|
|
138
|
+
options: d === "category" ? a : i,
|
|
139
|
+
onChange: (l) => o(l),
|
|
140
140
|
selectAll: { enabled: !0 }
|
|
141
141
|
}
|
|
142
142
|
),
|
|
143
143
|
/* @__PURE__ */ e(
|
|
144
|
-
|
|
144
|
+
u,
|
|
145
145
|
{
|
|
146
146
|
mode: "single",
|
|
147
147
|
label: "Проект",
|
|
148
148
|
isShowReset: !0,
|
|
149
|
-
selectedValues:
|
|
149
|
+
selectedValues: t,
|
|
150
150
|
options: i,
|
|
151
|
-
onChange: (l) =>
|
|
151
|
+
onChange: (l) => o(l)
|
|
152
152
|
}
|
|
153
153
|
)
|
|
154
154
|
] }),
|
|
155
|
-
/* @__PURE__ */
|
|
155
|
+
/* @__PURE__ */ s("div", { children: [
|
|
156
156
|
/* @__PURE__ */ e("h2", { children: "Селект mode option" }),
|
|
157
157
|
/* @__PURE__ */ e(
|
|
158
158
|
c,
|
|
159
159
|
{
|
|
160
|
-
selectedValues:
|
|
160
|
+
selectedValues: t,
|
|
161
161
|
options: a,
|
|
162
|
-
onChange: (l) =>
|
|
162
|
+
onChange: (l) => o(l)
|
|
163
163
|
}
|
|
164
164
|
)
|
|
165
165
|
] }),
|
|
166
|
-
/* @__PURE__ */
|
|
166
|
+
/* @__PURE__ */ s("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:
|
|
172
|
+
selectedValues: t,
|
|
173
173
|
options: a,
|
|
174
|
-
onChange: (l) =>
|
|
174
|
+
onChange: (l) => o(l)
|
|
175
175
|
}
|
|
176
176
|
)
|
|
177
177
|
] }),
|
|
178
|
-
/* @__PURE__ */
|
|
178
|
+
/* @__PURE__ */ s("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:
|
|
184
|
+
selectedValues: t,
|
|
185
185
|
options: a,
|
|
186
186
|
mode: "double",
|
|
187
187
|
clickableOptions: ["Category1", "options1", "options3"],
|
|
188
|
-
onChange: (l) =>
|
|
188
|
+
onChange: (l) => o(l)
|
|
189
189
|
}
|
|
190
190
|
)
|
|
191
191
|
] }),
|
|
192
|
-
/* @__PURE__ */
|
|
192
|
+
/* @__PURE__ */ s("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 = "_filterWithSave_1szg2_14", r = {
|
|
|
198
198
|
size_s: "small",
|
|
199
199
|
size_l: "medium",
|
|
200
200
|
isListRight: !0,
|
|
201
|
-
selectedValues:
|
|
201
|
+
selectedValues: t,
|
|
202
202
|
options: i,
|
|
203
|
-
onChange: (l) =>
|
|
203
|
+
onChange: (l) => o(l)
|
|
204
204
|
}
|
|
205
205
|
) })
|
|
206
206
|
] })
|
|
207
207
|
] });
|
|
208
208
|
};
|
|
209
209
|
export {
|
|
210
|
-
|
|
210
|
+
O as SelectPage
|
|
211
211
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import {
|
|
4
|
-
import { FieldInput as
|
|
5
|
-
import { TabSelect as
|
|
6
|
-
const m = "_root_idppf_1", _ = "_tabsShort_idppf_7", w = "_tabSelectWrapper_idppf_11", v = "
|
|
1
|
+
import { jsxs as p, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useState as o } from "react";
|
|
3
|
+
import { T as i } from "../../FilterWithSave-BWA01WwU.js";
|
|
4
|
+
import { FieldInput as l } from "../../components/FieldInput/ui/FieldInput.js";
|
|
5
|
+
import { TabSelect as d } from "../../components/TabSelect/ui/TabSelect.js";
|
|
6
|
+
const m = "_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 = {
|
|
7
7
|
root: m,
|
|
8
8
|
tabsShort: _,
|
|
9
9
|
tabSelectWrapper: w,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
destinationWrapper: v,
|
|
11
|
+
whiteRow_apart: g,
|
|
12
|
+
row_apart: u
|
|
13
|
+
}, f = () => {
|
|
14
|
+
const [s, h] = o("C мебелью"), c = ["C мебелью", "C размерами", "План этажа", "Ген. план"], r = ["Студия", "1", "2", "3", "4+"];
|
|
15
|
+
return /* @__PURE__ */ p("div", { className: n.root, children: [
|
|
15
16
|
/* @__PURE__ */ a(i, { children: r.map((t, e) => /* @__PURE__ */ a(
|
|
16
17
|
i.Item,
|
|
17
18
|
{
|
|
@@ -25,7 +26,7 @@ const m = "_root_idppf_1", _ = "_tabsShort_idppf_7", w = "_tabSelectWrapper_idpp
|
|
|
25
26
|
},
|
|
26
27
|
e
|
|
27
28
|
)) }),
|
|
28
|
-
/* @__PURE__ */ a("div", { className: n.tabsShort, children: /* @__PURE__ */ a(
|
|
29
|
+
/* @__PURE__ */ a("div", { className: n.tabsShort, children: /* @__PURE__ */ a(l, { label: "Количество спален", children: /* @__PURE__ */ a(i, { children: r.map((t, e) => /* @__PURE__ */ a(
|
|
29
30
|
i.Item,
|
|
30
31
|
{
|
|
31
32
|
itemsLength: r.length,
|
|
@@ -35,7 +36,7 @@ const m = "_root_idppf_1", _ = "_tabsShort_idppf_7", w = "_tabSelectWrapper_idpp
|
|
|
35
36
|
children: t
|
|
36
37
|
}
|
|
37
38
|
)) }) }) }),
|
|
38
|
-
/* @__PURE__ */ a("div", { className: n.tabsShort, children: /* @__PURE__ */ a(
|
|
39
|
+
/* @__PURE__ */ a("div", { className: n.tabsShort, children: /* @__PURE__ */ a(l, { label: "Количество спален", children: /* @__PURE__ */ a(i, { variant: "whiteRowGrayLabel", children: r.map((t, e) => /* @__PURE__ */ a(
|
|
39
40
|
i.Item,
|
|
40
41
|
{
|
|
41
42
|
size_s: "tiny",
|
|
@@ -49,7 +50,7 @@ const m = "_root_idppf_1", _ = "_tabsShort_idppf_7", w = "_tabSelectWrapper_idpp
|
|
|
49
50
|
},
|
|
50
51
|
e
|
|
51
52
|
)) }) }) }),
|
|
52
|
-
/* @__PURE__ */ a(
|
|
53
|
+
/* @__PURE__ */ a(l, { label: "Количество спален", children: /* @__PURE__ */ a(i, { variant: "whiteRowGrayLabel", children: r.map((t, e) => /* @__PURE__ */ a(
|
|
53
54
|
i.Item,
|
|
54
55
|
{
|
|
55
56
|
size_s: "tiny",
|
|
@@ -123,8 +124,8 @@ const m = "_root_idppf_1", _ = "_tabsShort_idppf_7", w = "_tabSelectWrapper_idpp
|
|
|
123
124
|
))
|
|
124
125
|
}
|
|
125
126
|
) }),
|
|
126
|
-
/* @__PURE__ */ a("div", { className: n.tabSelectWrapper, children: /* @__PURE__ */ a(
|
|
127
|
-
|
|
127
|
+
/* @__PURE__ */ a("div", { className: n.tabSelectWrapper, children: /* @__PURE__ */ a(d, { variant: "grayDesign", children: c.map((t, e) => /* @__PURE__ */ a(
|
|
128
|
+
d.Item,
|
|
128
129
|
{
|
|
129
130
|
name: "type",
|
|
130
131
|
checked: s === t,
|
|
@@ -134,8 +135,8 @@ const m = "_root_idppf_1", _ = "_tabsShort_idppf_7", w = "_tabSelectWrapper_idpp
|
|
|
134
135
|
},
|
|
135
136
|
e
|
|
136
137
|
)) }) }),
|
|
137
|
-
/* @__PURE__ */ a("div", { className: n.tabSelectWrapper, children: /* @__PURE__ */ a(
|
|
138
|
-
|
|
138
|
+
/* @__PURE__ */ a("div", { className: n.tabSelectWrapper, children: /* @__PURE__ */ a(d, { variant: "whiteStroke", children: ["для коммерции", "для жилых"].map((t, e) => /* @__PURE__ */ a(
|
|
139
|
+
d.Item,
|
|
139
140
|
{
|
|
140
141
|
name: "type",
|
|
141
142
|
width: "160px",
|
|
@@ -150,5 +151,5 @@ const m = "_root_idppf_1", _ = "_tabsShort_idppf_7", w = "_tabSelectWrapper_idpp
|
|
|
150
151
|
] });
|
|
151
152
|
};
|
|
152
153
|
export {
|
|
153
|
-
|
|
154
|
+
f as default
|
|
154
155
|
};
|
|
@@ -1,34 +1,55 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { jsxs as e, jsx as t } 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 r } 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-BWA01WwU.js";
|
|
15
|
+
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
16
|
+
import "../../index-rKuIKazb.js";
|
|
17
|
+
import { MetroTag as o } 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 s = "_root_1tmts_1", a = {
|
|
26
|
+
root: s
|
|
27
|
+
}, P = () => {
|
|
28
|
+
const i = { name: "sokolnuyaki", color: "red", timeTo: 10, mode: "auto" }, m = [
|
|
8
29
|
{ name: "Сокольники", color: "red", timeTo: 10, mode: "auto" },
|
|
9
30
|
{ name: "Электрозаводская", color: "blue", timeTo: 10, mode: "auto" }
|
|
10
31
|
];
|
|
11
|
-
return /* @__PURE__ */
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
|
|
32
|
+
return /* @__PURE__ */ e("div", { className: a.root, children: [
|
|
33
|
+
/* @__PURE__ */ t(o, { metro: m }),
|
|
34
|
+
/* @__PURE__ */ t(o, { metro: i }),
|
|
35
|
+
/* @__PURE__ */ t(
|
|
36
|
+
o,
|
|
16
37
|
{
|
|
17
|
-
metro:
|
|
38
|
+
metro: i,
|
|
18
39
|
withBg: !0
|
|
19
40
|
}
|
|
20
41
|
),
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
|
|
42
|
+
/* @__PURE__ */ t(
|
|
43
|
+
o,
|
|
23
44
|
{
|
|
24
|
-
metro:
|
|
45
|
+
metro: i,
|
|
25
46
|
withBg: !0,
|
|
26
47
|
isBetween: !0,
|
|
27
48
|
width: "full"
|
|
28
49
|
}
|
|
29
50
|
),
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
|
|
51
|
+
/* @__PURE__ */ t(
|
|
52
|
+
r,
|
|
32
53
|
{
|
|
33
54
|
variant: "shadeWhite",
|
|
34
55
|
size: "medium",
|
|
@@ -37,8 +58,8 @@ const m = "_root_1tmts_1", a = {
|
|
|
37
58
|
children: "От 285 000 ₽/м2"
|
|
38
59
|
}
|
|
39
60
|
),
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
|
|
61
|
+
/* @__PURE__ */ t(
|
|
62
|
+
r,
|
|
42
63
|
{
|
|
43
64
|
variant: "chineseBlack",
|
|
44
65
|
size: "small",
|
|
@@ -47,8 +68,8 @@ const m = "_root_1tmts_1", a = {
|
|
|
47
68
|
children: "От 285 000 ₽/м2"
|
|
48
69
|
}
|
|
49
70
|
),
|
|
50
|
-
/* @__PURE__ */
|
|
51
|
-
|
|
71
|
+
/* @__PURE__ */ t(
|
|
72
|
+
r,
|
|
52
73
|
{
|
|
53
74
|
variant: "transWhite",
|
|
54
75
|
size: "small",
|
|
@@ -60,5 +81,5 @@ const m = "_root_1tmts_1", a = {
|
|
|
60
81
|
] });
|
|
61
82
|
};
|
|
62
83
|
export {
|
|
63
|
-
|
|
84
|
+
P as TagsPage
|
|
64
85
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const r = (e) => !!(e && e
|
|
1
|
+
const r = (e) => !!(e && (e == null ? void 0 : e.direction) === 1 && ((e == null ? void 0 : e.type) === 11 || (e == null ? void 0 : e.subType) === 8));
|
|
2
2
|
export {
|
|
3
3
|
r as checkLargeOffice
|
|
4
4
|
};
|
package/dist/shared/mlnRound.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { l as o } from "../../../index-
|
|
3
|
-
import {
|
|
2
|
+
import { l as o } from "../../../index-DvCs2JPX.js";
|
|
3
|
+
import { C as n } from "../../../FilterWithSave-BWA01WwU.js";
|
|
4
4
|
const l = {
|
|
5
5
|
id: 1,
|
|
6
6
|
lotUuid: "123-abc",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { l as t } from "../../../../index-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { l as t } from "../../../../index-DvCs2JPX.js";
|
|
2
|
+
import { Button as a } from "../../../../components/Button/ui/Button.js";
|
|
3
|
+
import { BUTTON_VARIANTS as s } from "../../../../components/Button/ui/Button.types.js";
|
|
4
4
|
const n = {
|
|
5
5
|
title: "shared/ui/Button",
|
|
6
|
-
component:
|
|
6
|
+
component: a,
|
|
7
7
|
parameters: {
|
|
8
8
|
layout: "centered"
|
|
9
9
|
},
|
|
@@ -12,7 +12,7 @@ const n = {
|
|
|
12
12
|
variant: {
|
|
13
13
|
control: {
|
|
14
14
|
type: "select",
|
|
15
|
-
options: Object.keys(
|
|
15
|
+
options: Object.keys(s)
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
size: {
|