stone-kit 0.0.951 → 0.0.952

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 CHANGED
@@ -1,59 +1,59 @@
1
- # Stone-kit
2
-
3
- Uikit for stone redesign 2.0
4
-
5
- ## Installation
6
-
7
- Package installation:
8
-
9
- ```bash
10
- npm i stone-kit@latest
11
- ```
12
-
13
- ## Usage
14
-
15
- For Next.js page router in App.tsx:
16
-
17
- ```bash
18
- import 'stone-kit/dist/style.css'
19
- ```
20
-
21
- and then:
22
-
23
- ```bash
24
- import {Button} from 'stone-kit'
25
- ```
26
-
27
- For other projects u can immediately:
28
-
29
- ```bash
30
- import {Button} from 'stone-kit'
31
- ```
32
-
33
- ## Docs
34
-
35
- ### ButtonProps
36
-
37
- size: optional, size of button. types : 'large' | 'medium' | 'small' | 'tiny'
38
-
39
- pre: optional, insert icon/text before button text. type: ReactNode
40
-
41
- post: optional, insert icon/text after button text. type: ReactNode
42
-
43
- variant: optional, color variants of button. type:
44
- 'blue',
45
- 'gray',
46
- 'whiteStroke',
47
- 'sokolniki',
48
- 'black',
49
- 'whiteFilled'
50
-
51
- width: optional, width of button. type: 'auto' | 'full'
52
-
53
- additionalClass: optional, add your custom class to button. type: 'string'
54
-
55
- as: optional, u can convert button to link. type: 'button' | 'link'. 'button' by default.
56
-
57
- ### MobileButtonProps
58
-
59
- ### Tag
1
+ # Stone-kit
2
+
3
+ Uikit for stone redesign 2.0
4
+
5
+ ## Installation
6
+
7
+ Package installation:
8
+
9
+ ```bash
10
+ npm i stone-kit@latest
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ For Next.js page router in App.tsx:
16
+
17
+ ```bash
18
+ import 'stone-kit/dist/style.css'
19
+ ```
20
+
21
+ and then:
22
+
23
+ ```bash
24
+ import {Button} from 'stone-kit'
25
+ ```
26
+
27
+ For other projects u can immediately:
28
+
29
+ ```bash
30
+ import {Button} from 'stone-kit'
31
+ ```
32
+
33
+ ## Docs
34
+
35
+ ### ButtonProps
36
+
37
+ size: optional, size of button. types : 'large' | 'medium' | 'small' | 'tiny'
38
+
39
+ pre: optional, insert icon/text before button text. type: ReactNode
40
+
41
+ post: optional, insert icon/text after button text. type: ReactNode
42
+
43
+ variant: optional, color variants of button. type:
44
+ 'blue',
45
+ 'gray',
46
+ 'whiteStroke',
47
+ 'sokolniki',
48
+ 'black',
49
+ 'whiteFilled'
50
+
51
+ width: optional, width of button. type: 'auto' | 'full'
52
+
53
+ additionalClass: optional, add your custom class to button. type: 'string'
54
+
55
+ as: optional, u can convert button to link. type: 'button' | 'link'. 'button' by default.
56
+
57
+ ### MobileButtonProps
58
+
59
+ ### Tag
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-dBiW5R0Z.js";
2
+ import { B as o } from "./Menu-BtbUhvTF.js";
3
3
  import t from "./layout/Layout.js";
4
4
  import p from "./Router.js";
5
5
  function u() {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as k, jsx as c, Fragment as st } from "react/jsx-runtime";
2
2
  import { NewIcon as be } from "./components/NewIcon/ui/NewIcon.js";
3
3
  import { Modal as it } from "./components/Modal/ui/Modal.js";
4
- import _, { forwardRef as Yt, useState as Ae, useRef as Pt, useEffect as De } from "react";
4
+ import _, { forwardRef as Yt, useState as Se, useRef as Pt, useEffect as De } from "react";
5
5
  import { Text as nt } from "./components/Text/ui/Text.js";
6
6
  import { c as Re, g as Kt } from "./index-rKuIKazb.js";
7
7
  import { Button as we } from "./components/Button/ui/Button.js";
@@ -32,7 +32,7 @@ import { getTagsFeatures as ir } from "./components/LotCard/utils/getTagsFeature
32
32
  import { checkBedroomsCount as nr } from "./components/LotCard/utils/checkBedroomsCount.js";
33
33
  import { formatPayment as ar } from "./components/LotCard/utils/monthlyPayment.js";
34
34
  import { checkLargeOffice as lr } from "./shared/checkLargeOffice.js";
35
- const or = "_root_14gc5_1", cr = "_text_14gc5_18", dr = "_textMini_14gc5_26", ur = "_rootCol_14gc5_32", fr = "_item_14gc5_38", pr = "_whiteRow_14gc5_57", mr = "_firstItem_14gc5_68", hr = "_lastItem_14gc5_72", yr = "_whiteRowGrayLabel_14gc5_103", vr = "_labelItem_14gc5_118", gr = "_apart_14gc5_147", br = "_isLong_14gc5_147", Fr = "_autoWidth_14gc5_172", wr = "_mini_14gc5_176", xr = "_isDisabled_14gc5_184", Ar = "_grayRow_14gc5_208", K = {
35
+ const or = "_root_14gc5_1", cr = "_text_14gc5_18", dr = "_textMini_14gc5_26", ur = "_rootCol_14gc5_32", fr = "_item_14gc5_38", pr = "_whiteRow_14gc5_57", mr = "_firstItem_14gc5_68", hr = "_lastItem_14gc5_72", yr = "_whiteRowGrayLabel_14gc5_103", vr = "_labelItem_14gc5_118", gr = "_apart_14gc5_147", br = "_isLong_14gc5_147", Fr = "_autoWidth_14gc5_172", wr = "_mini_14gc5_176", xr = "_isDisabled_14gc5_184", Sr = "_grayRow_14gc5_208", K = {
36
36
  root: or,
37
37
  text: cr,
38
38
  textMini: dr,
@@ -48,7 +48,7 @@ const or = "_root_14gc5_1", cr = "_text_14gc5_18", dr = "_textMini_14gc5_26", ur
48
48
  autoWidth: Fr,
49
49
  mini: wr,
50
50
  isDisabled: xr,
51
- grayRow: Ar,
51
+ grayRow: Sr,
52
52
  "tiny-size": "_tiny-size_14gc5_236",
53
53
  "small-size": "_small-size_14gc5_241",
54
54
  "medium-size": "_medium-size_14gc5_246",
@@ -69,7 +69,7 @@ const or = "_root_14gc5_1", cr = "_text_14gc5_18", dr = "_textMini_14gc5_26", ur
69
69
  "text-small-size_l": "_text-small-size_l_14gc5_325",
70
70
  "text-medium-size_l": "_text-medium-size_l_14gc5_329",
71
71
  "text-large-size_l": "_text-large-size_l_14gc5_333"
72
- }, Le = Re.bind(K), Sr = ({
72
+ }, Le = Re.bind(K), Ar = ({
73
73
  children: e,
74
74
  variant: r = "whiteRow",
75
75
  isApart: t = !1,
@@ -82,7 +82,7 @@ const or = "_root_14gc5_1", cr = "_text_14gc5_18", dr = "_textMini_14gc5_26", ur
82
82
  addItemClassName: d,
83
83
  addLabelClassname: f,
84
84
  addTextClass: C,
85
- size_s: A = "large",
85
+ size_s: S = "large",
86
86
  size_m: v,
87
87
  size_l: y,
88
88
  disabled: I = !1,
@@ -115,7 +115,7 @@ const or = "_root_14gc5_1", cr = "_text_14gc5_18", dr = "_textMini_14gc5_26", ur
115
115
  { [K.lastItem]: a === X - 1 },
116
116
  { [K.isDisabled]: I },
117
117
  { [K.autoWidth]: E },
118
- K[`${A}-size`],
118
+ K[`${S}-size`],
119
119
  K[`${v}-size_m`],
120
120
  K[`${y}-size_l`],
121
121
  { [K.mini]: F }
@@ -127,7 +127,7 @@ const or = "_root_14gc5_1", cr = "_text_14gc5_18", dr = "_textMini_14gc5_26", ur
127
127
  {
128
128
  className: Le(
129
129
  K.text,
130
- K[`text-${A}-size`],
130
+ K[`text-${S}-size`],
131
131
  K[`text-${v}-size_m`],
132
132
  K[`text-${y}-size_l`],
133
133
  { [K.textMini]: F },
@@ -141,7 +141,7 @@ const or = "_root_14gc5_1", cr = "_text_14gc5_18", dr = "_textMini_14gc5_26", ur
141
141
  ] });
142
142
  });
143
143
  Tt.displayName = "TabSwitcherItem";
144
- const je = Object.assign(Sr, { Item: Tt }), Cr = "_root_1h9b3_1", Nr = "_lotBtn_1h9b3_12", kr = "_rootDisable_1h9b3_17", Pr = "_lotImageWrapper_1h9b3_17", Tr = "_lotInfoWrapper_1h9b3_18", Wr = "_infoHeader_1h9b3_38", Br = "_monthlyWrapper_1h9b3_47", Ir = "_price_1h9b3_57", Lr = "_monthlyPayment_1h9b3_64", Er = "_decor_1h9b3_70", Vr = "_lotPropertyListMobile_1h9b3_77", Dr = "_lotPropertyItem_1h9b3_85", Rr = "_lotPropertyListDesktop_1h9b3_102", Mr = "_lotPriceWrapper_1h9b3_106", Or = "_discountWrapper_1h9b3_112", jr = "_discountPrice_1h9b3_123", zr = "_priceWrap_1h9b3_135", Xr = "_snippetLast_1h9b3_145", Zr = "_snippet_1h9b3_145", Ur = "_tagsMobile_1h9b3_160", qr = "_discountTag_1h9b3_175", Gr = "_lotPricePerMetr_1h9b3_179", _r = "_btnWrapper_1h9b3_184", Hr = "_title_1h9b3_191", Jr = "_snippets_1h9b3_195", Yr = "_retailSnippets_1h9b3_200", Kr = "_shownSnippets_1h9b3_205", Qr = "_addSnippets_1h9b3_231", $r = "_addSnippetsActive_1h9b3_247", es = "_addSnippetsList_1h9b3_252", ts = "_closeSnippetBtn_1h9b3_296", rs = "_rootRow_1h9b3_308", ss = "_rowTablet_1h9b3_319", is = "_rootRightSide_1h9b3_359", ns = "_topWrapper_1h9b3_373", as = "_botWrapper_1h9b3_377", ls = "_lotPriceWrapperRow_1h9b3_409", os = "_fullscreenBtn_1h9b3_419", cs = "_projectLotPricePerMetr_1h9b3_438", w = {
144
+ const je = Object.assign(Ar, { Item: Tt }), Cr = "_root_1h9b3_1", Nr = "_lotBtn_1h9b3_12", kr = "_rootDisable_1h9b3_17", Pr = "_lotImageWrapper_1h9b3_17", Tr = "_lotInfoWrapper_1h9b3_18", Wr = "_infoHeader_1h9b3_38", Br = "_monthlyWrapper_1h9b3_47", Ir = "_price_1h9b3_57", Lr = "_monthlyPayment_1h9b3_64", Er = "_decor_1h9b3_70", Vr = "_lotPropertyListMobile_1h9b3_77", Dr = "_lotPropertyItem_1h9b3_85", Rr = "_lotPropertyListDesktop_1h9b3_102", Mr = "_lotPriceWrapper_1h9b3_106", Or = "_discountWrapper_1h9b3_112", jr = "_discountPrice_1h9b3_123", zr = "_priceWrap_1h9b3_135", Xr = "_snippetLast_1h9b3_145", Zr = "_snippet_1h9b3_145", Ur = "_tagsMobile_1h9b3_160", qr = "_discountTag_1h9b3_175", Gr = "_lotPricePerMetr_1h9b3_179", _r = "_btnWrapper_1h9b3_184", Hr = "_title_1h9b3_191", Jr = "_snippets_1h9b3_195", Yr = "_retailSnippets_1h9b3_200", Kr = "_shownSnippets_1h9b3_205", Qr = "_addSnippets_1h9b3_231", $r = "_addSnippetsActive_1h9b3_247", es = "_addSnippetsList_1h9b3_252", ts = "_closeSnippetBtn_1h9b3_296", rs = "_rootRow_1h9b3_308", ss = "_rowTablet_1h9b3_319", is = "_rootRightSide_1h9b3_359", ns = "_topWrapper_1h9b3_373", as = "_botWrapper_1h9b3_377", ls = "_lotPriceWrapperRow_1h9b3_409", os = "_fullscreenBtn_1h9b3_419", cs = "_projectLotPricePerMetr_1h9b3_438", w = {
145
145
  root: Cr,
146
146
  lotBtn: Nr,
147
147
  rootDisable: kr,
@@ -190,13 +190,13 @@ const je = Object.assign(Sr, { Item: Tt }), Cr = "_root_1h9b3_1", Nr = "_lotBtn_
190
190
  endFloor: d,
191
191
  floorsNumber: f,
192
192
  type: C,
193
- isCorner: A,
193
+ isCorner: S,
194
194
  windowViews: v,
195
195
  subTypeName: y,
196
196
  number: I,
197
197
  bedroomsCount: X,
198
198
  mortgageMonthlyPayment: T
199
- } = e, [M, P] = Ae(!1), L = t === 2, F = n === 1, O = C === 11, Z = a ? a + " м²" : "", x = i && f ? (d && d !== i ? i + "-" + d : i) + " из " + f : "", E = ir({ ...e }), { isTablet: H, isDesktop: U, isMobile: D, currentClientWidth: W } = Me(), V = typeof r < "u" ? r : U || H, g = () => O ? f ? "Кол-во этажей: " + f : "" : x ? "Этаж: " + x : "", N = () => O ? f ? /* @__PURE__ */ k("li", { className: ke(w.lotPropertyItem), children: [
199
+ } = e, [M, P] = Se(!1), L = t === 2, F = n === 1, O = C === 11, Z = a ? a + " м²" : "", x = i && f ? (d && d !== i ? i + "-" + d : i) + " из " + f : "", E = ir({ ...e }), { isTablet: H, isDesktop: U, isMobile: D, currentClientWidth: W } = Me(), V = typeof r < "u" ? r : U || H, g = () => O ? f ? "Кол-во этажей: " + f : "" : x ? "Этаж: " + x : "", N = () => O ? f ? /* @__PURE__ */ k("li", { className: ke(w.lotPropertyItem), children: [
200
200
  /* @__PURE__ */ c("div", { children: "Количество этажей" }),
201
201
  /* @__PURE__ */ c("div", { children: f })
202
202
  ] }) : null : x ? /* @__PURE__ */ k("li", { className: ke(w.lotPropertyItem), children: [
@@ -208,7 +208,7 @@ const je = Object.assign(Sr, { Item: Tt }), Cr = "_root_1h9b3_1", Nr = "_lotBtn_
208
208
  return null;
209
209
  let q = 0;
210
210
  const R = U ? 36 : 28, $ = [], se = [];
211
- if (A) {
211
+ if (S) {
212
212
  const J = "Угловая";
213
213
  if (q + J.length <= R)
214
214
  $.push(J), q += J.length;
@@ -323,9 +323,9 @@ const je = Object.assign(Sr, { Item: Tt }), Cr = "_root_1h9b3_1", Nr = "_lotBtn_
323
323
  rowConditions: f,
324
324
  addClassnameLotImage: C
325
325
  }) => {
326
- var S, q;
326
+ var A, q;
327
327
  const {
328
- housing: A,
328
+ housing: S,
329
329
  sellingPricePerMeter: v,
330
330
  interiorPlanImg: y,
331
331
  direction: I,
@@ -343,7 +343,7 @@ const je = Object.assign(Sr, { Item: Tt }), Cr = "_root_1h9b3_1", Nr = "_lotBtn_
343
343
  isMobile: U,
344
344
  isBuilding: D,
345
345
  LotCardInfo: W
346
- } = us({ lot: e, rowConditions: f }), V = !!((q = (S = e.project) == null ? void 0 : S.showPriceOnType) != null && q.some((R) => Number(R.subType) === e.subType));
346
+ } = us({ lot: e, rowConditions: f }), V = !!((q = (A = e.project) == null ? void 0 : A.showPriceSubType) != null && q.some((R) => Number(R.subType) === e.subType));
347
347
  if (!H)
348
348
  return null;
349
349
  const g = () => /* @__PURE__ */ c("div", { className: ie(w.lotImageWrapper, C), children: d || /* @__PURE__ */ c(
@@ -432,7 +432,7 @@ const je = Object.assign(Sr, { Item: Tt }), Cr = "_root_1h9b3_1", Nr = "_lotBtn_
432
432
  /* @__PURE__ */ c("div", { className: ie(w.lotPriceWrapper, w.infoWrapper, { [w.lotPriceWrapperRow]: !E }), children: /* @__PURE__ */ k("div", { className: ie(w.lotInfoWrapper), children: [
433
433
  /* @__PURE__ */ k("div", { className: ie(w.lotPropertyListDesktop), children: [
434
434
  Z && /* @__PURE__ */ c(We, { variant: "gray", children: Z }),
435
- !D && A && /* @__PURE__ */ c(We, { variant: "gray", children: A }),
435
+ !D && S && /* @__PURE__ */ c(We, { variant: "gray", children: S }),
436
436
  F() && /* @__PURE__ */ c(We, { variant: "gray", children: F() })
437
437
  ] }),
438
438
  /* @__PURE__ */ k("ul", { className: ie(w.lotPropertyListMobile), children: [
@@ -440,9 +440,9 @@ const je = Object.assign(Sr, { Item: Tt }), Cr = "_root_1h9b3_1", Nr = "_lotBtn_
440
440
  /* @__PURE__ */ c("div", { children: "Площадь" }),
441
441
  /* @__PURE__ */ c("div", { children: Z })
442
442
  ] }),
443
- !D && A && /* @__PURE__ */ k("li", { className: ie(w.lotPropertyItem), children: [
444
- /* @__PURE__ */ c("div", { children: A == null ? void 0 : A.split(" ")[0] }),
445
- /* @__PURE__ */ c("div", { children: A == null ? void 0 : A.split(" ")[1] })
443
+ !D && S && /* @__PURE__ */ k("li", { className: ie(w.lotPropertyItem), children: [
444
+ /* @__PURE__ */ c("div", { children: S == null ? void 0 : S.split(" ")[0] }),
445
+ /* @__PURE__ */ c("div", { children: S == null ? void 0 : S.split(" ")[1] })
446
446
  ] }),
447
447
  /* @__PURE__ */ c(O, {})
448
448
  ] })
@@ -498,12 +498,12 @@ const je = Object.assign(Sr, { Item: Tt }), Cr = "_root_1h9b3_1", Nr = "_lotBtn_
498
498
  onChange: d,
499
499
  onBlur: f,
500
500
  mini: C,
501
- openOnTop: A = !1,
501
+ openOnTop: S = !1,
502
502
  onClickItem: v,
503
503
  onCLickSelect: y,
504
504
  onOpenClick: I
505
505
  }) => {
506
- const [X, T] = Ae(!1), M = Pt(null), { isMobile: P } = Me(), { handleBlur: L, getInputValue: F, getOption: O, handleDocumentClick: Z } = $t({
506
+ const [X, T] = Se(!1), M = Pt(null), { isMobile: P } = Me(), { handleBlur: L, getInputValue: F, getOption: O, handleDocumentClick: Z } = $t({
507
507
  selectedOption: r,
508
508
  onClickOption: v,
509
509
  setSelectedOption: d,
@@ -524,7 +524,7 @@ const je = Object.assign(Sr, { Item: Tt }), Cr = "_root_1h9b3_1", Nr = "_lotBtn_
524
524
  className: ze(
525
525
  ne.sortSelectWrapper,
526
526
  { [ne.sortSelectWrapperError]: n },
527
- { [ne.sortSelectWrapperTop]: A },
527
+ { [ne.sortSelectWrapperTop]: S },
528
528
  i
529
529
  ),
530
530
  tabIndex: 0,
@@ -583,13 +583,13 @@ const je = Object.assign(Sr, { Item: Tt }), Cr = "_root_1h9b3_1", Nr = "_lotBtn_
583
583
  ]
584
584
  }
585
585
  ),
586
- X && !P && /* @__PURE__ */ c("div", { className: ze(ne.optionsList, { [ne.optionListOnTop]: A }), children: e == null ? void 0 : e.map((x) => O(x)) })
586
+ X && !P && /* @__PURE__ */ c("div", { className: ze(ne.optionsList, { [ne.optionListOnTop]: S }), children: e == null ? void 0 : e.map((x) => O(x)) })
587
587
  ]
588
588
  }
589
589
  );
590
590
  };
591
591
  fs.displayName = "SortSelect";
592
- const ps = "_btn_ky28a_1", ms = "_modal_ky28a_9", hs = "_modalBody_ky28a_16", ys = "_root_ky28a_21", vs = "_title_ky28a_34", gs = "_description_ky28a_41", bs = "_inputWrapper_ky28a_48", Fs = "_linkPolicy_ky28a_55", ws = "_telegramLink_ky28a_60", xs = "_telegramWrapper_ky28a_65", As = "_telegram_ky28a_60", Ss = "_orText_ky28a_88", Cs = "_checkboxText_ky28a_116", re = {
592
+ const ps = "_btn_ky28a_1", ms = "_modal_ky28a_9", hs = "_modalBody_ky28a_16", ys = "_root_ky28a_21", vs = "_title_ky28a_34", gs = "_description_ky28a_41", bs = "_inputWrapper_ky28a_48", Fs = "_linkPolicy_ky28a_55", ws = "_telegramLink_ky28a_60", xs = "_telegramWrapper_ky28a_65", Ss = "_telegram_ky28a_60", As = "_orText_ky28a_88", Cs = "_checkboxText_ky28a_116", re = {
593
593
  btn: ps,
594
594
  modal: ms,
595
595
  modalBody: hs,
@@ -600,8 +600,8 @@ const ps = "_btn_ky28a_1", ms = "_modal_ky28a_9", hs = "_modalBody_ky28a_16", ys
600
600
  linkPolicy: Fs,
601
601
  telegramLink: ws,
602
602
  telegramWrapper: xs,
603
- telegram: As,
604
- orText: Ss,
603
+ telegram: Ss,
604
+ orText: As,
605
605
  checkboxText: Cs
606
606
  };
607
607
  var Oe = (e) => e.type === "checkbox", Te = (e) => e instanceof Date, ae = (e) => e == null;
@@ -639,8 +639,8 @@ var Je = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Y = (e) => e === void
639
639
  const f = a[n];
640
640
  let C = t;
641
641
  if (n !== d) {
642
- const A = e[f];
643
- C = te(A) || Array.isArray(A) ? A : isNaN(+a[n + 1]) ? {} : [];
642
+ const S = e[f];
643
+ C = te(S) || Array.isArray(S) ? S : isNaN(+a[n + 1]) ? {} : [];
644
644
  }
645
645
  if (f === "__proto__")
646
646
  return;
@@ -696,7 +696,7 @@ function ct(e) {
696
696
  }, [e.disabled]);
697
697
  }
698
698
  function Ts(e) {
699
- const r = ot(), { control: t = r.control, disabled: n, name: a, exact: i } = e || {}, [d, f] = _.useState(t._formState), C = _.useRef(!0), A = _.useRef({
699
+ const r = ot(), { control: t = r.control, disabled: n, name: a, exact: i } = e || {}, [d, f] = _.useState(t._formState), C = _.useRef(!0), S = _.useRef({
700
700
  isDirty: !1,
701
701
  isLoading: !1,
702
702
  dirtyFields: !1,
@@ -708,14 +708,14 @@ function Ts(e) {
708
708
  }), v = _.useRef(a);
709
709
  return v.current = a, ct({
710
710
  disabled: n,
711
- next: (y) => C.current && Dt(v.current, y.name, i) && Vt(y, A.current, t._updateFormState) && f({
711
+ next: (y) => C.current && Dt(v.current, y.name, i) && Vt(y, S.current, t._updateFormState) && f({
712
712
  ...t._formState,
713
713
  ...y
714
714
  }),
715
715
  subject: t._subjects.state
716
- }), _.useEffect(() => (C.current = !0, A.current.isValid && t._updateValid(!0), () => {
716
+ }), _.useEffect(() => (C.current = !0, S.current.isValid && t._updateValid(!0), () => {
717
717
  C.current = !1;
718
- }), [t]), Et(d, t, A.current, !1);
718
+ }), [t]), Et(d, t, S.current, !1);
719
719
  }
720
720
  var ge = (e) => typeof e == "string", Rt = (e, r, t, n, a) => ge(e) ? (n && r.watch.add(e), p(t, e, a)) : Array.isArray(e) ? e.map((i) => (n && r.watch.add(i), p(t, i))) : (n && (r.watchAll = !0), t);
721
721
  function Ws(e) {
@@ -724,10 +724,10 @@ function Ws(e) {
724
724
  disabled: i,
725
725
  subject: t._subjects.values,
726
726
  next: (v) => {
727
- Dt(f.current, v.name, d) && A(ce(Rt(f.current, t._names, v.values || t._formValues, !1, a)));
727
+ Dt(f.current, v.name, d) && S(ce(Rt(f.current, t._names, v.values || t._formValues, !1, a)));
728
728
  }
729
729
  });
730
- const [C, A] = _.useState(t._getWatch(n, a));
730
+ const [C, S] = _.useState(t._getWatch(n, a));
731
731
  return _.useEffect(() => t._removeUnmounted()), C;
732
732
  }
733
733
  function Bs(e) {
@@ -740,7 +740,7 @@ function Bs(e) {
740
740
  control: a,
741
741
  name: t,
742
742
  exact: !0
743
- }), A = _.useRef(a.register(t, {
743
+ }), S = _.useRef(a.register(t, {
744
744
  ...e.rules,
745
745
  value: f,
746
746
  ...ve(e.disabled) ? { disabled: e.disabled } : {}
@@ -769,14 +769,14 @@ function Bs(e) {
769
769
  name: t,
770
770
  value: f,
771
771
  ...ve(n) || C.disabled ? { disabled: C.disabled || n } : {},
772
- onChange: _.useCallback((v) => A.current.onChange({
772
+ onChange: _.useCallback((v) => S.current.onChange({
773
773
  target: {
774
774
  value: Bt(v),
775
775
  name: t
776
776
  },
777
777
  type: Ue.CHANGE
778
778
  }), [t]),
779
- onBlur: _.useCallback(() => A.current.onBlur({
779
+ onBlur: _.useCallback(() => S.current.onBlur({
780
780
  target: {
781
781
  value: p(a._formValues, t),
782
782
  name: t
@@ -860,7 +860,7 @@ var Es = (e, r, t) => {
860
860
  const xt = {
861
861
  value: !1,
862
862
  isValid: !1
863
- }, At = { value: !0, isValid: !0 };
863
+ }, St = { value: !0, isValid: !0 };
864
864
  var Mt = (e) => {
865
865
  if (Array.isArray(e)) {
866
866
  if (e.length > 1) {
@@ -869,19 +869,19 @@ var Mt = (e) => {
869
869
  }
870
870
  return e[0].checked && !e[0].disabled ? (
871
871
  // @ts-expect-error expected to work in the browser
872
- e[0].attributes && !Y(e[0].attributes.value) ? Y(e[0].value) || e[0].value === "" ? At : { value: e[0].value, isValid: !0 } : At
872
+ e[0].attributes && !Y(e[0].attributes.value) ? Y(e[0].value) || e[0].value === "" ? St : { value: e[0].value, isValid: !0 } : St
873
873
  ) : xt;
874
874
  }
875
875
  return xt;
876
876
  };
877
- const St = {
877
+ const At = {
878
878
  isValid: !1,
879
879
  value: null
880
880
  };
881
881
  var Ot = (e) => Array.isArray(e) ? e.reduce((r, t) => t && t.checked && !t.disabled ? {
882
882
  isValid: !0,
883
883
  value: t.value
884
- } : r, St) : St;
884
+ } : r, At) : At;
885
885
  function Ct(e, r, t = "validate") {
886
886
  if (Ze(e) || Array.isArray(e) && e.every(Ze) || ve(e) && !e)
887
887
  return {
@@ -894,18 +894,18 @@ var Pe = (e) => te(e) && !Ge(e) ? e : {
894
894
  value: e,
895
895
  message: ""
896
896
  }, Nt = async (e, r, t, n, a) => {
897
- const { ref: i, refs: d, required: f, maxLength: C, minLength: A, min: v, max: y, pattern: I, validate: X, name: T, valueAsNumber: M, mount: P, disabled: L } = e._f, F = p(r, T);
897
+ const { ref: i, refs: d, required: f, maxLength: C, minLength: S, min: v, max: y, pattern: I, validate: X, name: T, valueAsNumber: M, mount: P, disabled: L } = e._f, F = p(r, T);
898
898
  if (!P || L)
899
899
  return {};
900
900
  const O = d ? d[0] : i, Z = (g) => {
901
901
  n && O.reportValidity && (O.setCustomValidity(ve(g) ? "" : g || ""), O.reportValidity());
902
- }, x = {}, E = ut(i), H = Oe(i), U = E || H, D = (M || dt(i)) && Y(i.value) && Y(F) || qe(i) && i.value === "" || F === "" || Array.isArray(F) && !F.length, W = Ls.bind(null, T, t, x), V = (g, N, B, S = Fe.maxLength, q = Fe.minLength) => {
902
+ }, x = {}, E = ut(i), H = Oe(i), U = E || H, D = (M || dt(i)) && Y(i.value) && Y(F) || qe(i) && i.value === "" || F === "" || Array.isArray(F) && !F.length, W = Ls.bind(null, T, t, x), V = (g, N, B, A = Fe.maxLength, q = Fe.minLength) => {
903
903
  const R = g ? N : B;
904
904
  x[T] = {
905
- type: g ? S : q,
905
+ type: g ? A : q,
906
906
  message: R,
907
907
  ref: i,
908
- ...W(g ? S : q, R)
908
+ ...W(g ? A : q, R)
909
909
  };
910
910
  };
911
911
  if (a ? !Array.isArray(F) || !F.length : f && (!U && (D || ae(F)) || ve(F) && !F || H && !Mt(d).isValid || E && !Ot(d).isValid)) {
@@ -920,20 +920,20 @@ var Pe = (e) => te(e) && !Ge(e) ? e : {
920
920
  }
921
921
  if (!D && (!ae(v) || !ae(y))) {
922
922
  let g, N;
923
- const B = Pe(y), S = Pe(v);
923
+ const B = Pe(y), A = Pe(v);
924
924
  if (!ae(F) && !isNaN(F)) {
925
925
  const q = i.valueAsNumber || F && +F;
926
- ae(B.value) || (g = q > B.value), ae(S.value) || (N = q < S.value);
926
+ ae(B.value) || (g = q > B.value), ae(A.value) || (N = q < A.value);
927
927
  } else {
928
928
  const q = i.valueAsDate || new Date(F), R = (J) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + J), $ = i.type == "time", se = i.type == "week";
929
- ge(B.value) && F && (g = $ ? R(F) > R(B.value) : se ? F > B.value : q > new Date(B.value)), ge(S.value) && F && (N = $ ? R(F) < R(S.value) : se ? F < S.value : q < new Date(S.value));
929
+ ge(B.value) && F && (g = $ ? R(F) > R(B.value) : se ? F > B.value : q > new Date(B.value)), ge(A.value) && F && (N = $ ? R(F) < R(A.value) : se ? F < A.value : q < new Date(A.value));
930
930
  }
931
- if ((g || N) && (V(!!g, B.message, S.message, Fe.max, Fe.min), !t))
931
+ if ((g || N) && (V(!!g, B.message, A.message, Fe.max, Fe.min), !t))
932
932
  return Z(x[T].message), x;
933
933
  }
934
- if ((C || A) && !D && (ge(F) || a && Array.isArray(F))) {
935
- const g = Pe(C), N = Pe(A), B = !ae(g.value) && F.length > +g.value, S = !ae(N.value) && F.length < +N.value;
936
- if ((B || S) && (V(B, g.message, N.message), !t))
934
+ if ((C || S) && !D && (ge(F) || a && Array.isArray(F))) {
935
+ const g = Pe(C), N = Pe(S), B = !ae(g.value) && F.length > +g.value, A = !ae(N.value) && F.length < +N.value;
936
+ if ((B || A) && (V(B, g.message, N.message), !t))
937
937
  return Z(x[T].message), x;
938
938
  }
939
939
  if (I && !D && ge(F)) {
@@ -1011,7 +1011,7 @@ var et = () => {
1011
1011
  }
1012
1012
  };
1013
1013
  }, _e = (e) => ae(e) || !Wt(e);
1014
- function Se(e, r) {
1014
+ function Ae(e, r) {
1015
1015
  if (_e(e) || _e(r))
1016
1016
  return e === r;
1017
1017
  if (Te(e) && Te(r))
@@ -1025,7 +1025,7 @@ function Se(e, r) {
1025
1025
  return !1;
1026
1026
  if (a !== "ref") {
1027
1027
  const d = r[a];
1028
- if (Te(i) && Te(d) || te(i) && te(d) || Array.isArray(i) && Array.isArray(d) ? !Se(i, d) : i !== d)
1028
+ if (Te(i) && Te(d) || te(i) && te(d) || Array.isArray(i) && Array.isArray(d) ? !Ae(i, d) : i !== d)
1029
1029
  return !1;
1030
1030
  }
1031
1031
  }
@@ -1048,7 +1048,7 @@ function Xt(e, r, t) {
1048
1048
  const n = Array.isArray(e);
1049
1049
  if (te(e) || n)
1050
1050
  for (const a in e)
1051
- Array.isArray(e[a]) || te(e[a]) && !zt(e[a]) ? Y(r) || _e(t[a]) ? t[a] = Array.isArray(e[a]) ? He(e[a], []) : { ...He(e[a]) } : Xt(e[a], ae(r) ? {} : r[a], t[a]) : t[a] = !Se(e[a], r[a]);
1051
+ Array.isArray(e[a]) || te(e[a]) && !zt(e[a]) ? Y(r) || _e(t[a]) ? t[a] = Array.isArray(e[a]) ? He(e[a], []) : { ...He(e[a]) } : Xt(e[a], ae(r) ? {} : r[a], t[a]) : t[a] = !Ae(e[a], r[a]);
1052
1052
  return t;
1053
1053
  }
1054
1054
  var Xe = (e, r) => Xt(e, r, He(r)), Zt = (e, { valueAsNumber: r, valueAsDate: t, setValueAs: n }) => Y(e) ? e : r ? e === "" ? NaN : e && +e : t && ge(e) ? new Date(e) : n ? n(e) : e;
@@ -1126,7 +1126,7 @@ function Zs(e = {}) {
1126
1126
  unMount: /* @__PURE__ */ new Set(),
1127
1127
  array: /* @__PURE__ */ new Set(),
1128
1128
  watch: /* @__PURE__ */ new Set()
1129
- }, C, A = 0;
1129
+ }, C, S = 0;
1130
1130
  const v = {
1131
1131
  isDirty: !1,
1132
1132
  dirtyFields: !1,
@@ -1140,7 +1140,7 @@ function Zs(e = {}) {
1140
1140
  array: et(),
1141
1141
  state: et()
1142
1142
  }, I = Ft(r.mode), X = Ft(r.reValidateMode), T = r.criteriaMode === he.all, M = (s) => (l) => {
1143
- clearTimeout(A), A = setTimeout(s, l);
1143
+ clearTimeout(S), S = setTimeout(s, l);
1144
1144
  }, P = async (s) => {
1145
1145
  if (v.isValid || s) {
1146
1146
  const l = r.resolver ? de((await U()).errors) : await W(n, !0);
@@ -1191,7 +1191,7 @@ function Zs(e = {}) {
1191
1191
  const m = p(n, s);
1192
1192
  if (m) {
1193
1193
  const u = p(i, s, Y(o) ? p(a, s) : o);
1194
- Y(u) || h && h.defaultChecked || l ? G(i, s, l ? u : rt(m._f)) : S(s, u), d.mount && P();
1194
+ Y(u) || h && h.defaultChecked || l ? G(i, s, l ? u : rt(m._f)) : A(s, u), d.mount && P();
1195
1195
  }
1196
1196
  }, E = (s, l, o, h, m) => {
1197
1197
  let u = !1, b = !1;
@@ -1200,7 +1200,7 @@ function Zs(e = {}) {
1200
1200
  }, Q = !!(p(n, s) && p(n, s)._f && p(n, s)._f.disabled);
1201
1201
  if (!o || h) {
1202
1202
  v.isDirty && (b = t.isDirty, t.isDirty = j.isDirty = g(), u = b !== j.isDirty);
1203
- const ue = Q || Se(p(a, s), l);
1203
+ const ue = Q || Ae(p(a, s), l);
1204
1204
  b = !!(!Q && p(t.dirtyFields, s)), ue || Q ? ee(t.dirtyFields, s) : G(t.dirtyFields, s, !0), j.dirtyFields = t.dirtyFields, u = u || v.dirtyFields && b !== !ue;
1205
1205
  }
1206
1206
  if (o) {
@@ -1210,7 +1210,7 @@ function Zs(e = {}) {
1210
1210
  return u && m && y.state.next(j), u ? j : {};
1211
1211
  }, H = (s, l, o, h) => {
1212
1212
  const m = p(t.errors, s), u = v.isValid && ve(l) && t.isValid !== l;
1213
- if (e.delayError && o ? (C = M(() => O(s, o)), C(e.delayError)) : (clearTimeout(A), C = null, o ? G(t.errors, s, o) : ee(t.errors, s)), (o ? !Se(m, o) : m) || !de(h) || u) {
1213
+ if (e.delayError && o ? (C = M(() => O(s, o)), C(e.delayError)) : (clearTimeout(S), C = null, o ? G(t.errors, s, o) : ee(t.errors, s)), (o ? !Ae(m, o) : m) || !de(h) || u) {
1214
1214
  const b = {
1215
1215
  ...h,
1216
1216
  ...u && ve(l) ? { isValid: l } : {},
@@ -1261,9 +1261,9 @@ function Zs(e = {}) {
1261
1261
  l && (l._f.refs ? l._f.refs.every((o) => !tt(o)) : !tt(l._f.ref)) && ye(s);
1262
1262
  }
1263
1263
  f.unMount = /* @__PURE__ */ new Set();
1264
- }, g = (s, l) => (s && l && G(i, s, l), !Se(le(), a)), N = (s, l, o) => Rt(s, f, {
1264
+ }, g = (s, l) => (s && l && G(i, s, l), !Ae(le(), a)), N = (s, l, o) => Rt(s, f, {
1265
1265
  ...d.mount ? i : Y(l) ? a : ge(s) ? { [s]: l } : l
1266
- }, o, l), B = (s) => Je(p(d.mount ? i : a, s, e.shouldUnregister ? p(a, s, []) : [])), S = (s, l, o = {}) => {
1266
+ }, o, l), B = (s) => Je(p(d.mount ? i : a, s, e.shouldUnregister ? p(a, s, []) : [])), A = (s, l, o = {}) => {
1267
1267
  const h = p(n, s);
1268
1268
  let m = l;
1269
1269
  if (h) {
@@ -1277,7 +1277,7 @@ function Zs(e = {}) {
1277
1277
  }, q = (s, l, o) => {
1278
1278
  for (const h in l) {
1279
1279
  const m = l[h], u = `${s}.${h}`, b = p(n, u);
1280
- (f.array.has(s) || !_e(m) || b && !b._f) && !Te(m) ? q(u, m, o) : S(u, m, o);
1280
+ (f.array.has(s) || !_e(m) || b && !b._f) && !Te(m) ? q(u, m, o) : A(u, m, o);
1281
1281
  }
1282
1282
  }, R = (s, l, o = {}) => {
1283
1283
  const h = p(n, s), m = f.array.has(s), u = ce(l);
@@ -1288,7 +1288,7 @@ function Zs(e = {}) {
1288
1288
  name: s,
1289
1289
  dirtyFields: Xe(a, i),
1290
1290
  isDirty: g(s, u)
1291
- })) : h && !h._f && !ae(u) ? q(s, u, o) : S(s, u, o), wt(s, f) && y.state.next({ ...t }), y.values.next({
1291
+ })) : h && !h._f && !ae(u) ? q(s, u, o) : A(s, u, o), wt(s, f) && y.state.next({ ...t }), y.values.next({
1292
1292
  name: d.mount ? s : void 0,
1293
1293
  values: { ...i }
1294
1294
  });
@@ -1510,7 +1510,7 @@ function Zs(e = {}) {
1510
1510
  focus: ""
1511
1511
  }, d.mount = !v.isValid || !!l.keepIsValid || !!l.keepDirtyValues, d.watch = !!e.shouldUnregister, y.state.next({
1512
1512
  submitCount: l.keepSubmitCount ? t.submitCount : 0,
1513
- isDirty: m ? !1 : l.keepDirty ? t.isDirty : !!(l.keepDefaultValues && !Se(s, a)),
1513
+ isDirty: m ? !1 : l.keepDirty ? t.isDirty : !!(l.keepDefaultValues && !Ae(s, a)),
1514
1514
  isSubmitted: l.keepIsSubmitted ? t.isSubmitted : !1,
1515
1515
  dirtyFields: m ? {} : l.keepDirtyValues ? l.keepDefaultValues && i ? Xe(a, i) : t.dirtyFields : l.keepDefaultValues && s ? Xe(a, s) : l.keepDirty ? t.dirtyFields : {},
1516
1516
  touchedFields: l.keepTouched ? t.touchedFields : {},
@@ -1643,7 +1643,7 @@ function Us(e = {}) {
1643
1643
  });
1644
1644
  }
1645
1645
  }, [i, n.isDirty]), _.useEffect(() => {
1646
- e.values && !Se(e.values, t.current) ? (i._reset(e.values, i._options.resetOptions), t.current = e.values, a((d) => ({ ...d }))) : i._resetDefaultValues();
1646
+ e.values && !Ae(e.values, t.current) ? (i._reset(e.values, i._options.resetOptions), t.current = e.values, a((d) => ({ ...d }))) : i._resetDefaultValues();
1647
1647
  }, [e.values, i]), _.useEffect(() => {
1648
1648
  e.errors && i._setErrors(e.errors);
1649
1649
  }, [e.errors, i]), _.useEffect(() => {
@@ -1664,7 +1664,7 @@ const qs = Re.bind(re), Gs = "Я принимаю условия Политик
1664
1664
  isTextArea: d,
1665
1665
  telegramLink: f = "https://t.me/stone_developer",
1666
1666
  isRequiredPhone: C = !0,
1667
- isRequiredEmail: A = !1,
1667
+ isRequiredEmail: S = !1,
1668
1668
  isRequiredPhoneOrEmail: v,
1669
1669
  textAreaPlaceholder: y,
1670
1670
  subTitle: I,
@@ -1688,7 +1688,7 @@ const qs = Re.bind(re), Gs = "Я принимаю условия Политик
1688
1688
  reset: g,
1689
1689
  control: N,
1690
1690
  watch: B,
1691
- formState: { errors: S }
1691
+ formState: { errors: A }
1692
1692
  } = Us(), q = !!B("email"), R = B("personalCheckBox"), $ = B("advCheckBox");
1693
1693
  De(() => {
1694
1694
  typeof R < "u" && U && U();
@@ -1771,10 +1771,10 @@ const qs = Re.bind(re), Gs = "Я принимаю условия Политик
1771
1771
  "data-testid": "modal_name",
1772
1772
  ...W("name", { required: !0, pattern: er }),
1773
1773
  onBlur: (oe) => me(oe, {
1774
- action_element_status: S.name ? "error" : "success",
1774
+ action_element_status: A.name ? "error" : "success",
1775
1775
  action_element: `input_${H}_name`
1776
1776
  }),
1777
- error: !!S.name
1777
+ error: !!A.name
1778
1778
  }
1779
1779
  ),
1780
1780
  i && /* @__PURE__ */ c(
@@ -1783,7 +1783,7 @@ const qs = Re.bind(re), Gs = "Я принимаю условия Политик
1783
1783
  name: "phone",
1784
1784
  control: N,
1785
1785
  rules: {
1786
- required: A || C || v && !q,
1786
+ required: S || C || v && !q,
1787
1787
  pattern: { value: tr, message: "" }
1788
1788
  },
1789
1789
  defaultValue: "",
@@ -1796,11 +1796,11 @@ const qs = Re.bind(re), Gs = "Я принимаю условия Политик
1796
1796
  width: "full",
1797
1797
  "data-testid": "phone_modal",
1798
1798
  type: "tel",
1799
- error: !!S.phone,
1799
+ error: !!A.phone,
1800
1800
  size_s: "large",
1801
1801
  variant: "light",
1802
1802
  onBlur: (ye) => me(ye, {
1803
- action_element_status: S.phone ? "error" : "success",
1803
+ action_element_status: A.phone ? "error" : "success",
1804
1804
  action_element: `input_${H}_phone`
1805
1805
  })
1806
1806
  }
@@ -1816,12 +1816,12 @@ const qs = Re.bind(re), Gs = "Я принимаю условия Политик
1816
1816
  placeholder: "Введите email",
1817
1817
  "data-testid": "modal_email",
1818
1818
  ...W("email", {
1819
- required: A || v && !q,
1819
+ required: S || v && !q,
1820
1820
  pattern: rr
1821
1821
  }),
1822
- error: !!S.email,
1822
+ error: !!A.email,
1823
1823
  onBlur: (oe) => me(oe, {
1824
- action_element_status: S.email ? "error" : "success",
1824
+ action_element_status: A.email ? "error" : "success",
1825
1825
  action_element: `input_${H}_email`
1826
1826
  })
1827
1827
  }
@@ -1841,7 +1841,7 @@ const qs = Re.bind(re), Gs = "Я принимаю условия Политик
1841
1841
  {
1842
1842
  "data-testid": "modal_advCheckBox",
1843
1843
  isChecked: fe,
1844
- error: !!S.advCheckBox,
1844
+ error: !!A.advCheckBox,
1845
1845
  text: P.text,
1846
1846
  ...W("advCheckBox", { required: P == null ? void 0 : P.isRequired })
1847
1847
  }
@@ -1851,7 +1851,7 @@ const qs = Re.bind(re), Gs = "Я принимаю условия Политик
1851
1851
  {
1852
1852
  "data-testid": "modal_personalCheckBox",
1853
1853
  isChecked: le,
1854
- error: !!S.personalCheckBox,
1854
+ error: !!A.personalCheckBox,
1855
1855
  ...W("personalCheckBox", { required: !t }),
1856
1856
  children: [
1857
1857
  t && /* @__PURE__ */ k("div", { className: re.checkboxText, children: [
@@ -1897,7 +1897,7 @@ const qs = Re.bind(re), Gs = "Я принимаю условия Политик
1897
1897
  onClick: () => {
1898
1898
  E && E();
1899
1899
  },
1900
- disabled: !!S.name || !!S.phone && C || !!S.email && A || !!S.advCheckBox && (P == null ? void 0 : P.isRequired) || !!S.personalCheckBox && !t,
1900
+ disabled: !!A.name || !!A.phone && C || !!A.email && S || !!A.advCheckBox && (P == null ? void 0 : P.isRequired) || !!A.personalCheckBox && !t,
1901
1901
  children: "Отправить запрос"
1902
1902
  }
1903
1903
  )
@@ -1994,7 +1994,7 @@ const ui = /* @__PURE__ */ Kt(di), fi = ({
1994
1994
  onSaveClick: f,
1995
1995
  onClearClick: C
1996
1996
  }) => {
1997
- const { isMobile: A } = Me(), [v, y] = Ae(!1), I = Pt(null), [X, T] = Ae(e), [M] = Ae(r), [P, L] = Ae(X), [F, O] = Ae(M), Z = (D) => {
1997
+ const { isMobile: S } = Me(), [v, y] = Se(!1), I = Pt(null), [X, T] = Se(e), [M] = Se(r), [P, L] = Se(X), [F, O] = Se(M), Z = (D) => {
1998
1998
  if (t && t(D), n.some((V) => V.value === D.value))
1999
1999
  return;
2000
2000
  const W = F.some((V) => V.value === D.value) ? F.filter((V) => V.value !== D.value) : [...F, D];
@@ -2021,7 +2021,7 @@ const ui = /* @__PURE__ */ Kt(di), fi = ({
2021
2021
  document.removeEventListener("click", D);
2022
2022
  };
2023
2023
  }, [v]), {
2024
- isMobile: A,
2024
+ isMobile: S,
2025
2025
  handleClearClick: x,
2026
2026
  handleCloseModal: H,
2027
2027
  handleOptionClick: Z,
@@ -2044,7 +2044,7 @@ const ui = /* @__PURE__ */ Kt(di), fi = ({
2044
2044
  setSelectedTabs: d,
2045
2045
  selectedTabs: f,
2046
2046
  onClickItem: C,
2047
- onCLickSelect: A,
2047
+ onCLickSelect: S,
2048
2048
  onSaveClick: v = () => null,
2049
2049
  onClearClick: y = () => null,
2050
2050
  onTabClick: I = () => null,
@@ -2113,7 +2113,7 @@ const ui = /* @__PURE__ */ Kt(di), fi = ({
2113
2113
  checked: ((N = M == null ? void 0 : M.find((B) => B.value === g)) == null ? void 0 : N.state) ?? !1,
2114
2114
  onChange: () => {
2115
2115
  E == null || E(
2116
- (B) => B.map((S) => S.value === g ? { ...S, state: !S.state } : S)
2116
+ (B) => B.map((A) => A.value === g ? { ...A, state: !A.state } : A)
2117
2117
  );
2118
2118
  },
2119
2119
  index: V,
@@ -2167,7 +2167,7 @@ const ui = /* @__PURE__ */ Kt(di), fi = ({
2167
2167
  {
2168
2168
  className: z.root,
2169
2169
  onClick: () => {
2170
- A && A(), a && a(), L ? H((W) => !W) : x || H(!0);
2170
+ S && S(), a && a(), L ? H((W) => !W) : x || H(!0);
2171
2171
  },
2172
2172
  children: [
2173
2173
  /* @__PURE__ */ c("div", { className: z.btnName, children: X }),
@@ -2226,7 +2226,7 @@ const ui = /* @__PURE__ */ Kt(di), fi = ({
2226
2226
  checked: ((N = M == null ? void 0 : M.find((B) => B.value === g)) == null ? void 0 : N.state) ?? !1,
2227
2227
  onChange: () => {
2228
2228
  E == null || E(
2229
- (B) => B.map((S) => S.value === g ? { ...S, state: !S.state } : S)
2229
+ (B) => B.map((A) => A.value === g ? { ...A, state: !A.state } : A)
2230
2230
  );
2231
2231
  },
2232
2232
  index: V,
@@ -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-D4ehXs-a.js";
15
+ import "./FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
14
+ import { b as w } from "../../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
3
+ import { F as a } from "../../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
2
+ import { M as A } from "../../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
3
+ import { u as B } from "../../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
1
+ import { L as a } from "../../FilterWithSave-nyKnOPeq.js";
2
2
  export {
3
3
  a as LotCard
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { L as e } from "../../../FilterWithSave-D4ehXs-a.js";
2
+ import { L as e } from "../../../FilterWithSave-nyKnOPeq.js";
3
3
  import "../../NewIcon/ui/NewIcon.js";
4
4
  import "../../Tag/ui/Tag.js";
5
5
  import "../../Button/ui/Button.js";
@@ -295,7 +295,7 @@ export interface LotProject {
295
295
  strapiSlug?: string;
296
296
  sortOffice?: number;
297
297
  sortRetail?: number;
298
- showPriceOnType?: {
298
+ showPriceSubType?: {
299
299
  slug: string;
300
300
  value: string;
301
301
  subType: string;
@@ -1,4 +1,4 @@
1
- import { a as r } from "../../FilterWithSave-D4ehXs-a.js";
1
+ import { a as r } from "../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
16
+ import { a as A } from "../../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
1
+ import { S as e } from "../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
3
+ import { S as y } from "../../../FilterWithSave-nyKnOPeq.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-dBiW5R0Z.js";
2
+ import { M as f } from "../../../Menu-BtbUhvTF.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-D4ehXs-a.js";
15
+ import "../../../FilterWithSave-nyKnOPeq.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-dBiW5R0Z.js";
2
+ import { M as z } from "../../Menu-BtbUhvTF.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-D4ehXs-a.js";
15
+ import "../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
13
+ import { F as w, L as I, M as L, a as N, S as v } from "./FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
14
+ import "../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
3
+ import { M as n } from "../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
14
+ import "../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
14
+ import "../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
14
+ import "../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
4
+ import { L as r } from "../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
14
+ import "../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
4
+ import { F as u, a as b } from "../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
3
+ import { S as i } from "../../FilterWithSave-nyKnOPeq.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-D4ehXs-a.js";
14
+ import "../../FilterWithSave-nyKnOPeq.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.951",
5
+ "version": "0.0.952",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",