stone-kit 0.0.765 → 0.0.767
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 +59 -59
- package/dist/{FilterWithSave-O0ZoqZN1.js → FilterWithSave-SXH960Cs.js} +319 -319
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.d.ts +1 -0
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +18 -17
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +1 -1
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +1 -1
- package/dist/components/FormModal/ui/ModalForm.js +1 -1
- package/dist/components/LotCard/index.js +1 -1
- package/dist/components/LotCard/ui/LotCard.d.ts +1 -1
- package/dist/components/LotCard/ui/LotCard.js +1 -1
- package/dist/components/SortSelect/index.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.js +1 -1
- package/dist/components/TabSwitcher/index.js +1 -1
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
root:
|
|
5
|
-
nameWrapper:
|
|
6
|
-
clearBtn:
|
|
7
|
-
checkboxWrapper:
|
|
8
|
-
checkboxItem:
|
|
9
|
-
checkboxItemActive:
|
|
10
|
-
},
|
|
11
|
-
label:
|
|
12
|
-
checkboxes: t
|
|
2
|
+
import { c as o } from "../../../index-rKuIKazb.js";
|
|
3
|
+
const p = "_root_1m9ru_1", _ = "_nameWrapper_1m9ru_8", d = "_clearBtn_1m9ru_18", m = "_checkboxWrapper_1m9ru_33", u = "_checkboxItem_1m9ru_39", v = "_checkboxItemActive_1m9ru_55", e = {
|
|
4
|
+
root: p,
|
|
5
|
+
nameWrapper: _,
|
|
6
|
+
clearBtn: d,
|
|
7
|
+
checkboxWrapper: m,
|
|
8
|
+
checkboxItem: u,
|
|
9
|
+
checkboxItemActive: v
|
|
10
|
+
}, n = o.bind(e), N = ({
|
|
11
|
+
label: c = "Тип квартиры",
|
|
12
|
+
checkboxes: t,
|
|
13
|
+
addClassname: i
|
|
13
14
|
}) => {
|
|
14
|
-
const
|
|
15
|
+
const s = () => {
|
|
15
16
|
t == null || t.forEach((r) => {
|
|
16
17
|
r != null && r.isSelected && (r == null || r.setValue());
|
|
17
18
|
});
|
|
18
19
|
};
|
|
19
|
-
return /* @__PURE__ */ l("div", { className: e.root, children: [
|
|
20
|
+
return /* @__PURE__ */ l("div", { className: n(e.root, i), children: [
|
|
20
21
|
/* @__PURE__ */ l("div", { className: e.nameWrapper, children: [
|
|
21
|
-
/* @__PURE__ */ a("div", { children:
|
|
22
|
+
/* @__PURE__ */ a("div", { children: c }),
|
|
22
23
|
/* @__PURE__ */ a(
|
|
23
24
|
"div",
|
|
24
25
|
{
|
|
25
26
|
className: e.clearBtn,
|
|
26
|
-
onClick:
|
|
27
|
+
onClick: s,
|
|
27
28
|
children: "Очистить"
|
|
28
29
|
}
|
|
29
30
|
)
|
|
@@ -31,7 +32,7 @@ const s = "_root_1m9ru_1", o = "_nameWrapper_1m9ru_8", p = "_clearBtn_1m9ru_18",
|
|
|
31
32
|
/* @__PURE__ */ a("div", { className: e.checkboxWrapper, children: t == null ? void 0 : t.map((r) => /* @__PURE__ */ a(
|
|
32
33
|
"div",
|
|
33
34
|
{
|
|
34
|
-
className:
|
|
35
|
+
className: n(e.checkboxItem, { [e.checkboxItemActive]: r == null ? void 0 : r.isSelected }),
|
|
35
36
|
onClick: () => r == null ? void 0 : r.setValue(),
|
|
36
37
|
children: r == null ? void 0 : r.label
|
|
37
38
|
},
|
|
@@ -40,5 +41,5 @@ const s = "_root_1m9ru_1", o = "_nameWrapper_1m9ru_8", p = "_clearBtn_1m9ru_18",
|
|
|
40
41
|
] });
|
|
41
42
|
};
|
|
42
43
|
export {
|
|
43
|
-
|
|
44
|
+
N as CheckboxSelect
|
|
44
45
|
};
|
|
@@ -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 n } from "../../../FilterWithSave-
|
|
14
|
+
import { u as n } from "../../../FilterWithSave-SXH960Cs.js";
|
|
15
15
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
16
16
|
import "../../../index-rKuIKazb.js";
|
|
17
17
|
import "../../MetroTag/ui/MetroTag.js";
|
|
@@ -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-SXH960Cs.js";
|
|
4
4
|
import "../../Modal/ui/Modal.js";
|
|
5
5
|
import "../../../Option-BVIm7wOW.js";
|
|
6
6
|
import "../../Button/ui/Button.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ILotCard } from './LotCard.types';
|
|
2
2
|
|
|
3
|
-
export declare const LotCard: ({ lot, handleBtnForm, handleFullScreenBtn, btnDisabled, addClassname, btnName, imgNode, rowConditions, addClassnameLotImage, }: ILotCard) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const LotCard: ({ lot, handleBtnForm, handleFullScreenBtn, btnDisabled, addClassname, btnName, imgNode, rowConditions, addClassnameLotImage, }: ILotCard) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { L as A } from "../../../FilterWithSave-
|
|
2
|
+
import { L as A } from "../../../FilterWithSave-SXH960Cs.js";
|
|
3
3
|
import "../../Text/ui/Text.js";
|
|
4
4
|
import "../utils/checkBedroomsCount.js";
|
|
5
5
|
import "../../NewIcon/ui/NewIcon.js";
|
|
@@ -13,7 +13,7 @@ import "../../Text/ui/Text.js";
|
|
|
13
13
|
import "../../Flex/ui/Flex.js";
|
|
14
14
|
import "../../Input/ui/Input.js";
|
|
15
15
|
import "../../Modal/ui/Modal.js";
|
|
16
|
-
import { a as y } from "../../../FilterWithSave-
|
|
16
|
+
import { a as y } from "../../../FilterWithSave-SXH960Cs.js";
|
|
17
17
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
18
18
|
import "../../MetroTag/ui/MetroTag.js";
|
|
19
19
|
import "../../Select/ui/Select.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { S as u } from "../../../FilterWithSave-
|
|
3
|
+
import { S as u } from "../../../FilterWithSave-SXH960Cs.js";
|
|
4
4
|
import "../../Text/ui/Text.js";
|
|
5
5
|
import "../../../index-rKuIKazb.js";
|
|
6
6
|
import "../../Button/ui/Button.js";
|
package/dist/main.js
CHANGED
|
@@ -10,7 +10,7 @@ import { Flex as M } from "./components/Flex/ui/Flex.js";
|
|
|
10
10
|
import { Input as b } from "./components/Input/ui/Input.js";
|
|
11
11
|
import { Modal as F } from "./components/Modal/ui/Modal.js";
|
|
12
12
|
import { FieldInput as I } from "./components/FieldInput/ui/FieldInput.js";
|
|
13
|
-
import { F as k, L as w, M as B, a as v, S as N } from "./FilterWithSave-
|
|
13
|
+
import { F as k, L as w, M as B, a as v, S as N } from "./FilterWithSave-SXH960Cs.js";
|
|
14
14
|
import { GroupedInputs as j } from "./components/GroupedInput/ui/GroupedInputs.js";
|
|
15
15
|
import { Logo as D } from "./components/Logo/ui/Logo.js";
|
|
16
16
|
import { MetroTag as P } from "./components/MetroTag/ui/MetroTag.js";
|