stone-kit 0.0.1080 → 0.0.1085
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/README.md +88 -88
- package/dist/components/CheckBoxNew/CheckBoxNew.js +5 -5
- package/dist/components/CommercialLotCard/CommercialLotCard.js +91 -10
- package/dist/components/CommercialLotCard/components/PaymentLink/PaymentLink.js +4 -4
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +98 -27
- package/dist/components/CommercialLotCard/components/Tags/Tags.js +1 -1
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +54 -26
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +323 -7
- package/dist/components/FormModal/ui/ModalForm.js +1516 -29
- package/dist/components/Logo/ui/Logo.js +6 -6
- package/dist/components/LotCard/hooks/useLotCard.js +6 -24
- package/dist/components/LotCard/index.js +2 -2
- package/dist/components/LotCard/ui/LotCard.js +252 -12
- package/dist/components/Modal/ui/Modal.js +22 -22
- package/dist/components/ModalSuccess/ModalSuccess.js +1 -1
- package/dist/components/RoundButton/ui/RoundButton.js +1 -1
- package/dist/components/Select/ui/Category.js +2 -2
- package/dist/components/Select/ui/Option.js +2 -2
- package/dist/components/Select/ui/Select.js +2 -2
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +6 -6
- package/dist/components/SortSelect/index.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.js +108 -26
- package/dist/components/SummarySelect/ui/SummarySelect.js +1 -1
- package/dist/components/TabSelect/ui/TabSelect.js +4 -4
- package/dist/components/TabSwitcher/index.js +2 -2
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +121 -26
- package/dist/layout/components/Header/Header.js +44 -65
- package/dist/layout/components/Menu.js +15 -37
- package/dist/main.js +70 -65
- package/dist/pages/ButtonsPage/Buttons.js +44 -61
- package/dist/pages/FormsPage/FormsPage.js +22 -42
- package/dist/pages/IconsPage/IconsPage.js +9 -31
- package/dist/pages/InputPage/InputPage.js +10 -32
- package/dist/pages/LogoPage/LogoPage.js +13 -36
- package/dist/pages/LotsPage/LotsPage.js +25 -24
- package/dist/pages/ModalsPage/ModalPage.js +46 -66
- package/dist/pages/SelectPage/SelectPage.js +41 -40
- package/dist/pages/TabsPage/TabsPage.js +1 -1
- package/dist/pages/TagsPage/TagsPage.js +23 -44
- package/dist/stone-kit.css +1 -1
- package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +1 -1
- package/dist/stories/shared/ui/Button/Button.stories.js +4 -4
- package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +1 -1
- package/dist/stories/shared/ui/FormModal/FormModal.stories.js +7 -7
- package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +1 -1
- package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +1 -1
- package/dist/stories/shared/ui/Tag/Tag.stories.js +4 -4
- package/dist/useLotCard-BAA8s2eo.js +189 -0
- package/package.json +1 -1
- package/dist/FilterWithSave-B-Qb2OD5.js +0 -2718
- package/dist/{Option-DdjBe9yb.js → Option-DmDx_xOt.js} +1 -1
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { useState as l } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { testLot as r, testLotEmpty as c } 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";
|
|
5
7
|
import { ProjectCardSkeleton as d } from "../../components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js";
|
|
6
|
-
|
|
7
|
-
const f = "_root_1w9fc_1", h = "_lotWrapper_1w9fc_8", C = "_optionsWrapper_1w9fc_14", _ = "_isFetching_1w9fc_20", s = {
|
|
8
|
+
const f = "_root_1w9fc_1", h = "_lotWrapper_1w9fc_8", _ = "_optionsWrapper_1w9fc_14", C = "_isFetching_1w9fc_20", i = {
|
|
8
9
|
root: f,
|
|
9
10
|
lotWrapper: h,
|
|
10
|
-
optionsWrapper:
|
|
11
|
-
isFetching:
|
|
12
|
-
},
|
|
13
|
-
const [o,
|
|
14
|
-
return
|
|
15
|
-
/* @__PURE__ */ t(p, { lot:
|
|
11
|
+
optionsWrapper: _,
|
|
12
|
+
isFetching: C
|
|
13
|
+
}, w = () => {
|
|
14
|
+
const [o, a] = l(!1), n = JSON.parse(JSON.stringify(r));
|
|
15
|
+
return n.status = 2, /* @__PURE__ */ t("div", { className: i.root, children: /* @__PURE__ */ s("div", { className: i.lotWrapper, children: [
|
|
16
|
+
/* @__PURE__ */ t(p, { lot: n, isVertical: !0, isDkpbn: !0 }),
|
|
16
17
|
!o && /* @__PURE__ */ t(
|
|
17
|
-
|
|
18
|
+
e,
|
|
18
19
|
{
|
|
19
|
-
lot:
|
|
20
|
+
lot: r,
|
|
20
21
|
isDkpbn: !0,
|
|
21
22
|
handleBtnForm: () => {
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
25
|
),
|
|
25
26
|
!o && /* @__PURE__ */ t(
|
|
26
|
-
|
|
27
|
+
e,
|
|
27
28
|
{
|
|
28
|
-
lot:
|
|
29
|
+
lot: r,
|
|
29
30
|
favoriteClickHandler: () => {
|
|
30
31
|
},
|
|
31
32
|
handleBtnForm: () => {
|
|
@@ -33,42 +34,42 @@ const f = "_root_1w9fc_1", h = "_lotWrapper_1w9fc_8", C = "_optionsWrapper_1w9fc
|
|
|
33
34
|
}
|
|
34
35
|
),
|
|
35
36
|
!o && /* @__PURE__ */ t(
|
|
36
|
-
|
|
37
|
+
e,
|
|
37
38
|
{
|
|
38
39
|
favoriteClickHandler: () => {
|
|
39
40
|
},
|
|
40
|
-
lot:
|
|
41
|
+
lot: c,
|
|
41
42
|
handleBtnForm: () => {
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
),
|
|
45
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ s("div", { style: { display: "flex", flexWrap: "wrap" }, children: [
|
|
46
47
|
!o && /* @__PURE__ */ t(
|
|
47
|
-
|
|
48
|
+
e,
|
|
48
49
|
{
|
|
49
50
|
favoriteClickHandler: () => {
|
|
50
51
|
},
|
|
51
|
-
lot:
|
|
52
|
+
lot: r,
|
|
52
53
|
rowConditions: !1,
|
|
53
54
|
handleBtnForm: () => {
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
),
|
|
57
|
-
/* @__PURE__ */ t(
|
|
58
|
+
/* @__PURE__ */ t(m, { isProjectCard: !0 })
|
|
58
59
|
] }),
|
|
59
60
|
/* @__PURE__ */ t(d, {}),
|
|
60
|
-
/* @__PURE__ */ t("div", { className:
|
|
61
|
+
/* @__PURE__ */ t("div", { className: i.optionsWrapper, children: /* @__PURE__ */ s("label", { className: i.isFetching, children: [
|
|
61
62
|
"isFetching",
|
|
62
63
|
/* @__PURE__ */ t(
|
|
63
64
|
"input",
|
|
64
65
|
{
|
|
65
66
|
type: "checkbox",
|
|
66
|
-
onClick: () =>
|
|
67
|
+
onClick: () => a(!o)
|
|
67
68
|
}
|
|
68
69
|
)
|
|
69
70
|
] }) })
|
|
70
71
|
] }) });
|
|
71
72
|
};
|
|
72
73
|
export {
|
|
73
|
-
|
|
74
|
+
w as LotsPage
|
|
74
75
|
};
|
|
@@ -1,122 +1,102 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { Button as
|
|
4
|
-
import "../../components/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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 "../../index-YnD2EP-S.js";
|
|
15
|
-
import "../../FilterWithSave-B-Qb2OD5.js";
|
|
16
|
-
import "../../components/GroupedInput/ui/GroupedInputs.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: () =>
|
|
12
|
+
onClick: () => e((n) => !n),
|
|
33
13
|
children: "Каскад модалок"
|
|
34
14
|
}
|
|
35
15
|
),
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
|
|
16
|
+
/* @__PURE__ */ o(
|
|
17
|
+
c,
|
|
38
18
|
{
|
|
39
|
-
isOpen:
|
|
40
|
-
emitIsOpen: () =>
|
|
19
|
+
isOpen: r,
|
|
20
|
+
emitIsOpen: () => e((n) => !n),
|
|
41
21
|
isTransparentBack: !0,
|
|
42
|
-
children: /* @__PURE__ */
|
|
43
|
-
|
|
22
|
+
children: /* @__PURE__ */ o(
|
|
23
|
+
l,
|
|
44
24
|
{
|
|
45
25
|
as: "button",
|
|
46
|
-
onClick: () =>
|
|
26
|
+
onClick: () => t((n) => !n),
|
|
47
27
|
children: "вайди"
|
|
48
28
|
}
|
|
49
29
|
)
|
|
50
30
|
}
|
|
51
31
|
),
|
|
52
|
-
/* @__PURE__ */
|
|
53
|
-
|
|
32
|
+
/* @__PURE__ */ i(
|
|
33
|
+
c,
|
|
54
34
|
{
|
|
55
|
-
isOpen:
|
|
56
|
-
emitIsOpen: () =>
|
|
35
|
+
isOpen: a,
|
|
36
|
+
emitIsOpen: () => t((n) => !n),
|
|
57
37
|
leaveDisableScroll: !0,
|
|
58
38
|
children: [
|
|
59
|
-
/* @__PURE__ */
|
|
60
|
-
|
|
39
|
+
/* @__PURE__ */ o(
|
|
40
|
+
l,
|
|
61
41
|
{
|
|
62
42
|
as: "button",
|
|
63
|
-
onClick: () =>
|
|
43
|
+
onClick: () => t((n) => !n),
|
|
64
44
|
children: "выйди"
|
|
65
45
|
}
|
|
66
46
|
),
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
-
|
|
47
|
+
/* @__PURE__ */ o(
|
|
48
|
+
l,
|
|
69
49
|
{
|
|
70
50
|
as: "button",
|
|
71
|
-
onClick: () =>
|
|
51
|
+
onClick: () => t((n) => !n),
|
|
72
52
|
children: "выйди"
|
|
73
53
|
}
|
|
74
54
|
),
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
|
|
55
|
+
/* @__PURE__ */ o(
|
|
56
|
+
l,
|
|
77
57
|
{
|
|
78
58
|
as: "button",
|
|
79
|
-
onClick: () =>
|
|
59
|
+
onClick: () => t((n) => !n),
|
|
80
60
|
children: "выйди"
|
|
81
61
|
}
|
|
82
62
|
),
|
|
83
|
-
/* @__PURE__ */
|
|
84
|
-
|
|
63
|
+
/* @__PURE__ */ o(
|
|
64
|
+
l,
|
|
85
65
|
{
|
|
86
66
|
as: "button",
|
|
87
|
-
onClick: () =>
|
|
67
|
+
onClick: () => t((n) => !n),
|
|
88
68
|
children: "выйди"
|
|
89
69
|
}
|
|
90
70
|
),
|
|
91
|
-
/* @__PURE__ */
|
|
92
|
-
|
|
71
|
+
/* @__PURE__ */ o(
|
|
72
|
+
l,
|
|
93
73
|
{
|
|
94
74
|
as: "button",
|
|
95
|
-
onClick: () =>
|
|
75
|
+
onClick: () => t((n) => !n),
|
|
96
76
|
children: "выйди"
|
|
97
77
|
}
|
|
98
78
|
),
|
|
99
|
-
/* @__PURE__ */
|
|
100
|
-
|
|
79
|
+
/* @__PURE__ */ o(
|
|
80
|
+
l,
|
|
101
81
|
{
|
|
102
82
|
as: "button",
|
|
103
|
-
onClick: () =>
|
|
83
|
+
onClick: () => t((n) => !n),
|
|
104
84
|
children: "выйди"
|
|
105
85
|
}
|
|
106
86
|
),
|
|
107
|
-
/* @__PURE__ */
|
|
108
|
-
|
|
87
|
+
/* @__PURE__ */ o(
|
|
88
|
+
l,
|
|
109
89
|
{
|
|
110
90
|
as: "button",
|
|
111
|
-
onClick: () =>
|
|
91
|
+
onClick: () => t((n) => !n),
|
|
112
92
|
children: "выйди"
|
|
113
93
|
}
|
|
114
94
|
),
|
|
115
|
-
/* @__PURE__ */
|
|
116
|
-
|
|
95
|
+
/* @__PURE__ */ o(
|
|
96
|
+
l,
|
|
117
97
|
{
|
|
118
98
|
as: "button",
|
|
119
|
-
onClick: () =>
|
|
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
|
-
|
|
109
|
+
k as default
|
|
130
110
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { F as m, S as y } from "../../FilterWithSave-B-Qb2OD5.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
|
|
7
|
-
import { CheckBox as
|
|
8
|
-
import {
|
|
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
11
|
const x = "_sort_1szg2_1", V = "_filterWithSave_1szg2_14", r = {
|
|
11
12
|
sort: x,
|
|
12
13
|
filterWithSave: V
|
|
13
|
-
},
|
|
14
|
-
const [
|
|
14
|
+
}, P = () => {
|
|
15
|
+
const [S, g] = n(i[0]), [s, b] = n([]), [o, f] = n("options"), h = [
|
|
15
16
|
{
|
|
16
17
|
label: "sdfsdfsdf",
|
|
17
18
|
setValue: () => {
|
|
@@ -52,10 +53,10 @@ const x = "_sort_1szg2_1", V = "_filterWithSave_1szg2_14", r = {
|
|
|
52
53
|
}, d = (l) => {
|
|
53
54
|
l && b(l);
|
|
54
55
|
};
|
|
55
|
-
return /* @__PURE__ */
|
|
56
|
-
/* @__PURE__ */
|
|
56
|
+
return /* @__PURE__ */ t("div", { className: r.root, children: [
|
|
57
|
+
/* @__PURE__ */ t("div", { children: [
|
|
57
58
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
58
|
-
|
|
59
|
+
u,
|
|
59
60
|
{
|
|
60
61
|
onClick: () => console.log("filter"),
|
|
61
62
|
onSaveClick: () => console.log("save"),
|
|
@@ -72,18 +73,18 @@ const x = "_sort_1szg2_1", V = "_filterWithSave_1szg2_14", r = {
|
|
|
72
73
|
]
|
|
73
74
|
}
|
|
74
75
|
) }),
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ t("div", { children: [
|
|
76
77
|
/* @__PURE__ */ e("h2", { children: " Селектор с чекбоксами" }),
|
|
77
|
-
/* @__PURE__ */ e(
|
|
78
|
+
/* @__PURE__ */ e(m, { checkboxes: h })
|
|
78
79
|
] }),
|
|
79
|
-
/* @__PURE__ */
|
|
80
|
+
/* @__PURE__ */ t("div", { children: [
|
|
80
81
|
/* @__PURE__ */ e("h2", { children: " Селектор с чекбоксами" }),
|
|
81
|
-
/* @__PURE__ */ e(
|
|
82
|
+
/* @__PURE__ */ e(m, { checkboxes: h, isPromotion: !0 })
|
|
82
83
|
] }),
|
|
83
|
-
/* @__PURE__ */
|
|
84
|
+
/* @__PURE__ */ t("div", { children: [
|
|
84
85
|
/* @__PURE__ */ e("h2", { children: "старый чекбокс" }),
|
|
85
86
|
/* @__PURE__ */ e(
|
|
86
|
-
|
|
87
|
+
y,
|
|
87
88
|
{
|
|
88
89
|
isChecked: !1,
|
|
89
90
|
emitIsChecked: () => {
|
|
@@ -92,95 +93,95 @@ const x = "_sort_1szg2_1", V = "_filterWithSave_1szg2_14", r = {
|
|
|
92
93
|
}
|
|
93
94
|
)
|
|
94
95
|
] }),
|
|
95
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ t("div", { children: [
|
|
96
97
|
/* @__PURE__ */ e("h2", { children: " Фильтрация с сохранением" }),
|
|
97
|
-
/* @__PURE__ */ e("div", { className: r.filterWithSave, children: /* @__PURE__ */ e(
|
|
98
|
+
/* @__PURE__ */ e("div", { className: r.filterWithSave, children: /* @__PURE__ */ e(u, {}) })
|
|
98
99
|
] }),
|
|
99
100
|
/* @__PURE__ */ e("h2", { children: "Сорт селект" }),
|
|
100
101
|
/* @__PURE__ */ e("div", { className: r.sort, children: /* @__PURE__ */ e(
|
|
101
|
-
|
|
102
|
+
k,
|
|
102
103
|
{
|
|
103
104
|
mini: !0,
|
|
104
|
-
selectedOption:
|
|
105
|
+
selectedOption: S,
|
|
105
106
|
options: i,
|
|
106
107
|
onChange: (l) => C(l)
|
|
107
108
|
}
|
|
108
109
|
) })
|
|
109
110
|
] }),
|
|
110
|
-
/* @__PURE__ */
|
|
111
|
-
/* @__PURE__ */
|
|
111
|
+
/* @__PURE__ */ t("div", { className: r.summarySelect, children: [
|
|
112
|
+
/* @__PURE__ */ t("div", { style: { display: "flex", gap: "20px" }, children: [
|
|
112
113
|
/* @__PURE__ */ e("h2", { children: "SummarySelect" }),
|
|
113
114
|
/* @__PURE__ */ e(
|
|
114
|
-
|
|
115
|
+
v,
|
|
115
116
|
{
|
|
116
117
|
isActive: o === "category",
|
|
117
|
-
onClick: () =>
|
|
118
|
+
onClick: () => f(o === "options" ? "category" : "options"),
|
|
118
119
|
children: "mode category"
|
|
119
120
|
}
|
|
120
121
|
),
|
|
121
122
|
/* @__PURE__ */ e(
|
|
122
|
-
|
|
123
|
+
v,
|
|
123
124
|
{
|
|
124
125
|
isActive: o === "double",
|
|
125
|
-
onClick: () =>
|
|
126
|
+
onClick: () => f(o === "options" ? "double" : "options"),
|
|
126
127
|
children: "mode double"
|
|
127
128
|
}
|
|
128
129
|
)
|
|
129
130
|
] }),
|
|
130
131
|
/* @__PURE__ */ e(
|
|
131
|
-
|
|
132
|
+
p,
|
|
132
133
|
{
|
|
133
134
|
mode: o,
|
|
134
135
|
label: "Проект",
|
|
135
136
|
isShowReset: !0,
|
|
136
|
-
selectedValues:
|
|
137
|
+
selectedValues: s,
|
|
137
138
|
options: o === "category" ? a : i,
|
|
138
139
|
onChange: (l) => d(l),
|
|
139
140
|
selectAll: { enabled: !0 }
|
|
140
141
|
}
|
|
141
142
|
),
|
|
142
143
|
/* @__PURE__ */ e(
|
|
143
|
-
|
|
144
|
+
p,
|
|
144
145
|
{
|
|
145
146
|
mode: "single",
|
|
146
147
|
label: "Проект",
|
|
147
148
|
isShowReset: !0,
|
|
148
|
-
selectedValues:
|
|
149
|
+
selectedValues: s,
|
|
149
150
|
options: i,
|
|
150
151
|
onChange: (l) => d(l)
|
|
151
152
|
}
|
|
152
153
|
)
|
|
153
154
|
] }),
|
|
154
|
-
/* @__PURE__ */
|
|
155
|
+
/* @__PURE__ */ t("div", { children: [
|
|
155
156
|
/* @__PURE__ */ e("h2", { children: "Селект mode option" }),
|
|
156
157
|
/* @__PURE__ */ e(
|
|
157
158
|
c,
|
|
158
159
|
{
|
|
159
|
-
selectedValues:
|
|
160
|
+
selectedValues: s,
|
|
160
161
|
options: a,
|
|
161
162
|
onChange: (l) => d(l)
|
|
162
163
|
}
|
|
163
164
|
)
|
|
164
165
|
] }),
|
|
165
|
-
/* @__PURE__ */
|
|
166
|
+
/* @__PURE__ */ t("div", { children: [
|
|
166
167
|
/* @__PURE__ */ e("h2", { children: "Селект mode category" }),
|
|
167
168
|
/* @__PURE__ */ e(
|
|
168
169
|
c,
|
|
169
170
|
{
|
|
170
171
|
mode: "category",
|
|
171
|
-
selectedValues:
|
|
172
|
+
selectedValues: s,
|
|
172
173
|
options: a,
|
|
173
174
|
onChange: (l) => d(l)
|
|
174
175
|
}
|
|
175
176
|
)
|
|
176
177
|
] }),
|
|
177
|
-
/* @__PURE__ */
|
|
178
|
+
/* @__PURE__ */ t("div", { children: [
|
|
178
179
|
/* @__PURE__ */ e("h2", { children: "Селект mode double" }),
|
|
179
180
|
/* @__PURE__ */ e(
|
|
180
181
|
c,
|
|
181
182
|
{
|
|
182
183
|
selectAll: { enabled: !0 },
|
|
183
|
-
selectedValues:
|
|
184
|
+
selectedValues: s,
|
|
184
185
|
options: a,
|
|
185
186
|
mode: "double",
|
|
186
187
|
clickableOptions: ["Category1", "options1", "options3"],
|
|
@@ -188,7 +189,7 @@ const x = "_sort_1szg2_1", V = "_filterWithSave_1szg2_14", r = {
|
|
|
188
189
|
}
|
|
189
190
|
)
|
|
190
191
|
] }),
|
|
191
|
-
/* @__PURE__ */
|
|
192
|
+
/* @__PURE__ */ t("div", { children: [
|
|
192
193
|
/* @__PURE__ */ e("h2", { children: "Селект кнопка" }),
|
|
193
194
|
/* @__PURE__ */ e("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ e(
|
|
194
195
|
c,
|
|
@@ -197,7 +198,7 @@ const x = "_sort_1szg2_1", V = "_filterWithSave_1szg2_14", r = {
|
|
|
197
198
|
size_s: "small",
|
|
198
199
|
size_l: "medium",
|
|
199
200
|
isListRight: !0,
|
|
200
|
-
selectedValues:
|
|
201
|
+
selectedValues: s,
|
|
201
202
|
options: i,
|
|
202
203
|
onChange: (l) => d(l)
|
|
203
204
|
}
|
|
@@ -206,5 +207,5 @@ const x = "_sort_1szg2_1", V = "_filterWithSave_1szg2_14", r = {
|
|
|
206
207
|
] });
|
|
207
208
|
};
|
|
208
209
|
export {
|
|
209
|
-
|
|
210
|
+
P as SelectPage
|
|
210
211
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as p } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { TabSwitcher as i } from "../../components/TabSwitcher/ui/TabSwitcher.js";
|
|
4
4
|
import { FieldInput as l } from "../../components/FieldInput/ui/FieldInput.js";
|
|
5
5
|
import { TabSelect as d } from "../../components/TabSelect/ui/TabSelect.js";
|
|
6
6
|
const m = "_root_idppf_1", _ = "_tabsShort_idppf_7", g = "_tabSelectWrapper_idppf_11", v = "_whiteRow_apart_idppf_22", w = "_row_apart_idppf_26", n = {
|
|
@@ -1,55 +1,34 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import "../../components/
|
|
3
|
-
import "../../components/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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 "../../index-YnD2EP-S.js";
|
|
15
|
-
import "../../FilterWithSave-B-Qb2OD5.js";
|
|
16
|
-
import "../../components/GroupedInput/ui/GroupedInputs.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 = [
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { MetroTag as t } from "../../components/MetroTag/ui/MetroTag.js";
|
|
3
|
+
import { Tag as i } from "../../components/Tag/ui/Tag.js";
|
|
4
|
+
const m = "_root_1tmts_1", a = {
|
|
5
|
+
root: m
|
|
6
|
+
}, d = () => {
|
|
7
|
+
const o = { name: "sokolnuyaki", color: "red", timeTo: 10, mode: "auto" }, r = [
|
|
29
8
|
{ name: "Сокольники", color: "red", timeTo: 10, mode: "auto" },
|
|
30
9
|
{ name: "Электрозаводская", color: "blue", timeTo: 10, mode: "auto" }
|
|
31
10
|
];
|
|
32
|
-
return /* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */ t
|
|
34
|
-
/* @__PURE__ */ t
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
|
|
11
|
+
return /* @__PURE__ */ s("div", { className: a.root, children: [
|
|
12
|
+
/* @__PURE__ */ e(t, { metro: r }),
|
|
13
|
+
/* @__PURE__ */ e(t, { metro: o }),
|
|
14
|
+
/* @__PURE__ */ e(
|
|
15
|
+
t,
|
|
37
16
|
{
|
|
38
|
-
metro:
|
|
17
|
+
metro: o,
|
|
39
18
|
withBg: !0
|
|
40
19
|
}
|
|
41
20
|
),
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
|
|
21
|
+
/* @__PURE__ */ e(
|
|
22
|
+
t,
|
|
44
23
|
{
|
|
45
|
-
metro:
|
|
24
|
+
metro: o,
|
|
46
25
|
withBg: !0,
|
|
47
26
|
isBetween: !0,
|
|
48
27
|
width: "full"
|
|
49
28
|
}
|
|
50
29
|
),
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
|
|
30
|
+
/* @__PURE__ */ e(
|
|
31
|
+
i,
|
|
53
32
|
{
|
|
54
33
|
variant: "shadeWhite",
|
|
55
34
|
size: "medium",
|
|
@@ -58,8 +37,8 @@ const s = "_root_1tmts_1", a = {
|
|
|
58
37
|
children: "От 285 000 ₽/м2"
|
|
59
38
|
}
|
|
60
39
|
),
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
|
|
40
|
+
/* @__PURE__ */ e(
|
|
41
|
+
i,
|
|
63
42
|
{
|
|
64
43
|
variant: "chineseBlack",
|
|
65
44
|
size: "small",
|
|
@@ -68,8 +47,8 @@ const s = "_root_1tmts_1", a = {
|
|
|
68
47
|
children: "От 285 000 ₽/м2"
|
|
69
48
|
}
|
|
70
49
|
),
|
|
71
|
-
/* @__PURE__ */
|
|
72
|
-
|
|
50
|
+
/* @__PURE__ */ e(
|
|
51
|
+
i,
|
|
73
52
|
{
|
|
74
53
|
variant: "transWhite",
|
|
75
54
|
size: "small",
|
|
@@ -81,5 +60,5 @@ const s = "_root_1tmts_1", a = {
|
|
|
81
60
|
] });
|
|
82
61
|
};
|
|
83
62
|
export {
|
|
84
|
-
|
|
63
|
+
d as TagsPage
|
|
85
64
|
};
|