stone-kit 0.0.1037 → 0.0.1045

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.
Files changed (30) hide show
  1. package/dist/Option-DmDx_xOt.js +99 -0
  2. package/dist/components/CommercialLotCard/CommercialLotCard.js +61 -53
  3. package/dist/components/CommercialLotCard/components/PaymentLink/PaymentLink.d.ts +6 -0
  4. package/dist/components/CommercialLotCard/components/PaymentLink/PaymentLink.js +21 -0
  5. package/dist/components/CommercialLotCard/components/Price/Price.d.ts +2 -1
  6. package/dist/components/CommercialLotCard/components/Price/Price.js +21 -33
  7. package/dist/components/CommercialLotCard/components/Tags/Tags.d.ts +2 -1
  8. package/dist/components/CommercialLotCard/components/Tags/Tags.js +8 -7
  9. package/dist/components/FavoriteIcon/FavoriteIcon.d.ts +7 -0
  10. package/dist/components/FavoriteIcon/FavoriteIcon.js +66 -0
  11. package/dist/components/FavoriteIcon/Heart.d.ts +3 -0
  12. package/dist/components/FavoriteIcon/Heart.js +24 -0
  13. package/dist/components/FavoriteIcon/HeartFilled.d.ts +5 -0
  14. package/dist/components/FavoriteIcon/HeartFilled.js +27 -0
  15. package/dist/components/FilterWithSave/ui/FilterWithSave.js +1 -1
  16. package/dist/components/LotCard/hooks/useLotCard.js +1 -1
  17. package/dist/components/LotCard/ui/LotCard.js +33 -45
  18. package/dist/components/Select/model/selectMode.d.ts +4 -2
  19. package/dist/components/Select/model/selectMode.js +53 -30
  20. package/dist/components/Select/ui/Category.js +43 -40
  21. package/dist/components/Select/ui/Option.js +1 -1
  22. package/dist/components/Select/ui/Select.js +98 -96
  23. package/dist/components/SummarySelect/ui/SummarySelect.d.ts +2 -0
  24. package/dist/components/SummarySelect/ui/SummarySelect.js +97 -91
  25. package/dist/pages/LotsPage/LotsPage.js +22 -16
  26. package/dist/stone-kit.css +1 -1
  27. package/dist/useLotCard-D-gK4J_o.js +186 -0
  28. package/package.json +1 -1
  29. package/dist/Option-DI87iJMM.js +0 -98
  30. package/dist/useLotCard-DPqIlj09.js +0 -187
