stone-kit 0.0.871 → 0.0.873
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-BOP0lt9a.js → FilterWithSave-Bp6rH8Pe.js} +496 -494
- 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/hooks/useLotCard.js +1 -1
- package/dist/components/LotCard/index.js +1 -1
- package/dist/components/LotCard/ui/LotCard.js +3 -2
- package/dist/components/LotCard/ui/LotCard.types.d.ts +1 -0
- package/dist/components/LotCard/utils/formatPrice.d.ts +1 -1
- package/dist/components/LotCard/utils/formatPrice.js +6 -6
- 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/dist/shared/checkLargeOffice.d.ts +3 -0
- package/dist/shared/checkLargeOffice.js +12 -0
- package/package.json +1 -1
|
@@ -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 { b as w } from "../../../FilterWithSave-
|
|
14
|
+
import { b as w } from "../../../FilterWithSave-Bp6rH8Pe.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-Bp6rH8Pe.js";
|
|
4
4
|
import "../../Modal/ui/Modal.js";
|
|
5
5
|
import "../../../Option-BVIm7wOW.js";
|
|
6
6
|
import "../../Button/ui/Button.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as B } from "../../../FilterWithSave-
|
|
3
|
+
import { u as B } from "../../../FilterWithSave-Bp6rH8Pe.js";
|
|
4
4
|
import "../../Button/ui/Button.js";
|
|
5
5
|
import "../../mobileButton/ui/MobileButton.js";
|
|
6
6
|
import "../../NewIcon/ui/NewIcon.js";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { L as
|
|
2
|
+
import { L as e } from "../../../FilterWithSave-Bp6rH8Pe.js";
|
|
3
3
|
import "../../NewIcon/ui/NewIcon.js";
|
|
4
4
|
import "../../Tag/ui/Tag.js";
|
|
5
5
|
import "../../Button/ui/Button.js";
|
|
6
6
|
import "../utils/formatPrice.js";
|
|
7
7
|
import "../../../index-rKuIKazb.js";
|
|
8
|
+
import "../../../shared/checkLargeOffice.js";
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
+
e as LotCard
|
|
10
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const formatPrice: (price: string | number | null, perMetr?: boolean, direction?: number | null
|
|
1
|
+
export declare const formatPrice: (price: string | number | null, perMetr?: boolean, direction?: number | null) => string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
if (!r &&
|
|
1
|
+
const s = (r, t, o) => {
|
|
2
|
+
if (!r && o === 2)
|
|
3
3
|
return " ";
|
|
4
|
-
if (!r
|
|
4
|
+
if (!r)
|
|
5
5
|
return "Цена по запросу";
|
|
6
|
-
const
|
|
7
|
-
return Number(r).toLocaleString() +
|
|
6
|
+
const e = t ? " ₽/м²" : " ₽";
|
|
7
|
+
return Number(r).toLocaleString() + e;
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
s as formatPrice
|
|
11
11
|
};
|
|
@@ -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 A } from "../../../FilterWithSave-
|
|
16
|
+
import { a as A } from "../../../FilterWithSave-Bp6rH8Pe.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 y } from "../../../FilterWithSave-
|
|
3
|
+
import { S as y } from "../../../FilterWithSave-Bp6rH8Pe.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 h } from "./components/Flex/ui/Flex.js";
|
|
|
10
10
|
import { Input as T } from "./components/Input/ui/Input.js";
|
|
11
11
|
import { Modal as k } from "./components/Modal/ui/Modal.js";
|
|
12
12
|
import { FieldInput as F } from "./components/FieldInput/ui/FieldInput.js";
|
|
13
|
-
import { F as w, L as I, M as L, a as N, S as v } from "./FilterWithSave-
|
|
13
|
+
import { F as w, L as I, M as L, a as N, S as v } from "./FilterWithSave-Bp6rH8Pe.js";
|
|
14
14
|
import { GroupedInputs as j } from "./components/GroupedInput/ui/GroupedInputs.js";
|
|
15
15
|
import { Logo as y } from "./components/Logo/ui/Logo.js";
|
|
16
16
|
import { MetroTag as E } from "./components/MetroTag/ui/MetroTag.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const r = (e) => {
|
|
2
|
+
if (e && (e == null ? void 0 : e.direction) === 1) {
|
|
3
|
+
if ((e == null ? void 0 : e.type) === 11 || (e == null ? void 0 : e.subType) === 8)
|
|
4
|
+
return !0;
|
|
5
|
+
if (typeof (e == null ? void 0 : e.beginFloor) == "number" && typeof (e == null ? void 0 : e.endFloor) == "number")
|
|
6
|
+
return (e == null ? void 0 : e.beginFloor) !== (e == null ? void 0 : e.endFloor);
|
|
7
|
+
}
|
|
8
|
+
return !1;
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
r as checkLargeOffice
|
|
12
|
+
};
|