stone-kit 0.0.707 → 0.0.709
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/FilterWithSave-ujuRvClV.js +3324 -0
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +10 -10
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +2 -3
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +1 -1
- package/dist/components/FormModal/ui/ModalForm.js +27 -2743
- package/dist/components/SortSelect/index.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.js +2 -3
- package/dist/components/TabSwitcher/index.js +1 -1
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +2 -3
- package/dist/components/ZoomControls/ui/ZoomControls.js +3 -4
- package/dist/main.js +38 -39
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/FilterWithSave-C7DNeDjA.js +0 -593
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "../../../index-rKuIKazb.js";
|
|
3
|
-
const s = "
|
|
3
|
+
const s = "_root_1m9ru_1", o = "_nameWrapper_1m9ru_8", p = "_clearBtn_1m9ru_18", _ = "_checkboxWrapper_1m9ru_33", d = "_checkboxItem_1m9ru_39", m = "_checkboxItemActive_1m9ru_55", e = {
|
|
4
4
|
root: s,
|
|
5
5
|
nameWrapper: o,
|
|
6
6
|
clearBtn: p,
|
|
7
7
|
checkboxWrapper: _,
|
|
8
8
|
checkboxItem: d,
|
|
9
9
|
checkboxItemActive: m
|
|
10
|
-
},
|
|
10
|
+
}, u = i.bind(e), W = ({
|
|
11
11
|
label: l = "Тип квартиры",
|
|
12
|
-
checkboxes:
|
|
12
|
+
checkboxes: t
|
|
13
13
|
}) => {
|
|
14
14
|
const c = () => {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
t == null || t.forEach((r) => {
|
|
16
|
+
r != null && r.isSelected && (r == null || r.setValue());
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
19
|
return /* @__PURE__ */ n("div", { className: e.root, children: [
|
|
@@ -28,16 +28,16 @@ const s = "_root_1tm5z_1", o = "_nameWrapper_1tm5z_8", p = "_clearBtn_1tm5z_18",
|
|
|
28
28
|
}
|
|
29
29
|
)
|
|
30
30
|
] }),
|
|
31
|
-
/* @__PURE__ */ a("div", { className: e.checkboxWrapper, children:
|
|
31
|
+
/* @__PURE__ */ a("div", { className: e.checkboxWrapper, children: t == null ? void 0 : t.map((r) => /* @__PURE__ */ a(
|
|
32
32
|
"div",
|
|
33
33
|
{
|
|
34
|
-
className:
|
|
35
|
-
onClick: () =>
|
|
36
|
-
children:
|
|
34
|
+
className: u(e.checkboxItem, { [e.checkboxItemActive]: r == null ? void 0 : r.isSelected }),
|
|
35
|
+
onClick: () => r == null ? void 0 : r.setValue(),
|
|
36
|
+
children: r == null ? void 0 : r.label
|
|
37
37
|
}
|
|
38
38
|
)) })
|
|
39
39
|
] });
|
|
40
40
|
};
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
W as CheckboxSelect
|
|
43
43
|
};
|
|
@@ -11,7 +11,7 @@ import "../../Flex/ui/Flex.js";
|
|
|
11
11
|
import "../../Input/ui/Input.js";
|
|
12
12
|
import "react/jsx-runtime";
|
|
13
13
|
import "react-dom";
|
|
14
|
-
import { u as
|
|
14
|
+
import { u as q } from "../../../FilterWithSave-ujuRvClV.js";
|
|
15
15
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
16
16
|
import "../../../index-rKuIKazb.js";
|
|
17
17
|
import "../../MetroTag/ui/MetroTag.js";
|
|
@@ -21,8 +21,7 @@ import "../../../shared/useClientWidth.js";
|
|
|
21
21
|
import "../../SliderNavigation/ui/SliderNavigation.js";
|
|
22
22
|
import "../../LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
23
23
|
import "../../TabSelect/ui/TabSelect.js";
|
|
24
|
-
import "../../FormModal/ui/ModalForm.js";
|
|
25
24
|
import "../../CheckboxSelect/ui/CheckboxSelect.js";
|
|
26
25
|
export {
|
|
27
|
-
|
|
26
|
+
q as useFilterWithSave
|
|
28
27
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../NewIcon/ui/NewIcon.js";
|
|
3
|
-
import { F as a } from "../../../FilterWithSave-
|
|
3
|
+
import { F as a } from "../../../FilterWithSave-ujuRvClV.js";
|
|
4
4
|
import "../../Modal/ui/Modal.js";
|
|
5
5
|
import "../../../Option--45TMhIr.js";
|
|
6
6
|
import "../../Button/ui/Button.js";
|