@@ -0,0 +1,99 @@
1
+ import { jsxs as S, jsx as l } from "react/jsx-runtime";
2
+ import { c as g } from "./index-YnD2EP-S.js";
3
+ import { NewIcon as p } from "./components/NewIcon/ui/NewIcon.js";
4
+ const f = "_multiSelectWrapper_1n881_1", h = "_loaderWrapper_1n881_8", w = "_emptyStateWrapper_1n881_15", L = "_loader_1n881_8", W = "_rotate_1n881_1", y = "_selectedOptions_1n881_37", k = "_selectedText_1n881_55", v = "_selectedOptionsBtn_1n881_63", x = "_selectedOptionsOpened_1n881_89", D = "_selectedOptionsNotEmpty_1n881_93", N = "_selectOptionsDisabled_1n881_98", B = "_optionsOuterContainer_1n881_105", A = "_optionLabel_1n881_118", E = "_betweenSize_small_1n881_124", R = "_betweenSize_medium_1n881_128", T = "_optionsList_1n881_132", j = "_scroll_standard_1n881_161", H = "_scroll_compact_1n881_165", P = "_lastList_1n881_170", U = "_listRight_1n881_175", $ = "_inputWrapper_1n881_179", q = "_option_1n881_105", F = "_category_1n881_201", G = "_leftSide_1n881_207", I = "_optionCategory_1n881_212", J = "_isPositionLeftCheckbox_1n881_218", K = "_optionDisabled_1n881_223", M = "_optionClickable_1n881_227", Q = "_icon_1n881_231", V = "_iconArrow_1n881_237", X = "_iconBtn_1n881_243", t = {
5
+ multiSelectWrapper: f,
6
+ loaderWrapper: h,
7
+ emptyStateWrapper: w,
8
+ loader: L,
9
+ rotate: W,
10
+ selectedOptions: y,
11
+ selectedText: k,
12
+ selectedOptionsBtn: v,
13
+ "small-size": "_small-size_1n881_68",
14
+ "medium-size": "_medium-size_1n881_75",
15
+ "large-size": "_large-size_1n881_82",
16
+ selectedOptionsOpened: x,
17
+ selectedOptionsNotEmpty: D,
18
+ selectOptionsDisabled: N,
19
+ optionsOuterContainer: B,
20
+ optionLabel: A,
21
+ betweenSize_small: E,
22
+ betweenSize_medium: R,
23
+ optionsList: T,
24
+ scroll_standard: j,
25
+ scroll_compact: H,
26
+ lastList: P,
27
+ listRight: U,
28
+ inputWrapper: $,
29
+ option: q,
30
+ category: F,
31
+ leftSide: G,
32
+ optionCategory: I,
33
+ isPositionLeftCheckbox: J,
34
+ optionDisabled: K,
35
+ optionClickable: M,
36
+ icon: Q,
37
+ iconArrow: V,
38
+ iconBtn: X,
39
+ "small-size_m": "_small-size_m_1n881_256",
40
+ "medium-size_m": "_medium-size_m_1n881_262",
41
+ "large-size_m": "_large-size_m_1n881_268",
42
+ "small-size_l": "_small-size_l_1n881_283",
43
+ "medium-size_l": "_medium-size_l_1n881_289",
44
+ "large-size_l": "_large-size_l_1n881_295"
45
+ }, Y = g.bind(t), ne = ({
46
+ option: e,
47
+ selectedOptions: d,
48
+ disabledOptions: m,
49
+ clickableOptions: n,
50
+ handleOptionClick: u,
51
+ isOptionCategory: s,
52
+ isPositionLeftCheckbox: o = !1,
53
+ sizeIcon: c,
54
+ dataTestId: z,
55
+ isDisabledNotClickable: b,
56
+ addClassName: O = ""
57
+ }) => {
58
+ const C = n ? n.includes(`${e.value}`) : !0, a = e.value === "selectAll", _ = d.some((i) => i.value === e.value), r = () => a ? !1 : b && n ? !n.includes(`${e.value}`) : m.some((i) => i.value === e.value);
59
+ return /* @__PURE__ */ S(
60
+ "div",
61
+ {
62
+ className: Y(
63
+ t.option,
64
+ {
65
+ [t.optionDisabled]: r(),
66
+ [t.optionCategory]: s,
67
+ [t.isPositionLeftCheckbox]: o,
68
+ [t.optionClickable]: C || a
69
+ },
70
+ O
71
+ ),
72
+ "data-testid": z,
73
+ onClick: () => {
74
+ r() && !_ || u(e);
75
+ },
76
+ children: [
77
+ (s || o) && /* @__PURE__ */ l(
78
+ p,
79
+ {
80
+ size: c ?? "20",
81
+ name: _ ? "selectChecked" : "selectUncheckedHollow"
82
+ }
83
+ ),
84
+ /* @__PURE__ */ l("div", { className: t.optionLabel, children: e.label }),
85
+ !s && !o && /* @__PURE__ */ l(
86
+ p,
87
+ {
88
+ size: c ?? "20",
89
+ name: _ ? "selectChecked" : "selectUncheckedHollow"
90
+ }
91
+ )
92
+ ]
93
+ }
94
+ );
95
+ };
96
+ export {
97
+ ne as O,
98
+ t as s
99
+ };
@@ -1,73 +1,81 @@
1
- import { jsxs as a, jsx as o } from "react/jsx-runtime";
2
- import { c as g } from "../../index-YnD2EP-S.js";
1
+ import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
+ import { c as z } from "../../index-YnD2EP-S.js";
3
3
  import { fmtNumber as W } from "../../shared/fmtNumber.js";
4
- import { Price as h } from "./components/Price/Price.js";
4
+ import { Price as b } from "./components/Price/Price.js";
5
5
  import { Snippets as v } from "./components/Snippets/Snippets.js";
