stone-kit 0.0.976 → 0.0.977

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/App.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { B as o } from "./Menu-D41tTZfh.js";
2
+ import { B as o } from "./Menu-V28d9R8o.js";
3
3
  import t from "./layout/Layout.js";
4
4
  import p from "./Router.js";
5
5
  function u() {
@@ -91,10 +91,10 @@ const cr = "_root_14gc5_1", dr = "_text_14gc5_18", ur = "_textMini_14gc5_26", fr
91
91
  isLongOn: W = !0,
92
92
  width: D,
93
93
  width_m: P,
94
- width_l: B,
94
+ width_l: I,
95
95
  mini: F = !1,
96
96
  ...V
97
- } = e, G = (i != null && i.toString().length ? (i == null ? void 0 : i.toString().length) > 2 : !1) && W, T = (J, _) => J && P ? P : _ && B ? B : D, X = !D && !P && !B && G;
97
+ } = e, G = (i != null && i.toString().length ? (i == null ? void 0 : i.toString().length) > 2 : !1) && W, T = (J, _) => J && P ? P : _ && I ? I : D, X = !D && !P && !I && G;
98
98
  return /* @__PURE__ */ S("label", { className: Le($.labelItem, { [$.isLong]: G }, f), children: [
99
99
  /* @__PURE__ */ c(
100
100
  "input",
@@ -198,7 +198,7 @@ const je = Object.assign(Sr, { Item: Wt }), Ar = "_root_kbf05_1", Nr = "_lotBtn_
198
198
  number: E,
199
199
  bedroomsCount: O,
200
200
  mortgageMonthlyPayment: W
201
- } = e, [D, P] = we(!1), B = t === 2, F = n === 1, V = A === 11, G = a ? a + " м²" : "", T = i && f ? (d && d !== i ? i + "-" + d : i) + " из " + f : "", X = ar({ ...e }), { isTablet: J, isDesktop: _, isMobile: I, currentClientWidth: L } = Re(), j = typeof r < "u" ? r : _ || J, b = () => V ? f ? "Кол-во этажей: " + f : "" : T ? "Этаж: " + T : "", k = () => V ? f ? /* @__PURE__ */ S("li", { className: Ne(x.lotPropertyItem), children: [
201
+ } = e, [D, P] = we(!1), I = t === 2, F = n === 1, V = A === 11, G = a ? a + " м²" : "", T = i && f ? (d && d !== i ? i + "-" + d : i) + " из " + f : "", X = ar({ ...e }), { isTablet: J, isDesktop: _, isMobile: B, currentClientWidth: L } = Re(), j = typeof r < "u" ? r : _ || J, b = () => V ? f ? "Кол-во этажей: " + f : "" : T ? "Этаж: " + T : "", k = () => V ? f ? /* @__PURE__ */ S("li", { className: Ne(x.lotPropertyItem), children: [
202
202
  /* @__PURE__ */ c("div", { children: "Количество этажей" }),
203
203
  /* @__PURE__ */ c("div", { children: f })
204
204
  ] }) : null : T ? /* @__PURE__ */ S("li", { className: Ne(x.lotPropertyItem), children: [
@@ -206,7 +206,7 @@ const je = Object.assign(Sr, { Item: Wt }), Ar = "_root_kbf05_1", Nr = "_lotBtn_
206
206
  /* @__PURE__ */ c("div", { children: T })
207
207
  ] }) : null, C = () => {
208
208
  if (A === 3) {
209
- if (I && (!g || g.length === 0))
209
+ if (B && (!g || g.length === 0))
210
210
  return null;
211
211
  let Z = 0;
212
212
  const z = _ ? 36 : 28, Y = [], se = [];
@@ -306,8 +306,8 @@ const je = Object.assign(Sr, { Item: Wt }), Ar = "_root_kbf05_1", Nr = "_lotBtn_
306
306
  isTablet: J,
307
307
  isDesktop: _,
308
308
  getFloorStr: b,
309
- isReserved: B,
310
- isMobile: I,
309
+ isReserved: I,
310
+ isMobile: B,
311
311
  areaStr: G,
312
312
  floorStr: T,
313
313
  isShowSnippet: D,
@@ -335,7 +335,7 @@ const je = Object.assign(Sr, { Item: Wt }), Ar = "_root_kbf05_1", Nr = "_lotBtn_
335
335
  discount: W,
336
336
  sellingPrice: D,
337
337
  sellingPriceBeforeDiscount: P
338
- } = e, B = !!((de = (ce = e.project) == null ? void 0 : ce.showPriceSubType) != null && de.some((Q) => Number(Q.filter) === e.subType)), F = B && Number(e.sellingPrice) && e.bestPurchasingConditions, V = !B && e.bestPurchasingConditions && Number(e.sellingPrice), G = () => {
338
+ } = e, I = !!((de = (ce = e.project) == null ? void 0 : ce.showPriceSubType) != null && de.some((Q) => Number(Q.filter) === e.subType)), F = I && Number(e.sellingPrice) && e.bestPurchasingConditions, V = !I && e.bestPurchasingConditions && Number(e.sellingPrice), G = () => {
339
339
  if (V)
340
340
  return {
341
341
  notMobileText: `Первоначальный взнос ${e.bestPurchasingConditions} %`,
@@ -357,7 +357,7 @@ const je = Object.assign(Sr, { Item: Wt }), Ar = "_root_kbf05_1", Nr = "_lotBtn_
357
357
  notMobileText: null,
358
358
  mobileText: null
359
359
  };
360
- }, X = V ? "Первоначальный взнос" : e.hasBestPurchasingConditions ? "Рассрочка" : F ? "Первоначальный взнос" : "", { notMobileText: J, mobileText: _ } = G(), I = er(e), {
360
+ }, X = V ? "Первоначальный взнос" : e.hasBestPurchasingConditions ? "Рассрочка" : F ? "Первоначальный взнос" : "", { notMobileText: J, mobileText: _ } = G(), B = er(e), {
361
361
  getFloorStr: L,
362
362
  FloorByType: j,
363
363
  areaStr: b,
@@ -370,7 +370,7 @@ const je = Object.assign(Sr, { Item: Wt }), Ar = "_root_kbf05_1", Nr = "_lotBtn_
370
370
  } = fs({ lot: e, rowConditions: f });
371
371
  if (!N)
372
372
  return null;
373
- console.log(e.number, "Показывать цену=", B, ",", "hasBestPurchasingConditions =", e.hasBestPurchasingConditions, ",", "bestPurchasingConditions=", e.bestPurchasingConditions);
373
+ console.log(e.number, "Показывать цену=", I, ",", "hasBestPurchasingConditions =", e.hasBestPurchasingConditions, ",", "bestPurchasingConditions=", e.bestPurchasingConditions);
374
374
  const se = () => /* @__PURE__ */ c("div", { className: ae(x.lotImageWrapper, A), children: d || /* @__PURE__ */ c(
375
375
  "img",
376
376
  {
@@ -431,9 +431,9 @@ const je = Object.assign(Sr, { Item: Wt }), Ar = "_root_kbf05_1", Nr = "_lotBtn_
431
431
  C && /* @__PURE__ */ c(Y, {}),
432
432
  !Z && !k && /* @__PURE__ */ S("div", { style: { display: "flex", alignItems: "flex-end", flexDirection: "column" }, children: [
433
433
  /* @__PURE__ */ S("div", { className: x.priceWrap, children: [
434
- /* @__PURE__ */ c("div", { className: x.discountWrapper, children: !I && W && D && P && C && /* @__PURE__ */ S("div", { className: ae(x.discountPrice), children: [
435
- /* @__PURE__ */ c("span", { children: B && Be(P ?? D, !1, E) }),
436
- B && /* @__PURE__ */ c(
434
+ /* @__PURE__ */ c("div", { className: x.discountWrapper, children: !B && W && D && P && C && /* @__PURE__ */ S("div", { className: ae(x.discountPrice), children: [
435
+ /* @__PURE__ */ c("span", { children: I && Be(P ?? D, !1, E) }),
436
+ I && /* @__PURE__ */ c(
437
437
  We,
438
438
  {
439
439
  additionalClass: ae(x.discountTag),
@@ -443,16 +443,16 @@ const je = Object.assign(Sr, { Item: Wt }), Ar = "_root_kbf05_1", Nr = "_lotBtn_
443
443
  }
444
444
  )
445
445
  ] }) }),
446
- !I && C && /* @__PURE__ */ c(
446
+ !B && C && /* @__PURE__ */ c(
447
447
  "div",
448
448
  {
449
449
  className: x.price,
450
- children: B ? Be(D, !1, E) : "Цена по запросу"
450
+ children: I ? Be(D, !1, E) : "Цена по запросу"
451
451
  }
452
452
  ),
453
- I && C && /* @__PURE__ */ c("div", { className: x.price, children: "Цена по запросу" })
453
+ B && C && /* @__PURE__ */ c("div", { className: x.price, children: "Цена по запросу" })
454
454
  ] }),
455
- !I && B && e.showPriceFlg && /* @__PURE__ */ c("div", { className: x.paymentClass, children: J })
455
+ !B && /* @__PURE__ */ c("div", { className: x.paymentClass, children: J })
456
456
  ] }),
457
457
  g && !k && /* @__PURE__ */ c("div", { className: ae(x.lotPricePerMetr, x.projectLotPricePerMetr), children: Be(g, !0, E) })
458
458
  ] }),
@@ -473,16 +473,16 @@ const je = Object.assign(Sr, { Item: Wt }), Ar = "_root_kbf05_1", Nr = "_lotBtn_
473
473
  /* @__PURE__ */ c("div", { children: w == null ? void 0 : w.split(" ")[1] })
474
474
  ] }),
475
475
  /* @__PURE__ */ c(j, {}),
476
- !I && X && B && e.showPriceFlg && /* @__PURE__ */ S("li", { className: ae(x.lotPropertyItem), children: [
476
+ !B && X && /* @__PURE__ */ S("li", { className: ae(x.lotPropertyItem), children: [
477
477
  /* @__PURE__ */ c("div", { children: X }),
478
478
  /* @__PURE__ */ c("div", { children: _ })
479
479
  ] })
480
480
  ] })
481
481
  ] }) }),
482
482
  (Z && !k || !C) && /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "flex-start" }, children: /* @__PURE__ */ S("div", { className: x.priceWrap, children: [
483
- /* @__PURE__ */ c("div", { className: x.discountWrapper, children: !I && W && D && P && /* @__PURE__ */ S("div", { className: ae(x.discountPrice), children: [
484
- B && /* @__PURE__ */ c("span", { children: Be(P ?? D, !1, E) }),
485
- B && /* @__PURE__ */ c(
483
+ /* @__PURE__ */ c("div", { className: x.discountWrapper, children: !B && W && D && P && /* @__PURE__ */ S("div", { className: ae(x.discountPrice), children: [
484
+ I && /* @__PURE__ */ c("span", { children: Be(P ?? D, !1, E) }),
485
+ I && /* @__PURE__ */ c(
486
486
  We,
487
487
  {
488
488
  additionalClass: ae(x.discountTag),
@@ -492,14 +492,14 @@ const je = Object.assign(Sr, { Item: Wt }), Ar = "_root_kbf05_1", Nr = "_lotBtn_
492
492
  }
493
493
  )
494
494
  ] }) }),
495
- !I && /* @__PURE__ */ c(
495
+ !B && /* @__PURE__ */ c(
496
496
  "div",
497
497
  {
498
498
  className: x.price,
499
- children: B ? Be(D, !1, E) : "Цена по запросу"
499
+ children: I ? Be(D, !1, E) : "Цена по запросу"
500
500
  }
501
501
  ),
502
- I && /* @__PURE__ */ c("div", { className: x.price, children: "Цена по запросу" })
502
+ B && /* @__PURE__ */ c("div", { className: x.price, children: "Цена по запросу" })
503
503
  ] }) }),
504
504
  /* @__PURE__ */ c(H, {})
505
505
  ] })
@@ -535,7 +535,7 @@ const je = Object.assign(Sr, { Item: Wt }), Ar = "_root_kbf05_1", Nr = "_lotBtn_
535
535
  onCLickSelect: y,
536
536
  onOpenClick: E
537
537
  }) => {
538
- const [O, W] = we(!1), D = Tt(null), { isMobile: P } = Re(), { handleBlur: B, getInputValue: F, getOption: V, handleDocumentClick: G } = tr({
538
+ const [O, W] = we(!1), D = Tt(null), { isMobile: P } = Re(), { handleBlur: I, getInputValue: F, getOption: V, handleDocumentClick: G } = tr({
539
539
  selectedOption: r,
540
540
  onClickOption: g,
541
541
  setSelectedOption: d,
@@ -560,7 +560,7 @@ const je = Object.assign(Sr, { Item: Wt }), Ar = "_root_kbf05_1", Nr = "_lotBtn_
560
560
  i
561
561
  ),
562
562
  tabIndex: 0,
563
- onBlur: B,
563
+ onBlur: I,
564
564
  onClick: () => {
565
565
  y && y();
566
566
  },
@@ -926,12 +926,12 @@ var Pe = (e) => re(e) && !Ge(e) ? e : {
926
926
  value: e,
927
927
  message: ""
928
928
  }, Nt = async (e, r, t, n, a) => {
929
- const { ref: i, refs: d, required: f, maxLength: A, minLength: w, min: g, max: y, pattern: E, validate: O, name: W, valueAsNumber: D, mount: P, disabled: B } = e._f, F = m(r, W);
930
- if (!P || B)
929
+ const { ref: i, refs: d, required: f, maxLength: A, minLength: w, min: g, max: y, pattern: E, validate: O, name: W, valueAsNumber: D, mount: P, disabled: I } = e._f, F = m(r, W);
930
+ if (!P || I)
931
931
  return {};
932
932
  const V = d ? d[0] : i, G = (b) => {
933
933
  n && V.reportValidity && (V.setCustomValidity(ge(b) ? "" : b || ""), V.reportValidity());
934
- }, T = {}, X = ut(i), J = Oe(i), _ = X || J, I = (D || dt(i)) && K(i.value) && K(F) || qe(i) && i.value === "" || F === "" || Array.isArray(F) && !F.length, L = Vs.bind(null, W, t, T), j = (b, k, C, N = Fe.maxLength, Z = Fe.minLength) => {
934
+ }, T = {}, X = ut(i), J = Oe(i), _ = X || J, B = (D || dt(i)) && K(i.value) && K(F) || qe(i) && i.value === "" || F === "" || Array.isArray(F) && !F.length, L = Vs.bind(null, W, t, T), j = (b, k, C, N = Fe.maxLength, Z = Fe.minLength) => {
935
935
  const z = b ? k : C;
936
936
  T[W] = {
937
937
  type: b ? N : Z,
@@ -940,7 +940,7 @@ var Pe = (e) => re(e) && !Ge(e) ? e : {
940
940
  ...L(b ? N : Z, z)
941
941
  };
942
942
  };
943
- if (a ? !Array.isArray(F) || !F.length : f && (!_ && (I || oe(F)) || ge(F) && !F || J && !Ot(d).isValid || X && !jt(d).isValid)) {
943
+ if (a ? !Array.isArray(F) || !F.length : f && (!_ && (B || oe(F)) || ge(F) && !F || J && !Ot(d).isValid || X && !jt(d).isValid)) {
944
944
  const { value: b, message: k } = Ze(f) ? { value: !!f, message: f } : Pe(f);
945
945
  if (b && (T[W] = {
946
946
  type: Fe.required,
@@ -950,7 +950,7 @@ var Pe = (e) => re(e) && !Ge(e) ? e : {
950
950
  }, !t))
951
951
  return G(k), T;
952
952
  }
953
- if (!I && (!oe(g) || !oe(y))) {
953
+ if (!B && (!oe(g) || !oe(y))) {
954
954
  let b, k;
955
955
  const C = Pe(y), N = Pe(g);
956
956
  if (!oe(F) && !isNaN(F)) {
@@ -963,12 +963,12 @@ var Pe = (e) => re(e) && !Ge(e) ? e : {
963
963
  if ((b || k) && (j(!!b, C.message, N.message, Fe.max, Fe.min), !t))
964
964
  return G(T[W].message), T;
965
965
  }
966
- if ((A || w) && !I && (be(F) || a && Array.isArray(F))) {
966
+ if ((A || w) && !B && (be(F) || a && Array.isArray(F))) {
967
967
  const b = Pe(A), k = Pe(w), C = !oe(b.value) && F.length > +b.value, N = !oe(k.value) && F.length < +k.value;
968
968
  if ((C || N) && (j(C, b.message, k.message), !t))
969
969
  return G(T[W].message), T;
970
970
  }
971
- if (E && !I && be(F)) {
971
+ if (E && !B && be(F)) {
972
972
  const { value: b, message: k } = Pe(E);
973
973
  if (Ge(b) && !F.match(b) && (T[W] = {
974
974
  type: Fe.pattern,
@@ -1180,7 +1180,7 @@ function qs(e = {}) {
1180
1180
  isValid: l
1181
1181
  });
1182
1182
  }
1183
- }, B = (s, l) => {
1183
+ }, I = (s, l) => {
1184
1184
  (g.isValidating || g.validatingFields) && ((s || Array.from(f.mount)).forEach((o) => {
1185
1185
  o && (l ? U(t.validatingFields, o, l) : te(t.validatingFields, o));
1186
1186
  }), y.state.next({
@@ -1255,10 +1255,10 @@ function qs(e = {}) {
1255
1255
  }, y.state.next(v);
1256
1256
  }
1257
1257
  }, _ = async (s) => {
1258
- B(s, !0);
1258
+ I(s, !0);
1259
1259
  const l = await r.resolver(i, r.context, js(s || f.mount, n, r.criteriaMode, r.shouldUseNativeValidation));
1260
- return B(s), l;
1261
- }, I = async (s) => {
1260
+ return I(s), l;
1261
+ }, B = async (s) => {
1262
1262
  const { errors: l } = await _(s);
1263
1263
  if (s)
1264
1264
  for (const o of s) {
@@ -1277,9 +1277,9 @@ function qs(e = {}) {
1277
1277
  const { _f: u, ...v } = p;
1278
1278
  if (u) {
1279
1279
  const M = f.array.has(u.name);
1280
- B([h], !0);
1280
+ I([h], !0);
1281
1281
  const ee = await Nt(p, i, W, r.shouldUseNativeValidation && !l, M);
1282
- if (B([h]), ee[u.name] && (o.valid = !1, l))
1282
+ if (I([h]), ee[u.name] && (o.valid = !1, l))
1283
1283
  break;
1284
1284
  !l && (m(ee, u.name) ? M ? Ds(t.errors, ee, u.name) : U(t.errors, u.name, ee[u.name]) : te(t.errors, u.name));
1285
1285
  }
@@ -1349,7 +1349,7 @@ function qs(e = {}) {
1349
1349
  M = gt.error, o = gt.name, ee = me(yt);
1350
1350
  }
1351
1351
  } else
1352
- B([o], !0), M = (await Nt(p, i, W, r.shouldUseNativeValidation))[o], B([o]), v(pe), h && (M ? ee = !1 : g.isValid && (ee = await L(n, !0)));
1352
+ I([o], !0), M = (await Nt(p, i, W, r.shouldUseNativeValidation))[o], I([o]), v(pe), h && (M ? ee = !1 : g.isValid && (ee = await L(n, !0)));
1353
1353
  h && (p._f.deps && H(p._f.deps), J(o, ee, M, Qe));
1354
1354
  }
1355
1355
  }, se = (s, l) => {
@@ -1359,7 +1359,7 @@ function qs(e = {}) {
1359
1359
  let o, h;
1360
1360
  const p = Ee(s);
1361
1361
  if (r.resolver) {
1362
- const u = await I(K(s) ? s : p);
1362
+ const u = await B(K(s) ? s : p);
1363
1363
  o = me(u), h = s ? !p.some((v) => m(u, v)) : o;
1364
1364
  } else
1365
1365
  s ? (h = (await Promise.all(p.map(async (u) => {
@@ -1704,7 +1704,7 @@ const _s = Me.bind(ie), Hs = "Я принимаю условия Политик
1704
1704
  modalWidth: W = "442px",
1705
1705
  rowsTextArea: D = 2,
1706
1706
  advCheckBox: P = { text: Hs, isRequired: !0 },
1707
- isAdvCheckBox: B,
1707
+ isAdvCheckBox: I,
1708
1708
  addTitleClassName: F,
1709
1709
  createPortalObj: V,
1710
1710
  telegramClickHandler: G = () => null,
@@ -1712,7 +1712,7 @@ const _s = Me.bind(ie), Hs = "Я принимаю условия Политик
1712
1712
  handlerButton: X,
1713
1713
  block_name: J,
1714
1714
  emitCheckBox: _,
1715
- emitAdvCheckBox: I
1715
+ emitAdvCheckBox: B
1716
1716
  }) => {
1717
1717
  const {
1718
1718
  register: L,
@@ -1725,8 +1725,8 @@ const _s = Me.bind(ie), Hs = "Я принимаю условия Политик
1725
1725
  De(() => {
1726
1726
  typeof z < "u" && _ && _();
1727
1727
  }, [_, z]), De(() => {
1728
- typeof Y < "u" && I && I();
1729
- }, [I, Y]);
1728
+ typeof Y < "u" && B && B();
1729
+ }, [B, Y]);
1730
1730
  const { isMobile: se, currentClientWidth: H } = Re(), ne = C("personalCheckBox"), ce = C("advCheckBox"), de = (ue) => {
1731
1731
  O(ue), b();
1732
1732
  }, Q = (ue, { action_element_status: ye, action_element: Se }) => {
@@ -1868,7 +1868,7 @@ const _s = Me.bind(ie), Hs = "Я принимаю условия Политик
1868
1868
  ...L("textarea")
1869
1869
  }
1870
1870
  ),
1871
- P && !t && B && /* @__PURE__ */ c(
1871
+ P && !t && I && /* @__PURE__ */ c(
1872
1872
  vt,
1873
1873
  {
1874
1874
  "data-testid": "modal_advCheckBox",
@@ -2026,31 +2026,31 @@ const mi = /* @__PURE__ */ Qt(fi), pi = ({
2026
2026
  onSaveClick: f,
2027
2027
  onClearClick: A
2028
2028
  }) => {
2029
- const { isMobile: w } = Re(), [g, y] = we(!1), E = Tt(null), [O, W] = we(e), [D] = we(r), [P, B] = we(O), [F, V] = we(D), G = (I) => {
2030
- if (t && t(I), n.some((j) => j.value === I.value))
2029
+ const { isMobile: w } = Re(), [g, y] = we(!1), E = Tt(null), [O, W] = we(e), [D] = we(r), [P, I] = we(O), [F, V] = we(D), G = (B) => {
2030
+ if (t && t(B), n.some((j) => j.value === B.value))
2031
2031
  return;
2032
- const L = F.some((j) => j.value === I.value) ? F.filter((j) => j.value !== I.value) : [...F, I];
2032
+ const L = F.some((j) => j.value === B.value) ? F.filter((j) => j.value !== B.value) : [...F, B];
2033
2033
  V(L);
2034
2034
  }, T = () => {
2035
- W(a), B(a), V([]), A(), i && (i([]), d == null || d(a));
2035
+ W(a), I(a), V([]), A(), i && (i([]), d == null || d(a));
2036
2036
  }, X = () => {
2037
- V(r), B(e);
2037
+ V(r), I(e);
2038
2038
  }, J = () => {
2039
2039
  X(), y(!1);
2040
- }, _ = (I) => {
2041
- I.stopPropagation(), f(), i && (d == null || d(P), i(F)), y(!1);
2040
+ }, _ = (B) => {
2041
+ B.stopPropagation(), f(), i && (d == null || d(P), i(F)), y(!1);
2042
2042
  };
2043
2043
  return De(() => {
2044
- g || B((I) => JSON.stringify(I) !== JSON.stringify(e) ? e : I);
2044
+ g || I((B) => JSON.stringify(B) !== JSON.stringify(e) ? e : B);
2045
2045
  }, [g, e]), De(() => {
2046
- const I = (L) => {
2046
+ const B = (L) => {
2047
2047
  if (!E.current)
2048
2048
  return;
2049
2049
  const j = L.target;
2050
2050
  E.current.contains(j) || j.closest("svg") || J();
2051
2051
  };
2052
- return g ? document.addEventListener("click", I) : document.removeEventListener("click", I), () => {
2053
- document.removeEventListener("click", I);
2052
+ return g ? document.addEventListener("click", B) : document.removeEventListener("click", B), () => {
2053
+ document.removeEventListener("click", B);
2054
2054
  };
2055
2055
  }, [g]), {
2056
2056
  isMobile: w,
@@ -2063,7 +2063,7 @@ const mi = /* @__PURE__ */ Qt(fi), pi = ({
2063
2063
  setSelectedOptions: V,
2064
2064
  isModalOpen: g,
2065
2065
  setIsModalOpen: y,
2066
- setLocalSelectedTabs: B,
2066
+ setLocalSelectedTabs: I,
2067
2067
  containerRef: E
2068
2068
  };
2069
2069
  }, hi = mi.bind(R), rn = ({
@@ -2086,7 +2086,7 @@ const mi = /* @__PURE__ */ Qt(fi), pi = ({
2086
2086
  handleCloseModal: W,
2087
2087
  localSelectedTabs: D,
2088
2088
  selectedOptions: P,
2089
- isMobile: B,
2089
+ isMobile: I,
2090
2090
  handleOptionClick: F,
2091
2091
  handleClearClick: V,
2092
2092
  handleSaveClick: G,
@@ -2104,7 +2104,7 @@ const mi = /* @__PURE__ */ Qt(fi), pi = ({
2104
2104
  selectedValues: i,
2105
2105
  onSaveClick: g,
2106
2106
  onClearClick: y
2107
- }), I = () => /* @__PURE__ */ S(st, { children: [
2107
+ }), B = () => /* @__PURE__ */ S(st, { children: [
2108
2108
  /* @__PURE__ */ c(
2109
2109
  "div",
2110
2110
  {
@@ -2199,7 +2199,7 @@ const mi = /* @__PURE__ */ Qt(fi), pi = ({
2199
2199
  {
2200
2200
  className: R.root,
2201
2201
  onClick: () => {
2202
- w && w(), a && a(), B ? J((L) => !L) : T || J(!0);
2202
+ w && w(), a && a(), I ? J((L) => !L) : T || J(!0);
2203
2203
  },
2204
2204
  children: [
2205
2205
  /* @__PURE__ */ c("div", { className: R.btnName, children: O }),
@@ -2213,7 +2213,7 @@ const mi = /* @__PURE__ */ Qt(fi), pi = ({
2213
2213
  ]
2214
2214
  }
2215
2215
  ),
2216
- !B && /* @__PURE__ */ S(
2216
+ !I && /* @__PURE__ */ S(
2217
2217
  "div",
2218
2218
  {
2219
2219
  ref: _,
@@ -2309,7 +2309,7 @@ const mi = /* @__PURE__ */ Qt(fi), pi = ({
2309
2309
  }
2310
2310
  )
2311
2311
  ] }),
2312
- B && /* @__PURE__ */ c(
2312
+ I && /* @__PURE__ */ c(
2313
2313
  it,
2314
2314
  {
2315
2315
  isOpen: T,
@@ -2317,7 +2317,7 @@ const mi = /* @__PURE__ */ Qt(fi), pi = ({
2317
2317
  isTransparentBack: !0,
2318
2318
  additionalClassModalBody: R.modalAddBody,
2319
2319
  additionalClass: R.filterWithSaveModal,
2320
- children: /* @__PURE__ */ c(I, {})
2320
+ children: /* @__PURE__ */ c(B, {})
2321
2321
  }
2322
2322
  )
2323
2323
  ] });
@@ -12,7 +12,7 @@ import "./components/Switcher/ui/Switcher.js";
12
12
  import "./components/Text/ui/Text.js";
13
13
  import "./components/Flex/ui/Flex.js";
14
14
  import "./components/Input/ui/Input.js";
15
- import "./FilterWithSave-o0ClY5dT.js";
15
+ import "./FilterWithSave-BJ0H-J-H.js";
16
16
  import "./components/GroupedInput/ui/GroupedInputs.js";
17
17
  import "./index-rKuIKazb.js";
18
18
  import "./components/MetroTag/ui/MetroTag.js";
@@ -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-o0ClY5dT.js";
14
+ import { b as w } from "../../../FilterWithSave-BJ0H-J-H.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-o0ClY5dT.js";
3
+ import { F as a } from "../../../FilterWithSave-BJ0H-J-H.js";
4
4
  import "../../Modal/ui/Modal.js";
5
5
  import "../../../Option-C89kmzR_.js";
6
6
  import "../../Button/ui/Button.js";
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { M as A } from "../../../FilterWithSave-o0ClY5dT.js";
2
+ import { M as A } from "../../../FilterWithSave-BJ0H-J-H.js";
3
3
  import "../../Modal/ui/Modal.js";
4
4
  import "../../Flex/ui/Flex.js";
5
5
  import "../../Input/ui/Input.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { u as B } from "../../../FilterWithSave-o0ClY5dT.js";
3
+ import { u as B } from "../../../FilterWithSave-BJ0H-J-H.js";
4
4
  import "../../Button/ui/Button.js";
5
5
  import "../../mobileButton/ui/MobileButton.js";
6
6
  import "../../NewIcon/ui/NewIcon.js";
@@ -1,4 +1,4 @@
1
- import { L as a } from "../../FilterWithSave-o0ClY5dT.js";
1
+ import { L as a } from "../../FilterWithSave-BJ0H-J-H.js";
2
2
  export {
3
3
  a as LotCard
4
4
  };
@@ -5,7 +5,7 @@ import "../../../shared/mlnRound.js";
5
5
  import "../../Button/ui/Button.js";
6
6
  import "../../NewIcon/ui/NewIcon.js";
7
7
  import "../../Tag/ui/Tag.js";
8
- import { L as f } from "../../../FilterWithSave-o0ClY5dT.js";
8
+ import { L as f } from "../../../FilterWithSave-BJ0H-J-H.js";
9
9
  import "../utils/formatPrice.js";
10
10
  export {
11
11
  f as LotCard
@@ -1,4 +1,4 @@
1
- import { a as r } from "../../FilterWithSave-o0ClY5dT.js";
1
+ import { a as r } from "../../FilterWithSave-BJ0H-J-H.js";
2
2
  export {
3
3
  r as SortSelect
4
4
  };
@@ -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-o0ClY5dT.js";
16
+ import { a as A } from "../../../FilterWithSave-BJ0H-J-H.js";
17
17
  import "../../GroupedInput/ui/GroupedInputs.js";
18
18
  import "../../MetroTag/ui/MetroTag.js";
19
19
  import "../../Select/ui/Select.js";
@@ -1,4 +1,4 @@
1
- import { S as e } from "../../FilterWithSave-o0ClY5dT.js";
1
+ import { S as e } from "../../FilterWithSave-BJ0H-J-H.js";
2
2
  export {
3
3
  e as TabSwitcher
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { S as y } from "../../../FilterWithSave-o0ClY5dT.js";
3
+ import { S as y } from "../../../FilterWithSave-BJ0H-J-H.js";
4
4
  import "../../Text/ui/Text.js";
5
5
  import "../../../index-rKuIKazb.js";
6
6
  import "../../Button/ui/Button.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
- import { M as f } from "../../../Menu-D41tTZfh.js";
2
+ import { M as f } from "../../../Menu-V28d9R8o.js";
3
3
  import { useState as c } from "react";
4
4
  import "../../../components/Button/ui/Button.js";
5
5
  import "../../../components/mobileButton/ui/MobileButton.js";
@@ -12,7 +12,7 @@ import "../../../components/Text/ui/Text.js";
12
12
  import "../../../components/Flex/ui/Flex.js";
13
13
  import "../../../components/Input/ui/Input.js";
14
14
  import "react-dom";
15
- import "../../../FilterWithSave-o0ClY5dT.js";
15
+ import "../../../FilterWithSave-BJ0H-J-H.js";
16
16
  import "../../../components/GroupedInput/ui/GroupedInputs.js";
17
17
  import "../../../index-rKuIKazb.js";
18
18
  import "../../../components/MetroTag/ui/MetroTag.js";
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { M as z } from "../../Menu-D41tTZfh.js";
2
+ import { M as z } from "../../Menu-V28d9R8o.js";
3
3
  import "../../components/Button/ui/Button.js";
4
4
  import "../../components/mobileButton/ui/MobileButton.js";
5
5
  import "../../components/NewIcon/ui/NewIcon.js";
@@ -12,7 +12,7 @@ import "../../components/Flex/ui/Flex.js";
12
12
  import "../../components/Input/ui/Input.js";
13
13
  import "react";
14
14
  import "react-dom";
15
- import "../../FilterWithSave-o0ClY5dT.js";
15
+ import "../../FilterWithSave-BJ0H-J-H.js";
16
16
  import "../../components/GroupedInput/ui/GroupedInputs.js";
17
17
  import "../../index-rKuIKazb.js";
18
18
  import "../../components/MetroTag/ui/MetroTag.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-o0ClY5dT.js";
13
+ import { F as w, L as I, M as L, a as N, S as v } from "./FilterWithSave-BJ0H-J-H.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";
@@ -11,7 +11,7 @@ import "../../components/Text/ui/Text.js";
11
11
  import "../../components/Flex/ui/Flex.js";
12
12
  import "../../components/Input/ui/Input.js";
13
13
  import "react-dom";
14
- import "../../FilterWithSave-o0ClY5dT.js";
14
+ import "../../FilterWithSave-BJ0H-J-H.js";
15
15
  import "../../components/GroupedInput/ui/GroupedInputs.js";
16
16
  import "../../index-rKuIKazb.js";
17
17
  import "../../components/MetroTag/ui/MetroTag.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as e } from "react";
3
- import { M as n } from "../../FilterWithSave-o0ClY5dT.js";
3
+ import { M as n } from "../../FilterWithSave-BJ0H-J-H.js";
4
4
  import { Button as s } from "../../components/Button/ui/Button.js";
5
5
  import "../../components/mobileButton/ui/MobileButton.js";
6
6
  import "../../components/NewIcon/ui/NewIcon.js";
@@ -11,7 +11,7 @@ import "../../components/Flex/ui/Flex.js";
11
11
  import "../../components/Input/ui/Input.js";
12
12
  import "react";
13
13
  import "react-dom";
14
- import "../../FilterWithSave-o0ClY5dT.js";
14
+ import "../../FilterWithSave-BJ0H-J-H.js";
15
15
  import "../../components/GroupedInput/ui/GroupedInputs.js";
16
16
  import "../../index-rKuIKazb.js";
17
17
  import "../../components/MetroTag/ui/MetroTag.js";
@@ -11,7 +11,7 @@ import "../../components/Flex/ui/Flex.js";
11
11
  import { Input as t } from "../../components/Input/ui/Input.js";
12
12
  import "react";
13
13
  import "react-dom";
14
- import "../../FilterWithSave-o0ClY5dT.js";
14
+ import "../../FilterWithSave-BJ0H-J-H.js";
15
15
  import "../../components/GroupedInput/ui/GroupedInputs.js";
16
16
  import "../../index-rKuIKazb.js";
17
17
  import "../../components/MetroTag/ui/MetroTag.js";
@@ -11,7 +11,7 @@ import "../../components/Flex/ui/Flex.js";
11
11
  import "../../components/Input/ui/Input.js";
12
12
  import "react";
13
13
  import "react-dom";
14
- import "../../FilterWithSave-o0ClY5dT.js";
14
+ import "../../FilterWithSave-BJ0H-J-H.js";
15
15
  import "../../components/GroupedInput/ui/GroupedInputs.js";
16
16
  import { Logo as r } from "../../components/Logo/ui/Logo.js";
17
17
  import "../../components/MetroTag/ui/MetroTag.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
2
  import { useState as p } from "react";
3
3
  import { LotCardSkeleton as c } from "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
4
- import { L as r } from "../../FilterWithSave-o0ClY5dT.js";
4
+ import { L as r } from "../../FilterWithSave-BJ0H-J-H.js";
5
5
  import { ProjectCardSkeleton as l } from "../../components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js";
6
6
  import { testLot as e, testLotEmpty as m } from "./const.js";
7
7
  const d = "_root_1w9fc_1", h = "_lotWrapper_1w9fc_8", f = "_optionsWrapper_1w9fc_14", _ = "_isFetching_1w9fc_20", s = {
@@ -11,7 +11,7 @@ import "../../components/Text/ui/Text.js";
11
11
  import "../../components/Flex/ui/Flex.js";
12
12
  import "../../components/Input/ui/Input.js";
13
13
  import { Modal as m } from "../../components/Modal/ui/Modal.js";
14
- import "../../FilterWithSave-o0ClY5dT.js";
14
+ import "../../FilterWithSave-BJ0H-J-H.js";
15
15
  import "../../components/GroupedInput/ui/GroupedInputs.js";
16
16
  import "../../index-rKuIKazb.js";
17
17
  import "../../components/MetroTag/ui/MetroTag.js";
@@ -1,7 +1,7 @@
1
1
  import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as r } from "react";
3
3
  import { SummarySelect as h } from "../../components/SummarySelect/ui/SummarySelect.js";
4
- import { F as u, a as b } from "../../FilterWithSave-o0ClY5dT.js";
4
+ import { F as u, a as b } from "../../FilterWithSave-BJ0H-J-H.js";
5
5
  import { defaultOption as i, defaultCategory as a } from "./const.js";
6
6
  import { CheckboxSelect as y } from "../../components/CheckboxSelect/ui/CheckboxSelect.js";
7
7
  import { CheckBox as k } from "../../components/CheckBox/CheckBox.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as p, jsx as a } from "react/jsx-runtime";
2
2
  import { useState as o } from "react";
3
- import { S as i } from "../../FilterWithSave-o0ClY5dT.js";
3
+ import { S as i } from "../../FilterWithSave-BJ0H-J-H.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", w = "_tabSelectWrapper_idppf_11", v = "_destinationWrapper_idppf_15", g = "_whiteRow_apart_idppf_22", u = "_row_apart_idppf_26", n = {
@@ -11,7 +11,7 @@ import "../../components/Flex/ui/Flex.js";
11
11
  import "../../components/Input/ui/Input.js";
12
12
  import "react";
13
13
  import "react-dom";
14
- import "../../FilterWithSave-o0ClY5dT.js";
14
+ import "../../FilterWithSave-BJ0H-J-H.js";
15
15
  import "../../components/GroupedInput/ui/GroupedInputs.js";
16
16
  import "../../index-rKuIKazb.js";
17
17
  import { MetroTag as o } from "../../components/MetroTag/ui/MetroTag.js";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "stone-kit",
3
3
  "description": "uikit for redesign",
4
4
  "private": false,
5
- "version": "0.0.976",
5
+ "version": "0.0.977",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",