6
- import { Tags as I } from "./components/Tags/Tags.js";
7
- import { RoundButton as w } from "../RoundButton/ui/RoundButton.js";
8
- const B = "_root_m40b0_1", R = "_lotImageWrapper_m40b0_17", x = "_favoriteBtn_m40b0_24", z = "_lotNameWrapper_m40b0_30", P = "_lotName_m40b0_30", y = "_lotNumber_m40b0_45", C = "_priceWrapper_m40b0_54", F = "_rootRow_m40b0_59", r = {
9
- root: B,
10
- lotImageWrapper: R,
11
- favoriteBtn: x,
12
- lotNameWrapper: z,
13
- lotName: P,
14
- lotNumber: y,
15
- priceWrapper: C,
16
- rootRow: F
17
- }, S = g.bind(r), A = ({
18
- lot: e,
6
+ import { Tags as m } from "./components/Tags/Tags.js";
7
+ import { FavoriteIcon as y } from "../FavoriteIcon/FavoriteIcon.js";
8
+ import { PaymentLink as I } from "./components/PaymentLink/PaymentLink.js";
9
+ const P = "_root_uzpph_1", L = "_lotImageWrapper_uzpph_17", w = "_lotNameContent_uzpph_24", C = "_lotNameWrapper_uzpph_30", k = "_lotName_uzpph_24", x = "_lotNumber_uzpph_45", R = "_content_uzpph_54", S = "_featuresWrapper_uzpph_60", j = "_tags_uzpph_65", F = "_rootRow_uzpph_70", T = "_price_uzpph_105", D = "_paymentLink_uzpph_108", e = {
10
+ root: P,
11
+ lotImageWrapper: L,
12
+ lotNameContent: w,
13
+ lotNameWrapper: C,
14
+ lotName: k,
15
+ lotNumber: x,
16
+ content: R,
17
+ featuresWrapper: S,
18
+ tags: j,
19
+ rootRow: F,
20
+ price: T,
21
+ paymentLink: D
22
+ }, q = z.bind(e), Q = ({
23
+ lot: o,
19
24
  imgNode: s,
20
- onPriceClickHandler: l,
21
- addClassname: p,
22
- isVertical: t = !1,
23
- isFavorite: n,
24
- favoriteClickHandler: m
25
+ onPriceClickHandler: c,
26
+ addClassname: i,
27
+ isVertical: p = !1,
28
+ isFavorite: l,
29
+ favoriteClickHandler: r
25
30
  }) => {
26
- const { interiorPlanImg: c, floorPlanImg: _, area: N, subTypeName: d, number: f } = e || {}, b = d + ", " + W(N) + "м²", u = c ?? _ ?? "";
27
- return e ? /* @__PURE__ */ a("div", { className: S(r.root, p, { [r.rootRow]: !t }), children: [
28
- /* @__PURE__ */ a("div", { className: r.lotImageWrapper, children: [
29
- s || /* @__PURE__ */ o(
31
+ const { interiorPlanImg: _, floorPlanImg: u, area: N, subTypeName: h, number: g } = o || {}, d = h + ", " + W(N) + "м²", f = _ ?? u ?? "";
32
+ return o ? /* @__PURE__ */ a("div", { className: q(e.root, i, { [e.rootRow]: !p }), children: [
33
+ /* @__PURE__ */ a("div", { className: e.lotImageWrapper, children: [
34
+ s || /* @__PURE__ */ t(
30
35
  "img",
31
36
  {
32
37
  loading: "lazy",
33
- src: u,
38
+ src: f,
34
39
  width: 295,
35
40
  height: 213,
36
41
  alt: "logo_image"
37
42
  }
38
43
  ),
39
- /* @__PURE__ */ o(
40
- w,
44
+ r && /* @__PURE__ */ t(
45
+ y,
41
46
  {
42
- iconName: n ? "heartFilled" : "heart",
43
- size: "medium",
44
- size_m: "small",
45
- size_l: "medium",
46
- variant: "fullGray",
47
- color: "#015FF9",
48
- additionalClass: r.favoriteBtn,
49
- onClick: (i) => {
50
- m && m(e), i.preventDefault(), i.stopPropagation();
51
- }
47
+ handleClickFavorite: (n) => {
48
+ r && r(o), n.preventDefault(), n.stopPropagation();
49
+ },
50
+ isFavorite: l
52
51
  }
53
52
  )
54
53
  ] }),
55
- /* @__PURE__ */ a("div", { className: r.lotNameWrapper, children: [
56
- /* @__PURE__ */ o("p", { className: r.lotName, children: b }),
57
- /* @__PURE__ */ o("p", { className: r.lotNumber, children: f }),
58
- /* @__PURE__ */ o(v, { lot: e }),
59
- /* @__PURE__ */ o(I, { lot: e })
60
- ] }),
61
- /* @__PURE__ */ o("div", { className: r.priceWrapper, children: /* @__PURE__ */ o(
62
- h,
63
- {
64
- lot: e,
65
- isVertical: t,
66
- onPriceClickHandler: l
67
- }
68
- ) })
54
+ /* @__PURE__ */ a("div", { className: e.content, children: [
55
+ /* @__PURE__ */ a("div", { className: e.lotNameWrapper, children: [
56
+ /* @__PURE__ */ a("div", { className: e.lotNameContent, children: [
57
+ /* @__PURE__ */ t("p", { className: e.lotName, children: d }),
58
+ /* @__PURE__ */ t("p", { className: e.lotNumber, children: g }),
59
+ /* @__PURE__ */ t(v, { lot: o }),
60
+ /* @__PURE__ */ t(m, { lot: o, classname: e.tags })
61
+ ] }),
62
+ /* @__PURE__ */ t(
63
+ b,
64
+ {
65
+ lot: o,
66
+ isVertical: p,
67
+ onPriceClickHandler: c,
68
+ classname: e.price
69
+ }
70
+ )
71
+ ] }),
72
+ /* @__PURE__ */ a("div", { className: e.featuresWrapper, children: [
73
+ /* @__PURE__ */ t(m, { lot: o, classname: e.tags }),
74
+ /* @__PURE__ */ t(I, { specialProgram: o.specialProgram, classname: e.paymentLink })
75
+ ] })
76
+ ] })
69
77
  ] }) : null;
70
78
  };
71
79
  export {
72
- A as CommercialLotCard
80
+ Q as CommercialLotCard
73
81
  };
@@ -0,0 +1,6 @@
1
+ interface IPaymentLink {
2
+ specialProgram?: boolean | null;
3
+ classname?: string;
4
+ }
5
+ export declare const PaymentLink: ({ specialProgram, classname }: IPaymentLink) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,21 @@
1
+ import { jsxs as p, jsx as r } from "react/jsx-runtime";
2
+ import { c as s } from "../../../../index-YnD2EP-S.js";
3
+ import { NewIcon as o } from "../../../NewIcon/ui/NewIcon.js";
4
+ const t = "_paymentWrapper_1ywol_1", m = {
5
+ paymentWrapper: t
6
+ }, y = ({ specialProgram: e, classname: a }) => {
7
+ const n = !!e;
8
+ return /* @__PURE__ */ p("div", { className: s(m.paymentWrapper, a), children: [
9
+ /* @__PURE__ */ r("span", { children: n ? "Узнать подробности" : "Доступно несколько способов оплаты" }),
10
+ /* @__PURE__ */ r(
11
+ o,
12
+ {
13
+ name: "arrowRight",
14
+ size: "20"
15
+ }
16
+ )
17
+ ] });
18
+ };
19
+ export {
20
+ y as PaymentLink
21
+ };
@@ -3,6 +3,7 @@ interface IPrice {
3
3
  lot: ILot;
4
4
  isVertical?: boolean;
5
5
  onPriceClickHandler?: () => void;
6
+ classname?: string;
6
7
  }
7
- export declare const Price: ({ lot, onPriceClickHandler, isVertical }: IPrice) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const Price: ({ lot, onPriceClickHandler, isVertical, classname }: IPrice) => import("react/jsx-runtime").JSX.Element;
8
9
  export {};
@@ -1,51 +1,39 @@
1
- import { jsxs as o, jsx as c } from "react/jsx-runtime";
1
+ import { jsxs as e, jsx as u } from "react/jsx-runtime";
2
+ import { formatPrice as y } from "../../utils/formatPrice.js";
2
3
  import { c as d } from "../../../../index-YnD2EP-S.js";
3
- import { formatPrice as P } from "../../utils/formatPrice.js";
4
- import { NewIcon as g } from "../../../NewIcon/ui/NewIcon.js";
5
- const y = "_root_spwuc_1", N = "_price_spwuc_7", b = "_paymentWrapper_spwuc_19", x = "_rootVertical_spwuc_39", r = {
6
- root: y,
7
- price: N,
8
- paymentWrapper: b,
9
- rootVertical: x
10
- }, V = d.bind(r), S = ({ lot: s, onPriceClickHandler: i, isVertical: n }) => {
4
+ const N = "_root_1yqa7_1", w = "_price_1yqa7_7", V = "_rootVertical_1yqa7_25", r = {
5
+ root: N,
6
+ price: w,
7
+ rootVertical: V
8
+ }, x = ({ lot: c, onPriceClickHandler: s, isVertical: a, classname: n }) => {
11
9
  const {
12
10
  project: l,
13
- sellingPriceBeforeDiscount: m,
14
- showPriceFlg: _,
11
+ sellingPriceBeforeDiscount: p,
12
+ showPriceFlg: m,
15
13
  direction: f,
16
- specialProgram: h,
17
- sellingPrice: u
18
- } = s || {}, w = !!l?.showPriceSubType?.some((e) => Number(e.filter) === s.subType), t = !!h, p = m ?? u, a = p && _ && !t && w;
19
- return /* @__PURE__ */ o("div", { className: V(r.root, { [r.rootVertical]: n }), children: [
20
- a && /* @__PURE__ */ o("p", { className: r.price, children: [
14
+ specialProgram: P,
15
+ sellingPrice: _
16
+ } = c || {}, h = !!l?.showPriceSubType?.some((o) => Number(o.filter) === c.subType), g = !!P, i = p ?? _, t = i && m && !g && h;
17
+ return /* @__PURE__ */ e("div", { className: d(r.root, { [r.rootVertical]: a }, n), children: [
18
+ t && /* @__PURE__ */ e("p", { className: r.price, children: [
21
19
  " ",
22
- P(p, !1, f)
20
+ y(i, !1, f)
23
21
  ] }),
24
- !a && /* @__PURE__ */ o(
22
+ !t && /* @__PURE__ */ e(
25
23
  "p",
26
24
  {
27
25
  className: r.price,
28
- onClick: (e) => {
29
- e.preventDefault(), e.stopPropagation(), i && i();
26
+ onClick: (o) => {
27
+ o.preventDefault(), o.stopPropagation(), s && s();
30
28
  },
31
29
  children: [
32
30
  "Цена ",
33
- /* @__PURE__ */ c("span", { children: "по запросу" })
31
+ /* @__PURE__ */ u("span", { children: "по запросу" })
34
32
  ]
35
33
  }
36
- ),
37
- /* @__PURE__ */ o("div", { className: r.paymentWrapper, children: [
38
- /* @__PURE__ */ c("span", { children: t ? "Узнать подробности" : "Доступно несколько способов оплаты" }),
39
- /* @__PURE__ */ c(
40
- g,
41
- {
42
- name: "arrowRight",
43
- size: "20"
44
- }
45
- )
46
- ] })
34
+ )
47
35
  ] });
48
36
  };
49
37
  export {
50
- S as Price
38
+ x as Price
51
39
  };
@@ -1,6 +1,7 @@
1
1
  import { ILot } from '../../types/LotCard';
2
2
  interface ITags {
3
3
  lot: ILot;
4
+ classname?: string;
4
5
  }
5
- export declare const Tags: ({ lot }: ITags) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const Tags: ({ lot, classname }: ITags) => import("react/jsx-runtime").JSX.Element;
6
7
  export {};
@@ -1,10 +1,11 @@
1
- import { jsxs as u, jsx as i } from "react/jsx-runtime";
1
+ import { jsxs as p, jsx as i } from "react/jsx-runtime";
2
+ import { c as u } from "../../../../index-YnD2EP-S.js";
2
3
  import { Tag as n } from "../../../Tag/ui/Tag.js";
3
- const p = "_root_xiuq1_1", x = {
4
- root: p
5
- }, m = ({ lot: g }) => {
6
- const { housing: s, floor: r, endFloor: t, floorsNumber: o, type: d, project: e } = g || {}, a = d === 11, c = r && o ? (t && t !== r ? r + "-" + t : r) + " этаж из " + o : "", l = () => a ? o ? "Кол-во этажей: " + o : "" : c || "";
7
- return /* @__PURE__ */ u("div", { className: x.root, children: [
4
+ const f = "_root_xiuq1_1", x = {
5
+ root: f
6
+ }, b = ({ lot: g, classname: d }) => {
7
+ const { housing: s, floor: r, endFloor: t, floorsNumber: o, type: m, project: e } = g || {}, a = m === 11, c = r && o ? (t && t !== r ? r + "-" + t : r) + " этаж из " + o : "", l = () => a ? o ? "Кол-во этажей: " + o : "" : c || "";
8
+ return /* @__PURE__ */ p("div", { className: u(x.root, d), children: [
8
9
  e?.buildingYear && /* @__PURE__ */ i(
9
10
  n,
10
11
  {
@@ -32,5 +33,5 @@ const p = "_root_xiuq1_1", x = {
32
33
  ] });
33
34
  };
34
35
  export {
35
- m as Tags
36
+ b as Tags
36
37
  };
@@ -0,0 +1,7 @@
1
+ interface IFavoriteIcon {
2
+ handleClickFavorite: (e: React.MouseEvent<HTMLDivElement>) => void;
3
+ isFavorite?: boolean;
4
+ uniqueId?: string;
5
+ }
6
+ export declare const FavoriteIcon: ({ handleClickFavorite, isFavorite, uniqueId }: IFavoriteIcon) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,66 @@
1
+ import { jsxs as a, Fragment as _, jsx as c } from "react/jsx-runtime";
2
+ import { useState as u, useRef as d, useEffect as h } from "react";
3
+ import { createPortal as T } from "react-dom";
4
+ import x from "./Heart.js";
5
+ import y from "./HeartFilled.js";
6
+ const C = "_root_vcwe4_1", R = "_popup_vcwe4_28", g = {
7
+ root: C,
8
+ popup: R
9
+ }, b = ({ handleClickFavorite: l, isFavorite: t, uniqueId: w }) => {
10
+ const [P, i] = u(!1), [s, n] = u(!1), [f, S] = u({ top: 0, left: 0 }), o = d(null), p = d(null), e = `favorite_popup_${w}`, I = (r) => {
11
+ r.stopPropagation(), r.preventDefault(), t && sessionStorage.setItem(e, "true"), i(!0), setTimeout(() => {
12
+ i(!1), l && l(r);
13
+ }, 200);
14
+ };
15
+ return h(() => {
16
+ if (sessionStorage.getItem(e) === "true" && !t && p.current) {
17
+ o.current && clearTimeout(o.current);
18
+ const m = p.current.getBoundingClientRect();
19
+ S({
20
+ top: m.top + window.scrollY - 60,
21
+ left: m.right + window.scrollX - 200
22
+ }), n(!0), sessionStorage.removeItem(e), o.current = setTimeout(() => {
23
+ n(!1);
24
+ }, 2e3);
25
+ }
26
+ return t && sessionStorage.removeItem(e), () => {
27
+ o.current && clearTimeout(o.current);
28
+ };
29
+ }, [t, e]), h(() => {
30
+ t && s && (n(!1), o.current && (clearTimeout(o.current), o.current = null));
31
+ }, [t, s]), /* @__PURE__ */ a(_, { children: [
32
+ /* @__PURE__ */ a(
33
+ "div",
34
+ {
35
+ ref: p,
36
+ className: g.root,
37
+ onClick: I,
38
+ style: {
39
+ transform: P ? "scale(0.9)" : "scale(1)",
40
+ transition: "transform 0.1s ease-in-out"
41
+ },
42
+ children: [
43
+ !t && /* @__PURE__ */ c(x, { width: 24, height: 24, color: "#353945" }),
44
+ t && /* @__PURE__ */ c(y, { width: 24, height: 24, color: "#015FF9" })
45
+ ]
46
+ }
47
+ ),
48
+ s && T(
49
+ /* @__PURE__ */ c(
50
+ "div",
51
+ {
52
+ className: g.popup,
53
+ style: {
54
+ top: `${f.top}px`,
55
+ left: `${f.left}px`
56
+ },
57
+ children: "Удалено из избранного"
58
+ }
59
+ ),
60
+ document.body
61
+ )
62
+ ] });
63
+ };
64
+ export {
65
+ b as FavoriteIcon
66
+ };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const Heart: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export default Heart;
@@ -0,0 +1,24 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ const t = (o) => /* @__PURE__ */ e(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ width: 24,
7
+ height: 24,
8
+ fill: "none",
9
+ ...o,
10
+ children: /* @__PURE__ */ e(
11
+ "path",
12
+ {
13
+ stroke: "currentColor",
14
+ strokeLinecap: "round",
15
+ strokeLinejoin: "round",
16
+ d: "M11.995 7.437c-1.4-1.573-3.733-1.996-5.487-.556-1.753 1.44-2 3.849-.623 5.552 1.145 1.416 4.61 4.403 5.745 5.37.127.108.191.162.265.183a.368.368 0 0 0 .2 0c.074-.021.138-.075.265-.183 1.136-.967 4.6-3.954 5.745-5.37 1.378-1.703 1.16-4.127-.623-5.552-1.784-1.425-4.087-1.017-5.487.556Z",
17
+ clipRule: "evenodd"
18
+ }
19
+ )
20
+ }
21
+ );
22
+ export {
23
+ t as default
24
+ };
@@ -0,0 +1,5 @@
1
+ import { SVGProps } from 'react';
2
+ declare const HeartFilled: (props: SVGProps<SVGSVGElement> & {
3
+ deg?: number;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
+ export default HeartFilled;
@@ -0,0 +1,27 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ const r = (e) => /* @__PURE__ */ o(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ width: 24,
7
+ height: 24,
8
+ fill: "none",
9
+ style: { transform: e.deg ? `rotate(${e.deg}deg)` : void 0 },
10
+ ...e,
11
+ children: /* @__PURE__ */ o(
12
+ "path",
13
+ {
14
+ fill: "currentColor",
15
+ fillRule: "evenodd",
16
+ stroke: "currentColor",
17
+ strokeLinecap: "round",
18
+ strokeLinejoin: "round",
19
+ d: "M11.995 7.437c-1.4-1.573-3.733-1.996-5.487-.556-1.753 1.44-2 3.849-.623 5.552 1.145 1.416 4.61 4.403 5.745 5.37.127.108.191.162.265.183a.368.368 0 0 0 .2 0c.074-.021.138-.075.265-.183 1.136-.967 4.6-3.954 5.745-5.37 1.378-1.703 1.16-4.127-.623-5.552-1.784-1.425-4.087-1.017-5.487.556Z",
20
+ clipRule: "evenodd"
21
+ }
22
+ )
23
+ }
24
+ );
25
+ export {
26
+ r as default
27
+ };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, Fragment as I, jsx as t } from "react/jsx-runtime";
2
- import { O as M } from "../../../Option-DI87iJMM.js";
2
+ import { O as M } from "../../../Option-DmDx_xOt.js";
3
3
  import { g as D } from "../../../index-YnD2EP-S.js";
4
4
  import { useFilterWithSave as P } from "../hooks/useFilterWithSave.js";
5
5
  import { NewIcon as S } from "../../NewIcon/ui/NewIcon.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { u as f } from "../../../useLotCard-DPqIlj09.js";
3
+ import { u as f } from "../../../useLotCard-D-gK4J_o.js";
4
4
  import "../utils/getTagsFeatures.js";
5
5
  import "../../../index-YnD2EP-S.js";
6
6
  import "../utils/checkBedroomsCount.js";