stone-kit 0.0.947 → 0.0.948
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 +1 -1
- package/dist/{FilterWithSave-DL1Iw5Ll.js → FilterWithSave-DAGYzbr2.js} +86 -86
- package/dist/{Menu-CRb5F3bG.js → Menu-ClKc7rrn.js} +1 -1
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +1 -1
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +1 -1
- package/dist/components/FormModal/ui/ModalForm.js +1 -1
- package/dist/components/LotCard/hooks/useLotCard.js +1 -1
- package/dist/components/LotCard/index.js +1 -1
- package/dist/components/LotCard/ui/LotCard.js +1 -1
- package/dist/components/LotCard/ui/LotCard.types.d.ts +1 -1
- package/dist/components/SortSelect/index.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.js +1 -1
- package/dist/components/TabSwitcher/index.js +1 -1
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +1 -1
- package/dist/layout/components/Header/Header.js +2 -2
- package/dist/layout/components/Menu.js +2 -2
- package/dist/main.js +1 -1
- package/dist/pages/ButtonsPage/Buttons.js +1 -1
- package/dist/pages/FormsPage/FormsPage.js +1 -1
- package/dist/pages/IconsPage/IconsPage.js +1 -1
- package/dist/pages/InputPage/InputPage.js +1 -1
- package/dist/pages/LogoPage/LogoPage.js +1 -1
- package/dist/pages/LotsPage/LotsPage.js +1 -1
- package/dist/pages/ModalsPage/ModalPage.js +1 -1
- package/dist/pages/SelectPage/SelectPage.js +1 -1
- package/dist/pages/TabsPage/TabsPage.js +1 -1
- package/dist/pages/TagsPage/TagsPage.js +1 -1
- package/package.json +1 -1
package/dist/App.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsxs as k, jsx as c, Fragment as st } from "react/jsx-runtime";
|
|
2
2
|
import { NewIcon as he } 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 Fe, useRef as
|
|
4
|
+
import _, { forwardRef as Yt, useState as Fe, useRef as Tt, useEffect as Ve } from "react";
|
|
5
5
|
import { Text as nt } from "./components/Text/ui/Text.js";
|
|
6
6
|
import { c as Ee, g as Kt } from "./index-rKuIKazb.js";
|
|
7
7
|
import { Button as ye } from "./components/Button/ui/Button.js";
|
|
8
8
|
import "./components/mobileButton/ui/MobileButton.js";
|
|
9
9
|
import "./components/DestinationTab/ui/DestinationTab.js";
|
|
10
10
|
import "./components/RoundButton/ui/RoundButton.js";
|
|
11
|
-
import { Tag as
|
|
11
|
+
import { Tag as Te } from "./components/Tag/ui/Tag.js";
|
|
12
12
|
import "./components/Switcher/ui/Switcher.js";
|
|
13
13
|
import { Flex as Qt } from "./components/Flex/ui/Flex.js";
|
|
14
14
|
import { Input as $e } from "./components/Input/ui/Input.js";
|
|
15
15
|
import "react-dom";
|
|
16
16
|
import "./components/GroupedInput/ui/GroupedInputs.js";
|
|
17
17
|
import "./components/MetroTag/ui/MetroTag.js";
|
|
18
|
-
import { formatPrice as
|
|
18
|
+
import { formatPrice as Pe } from "./components/LotCard/utils/formatPrice.js";
|
|
19
19
|
import "./components/Select/ui/Select.js";
|
|
20
20
|
import { useClientWidth as De } from "./shared/useClientWidth.js";
|
|
21
21
|
import { s as ne, u as $t } from "./useSortSelect-CjZXLFOG.js";
|
|
@@ -75,7 +75,7 @@ const or = "_root_14gc5_1", cr = "_text_14gc5_18", dr = "_textMini_14gc5_26", ur
|
|
|
75
75
|
isApart: t = !1,
|
|
76
76
|
addClassName: n = "",
|
|
77
77
|
col: a = !1
|
|
78
|
-
}) => /* @__PURE__ */ c("div", { className: Be(K.root, K[r], { [K.rootCol]: a, [K.apart]: t }, n), children: e }),
|
|
78
|
+
}) => /* @__PURE__ */ c("div", { className: Be(K.root, K[r], { [K.rootCol]: a, [K.apart]: t }, n), children: e }), Pt = Yt((e, r) => {
|
|
79
79
|
const { isTablet: t, isDesktop: n } = De(), {
|
|
80
80
|
index: a,
|
|
81
81
|
children: i,
|
|
@@ -87,13 +87,13 @@ const or = "_root_14gc5_1", cr = "_text_14gc5_18", dr = "_textMini_14gc5_26", ur
|
|
|
87
87
|
size_l: y,
|
|
88
88
|
disabled: I = !1,
|
|
89
89
|
itemsLength: X = 0,
|
|
90
|
-
isLongOn:
|
|
90
|
+
isLongOn: P = !0,
|
|
91
91
|
width: M,
|
|
92
|
-
width_m:
|
|
92
|
+
width_m: T,
|
|
93
93
|
width_l: L,
|
|
94
94
|
mini: F = !1,
|
|
95
95
|
...O
|
|
96
|
-
} = e, Z = (i != null && i.toString().length ? (i == null ? void 0 : i.toString().length) > 2 : !1) &&
|
|
96
|
+
} = e, Z = (i != null && i.toString().length ? (i == null ? void 0 : i.toString().length) > 2 : !1) && P, x = (H, q) => H && T ? T : q && L ? L : M, V = !M && !T && !L && Z;
|
|
97
97
|
return /* @__PURE__ */ k("label", { className: Be(K.labelItem, { [K.isLong]: Z }, f), children: [
|
|
98
98
|
/* @__PURE__ */ c(
|
|
99
99
|
"input",
|
|
@@ -140,13 +140,13 @@ const or = "_root_14gc5_1", cr = "_text_14gc5_18", dr = "_textMini_14gc5_26", ur
|
|
|
140
140
|
)
|
|
141
141
|
] });
|
|
142
142
|
});
|
|
143
|
-
|
|
144
|
-
const Oe = Object.assign(Sr, { Item:
|
|
143
|
+
Pt.displayName = "TabSwitcherItem";
|
|
144
|
+
const Oe = Object.assign(Sr, { Item: Pt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_spvoo_12", kr = "_rootDisable_spvoo_17", Tr = "_lotImageWrapper_spvoo_17", Pr = "_lotInfoWrapper_spvoo_18", Wr = "_infoHeader_spvoo_38", Br = "_monthlyWrapper_spvoo_47", Ir = "_price_spvoo_57", Lr = "_monthlyPayment_spvoo_64", Vr = "_decor_spvoo_70", Er = "_lotPropertyListMobile_spvoo_77", Dr = "_lotPropertyItem_spvoo_85", Rr = "_lotPropertyListDesktop_spvoo_102", Mr = "_lotPriceWrapper_spvoo_106", Or = "_discountWrapper_spvoo_112", jr = "_discountPrice_spvoo_123", zr = "_priceWrap_spvoo_135", Xr = "_snippetLast_spvoo_145", Zr = "_snippet_spvoo_145", Ur = "_tagsMobile_spvoo_160", qr = "_discountTag_spvoo_175", Gr = "_lotPricePerMetr_spvoo_179", _r = "_btnWrapper_spvoo_184", Hr = "_title_spvoo_191", Jr = "_snippets_spvoo_195", Yr = "_retailSnippets_spvoo_200", Kr = "_shownSnippets_spvoo_205", Qr = "_addSnippets_spvoo_231", $r = "_addSnippetsActive_spvoo_247", es = "_addSnippetsList_spvoo_252", ts = "_closeSnippetBtn_spvoo_296", rs = "_rootRow_spvoo_308", ss = "_rowTablet_spvoo_319", is = "_rootRightSide_spvoo_359", ns = "_topWrapper_spvoo_373", as = "_botWrapper_spvoo_377", ls = "_lotPriceWrapperRow_spvoo_409", os = "_fullscreenBtn_spvoo_419", cs = "_projectLotPricePerMetr_spvoo_438", w = {
|
|
145
145
|
root: Cr,
|
|
146
146
|
lotBtn: Nr,
|
|
147
147
|
rootDisable: kr,
|
|
148
|
-
lotImageWrapper:
|
|
149
|
-
lotInfoWrapper:
|
|
148
|
+
lotImageWrapper: Tr,
|
|
149
|
+
lotInfoWrapper: Pr,
|
|
150
150
|
infoHeader: Wr,
|
|
151
151
|
monthlyWrapper: Br,
|
|
152
152
|
price: Ir,
|
|
@@ -195,8 +195,8 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
195
195
|
subTypeName: y,
|
|
196
196
|
number: I,
|
|
197
197
|
bedroomsCount: X,
|
|
198
|
-
mortgageMonthlyPayment:
|
|
199
|
-
} = e, [M,
|
|
198
|
+
mortgageMonthlyPayment: P
|
|
199
|
+
} = e, [M, T] = Fe(!1), L = t === 2, F = n === 1, O = C === 11, Z = a ? a + " м²" : "", x = i && f ? (d && d !== i ? i + "-" + d : i) + " из " + f : "", V = ir({ ...e }), { isTablet: H, isDesktop: q, isMobile: D, currentClientWidth: W } = De(), E = typeof r < "u" ? r : q || H, g = () => O ? f ? "Кол-во этажей: " + f : "" : x ? "Этаж: " + x : "", N = () => O ? f ? /* @__PURE__ */ k("li", { className: Ce(w.lotPropertyItem), children: [
|
|
200
200
|
/* @__PURE__ */ c("div", { children: "Количество этажей" }),
|
|
201
201
|
/* @__PURE__ */ c("div", { children: f })
|
|
202
202
|
] }) : null : x ? /* @__PURE__ */ k("li", { className: Ce(w.lotPropertyItem), children: [
|
|
@@ -235,13 +235,13 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
235
235
|
{
|
|
236
236
|
className: Ce(w.addSnippets, { [w.addSnippetsActive]: M }),
|
|
237
237
|
onClick: (J) => {
|
|
238
|
-
q || (J.stopPropagation(), J.preventDefault(),
|
|
238
|
+
q || (J.stopPropagation(), J.preventDefault(), T((ce) => !ce));
|
|
239
239
|
},
|
|
240
240
|
onMouseEnter: () => {
|
|
241
|
-
q &&
|
|
241
|
+
q && T(!0);
|
|
242
242
|
},
|
|
243
243
|
onMouseLeave: () => {
|
|
244
|
-
q &&
|
|
244
|
+
q && T(!1);
|
|
245
245
|
},
|
|
246
246
|
children: [
|
|
247
247
|
"+" + (re == null ? void 0 : re.length),
|
|
@@ -286,7 +286,7 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
286
286
|
html: R
|
|
287
287
|
}
|
|
288
288
|
),
|
|
289
|
-
|
|
289
|
+
P && /* @__PURE__ */ c("div", { className: w.monthlyPayment, children: ar(P) }),
|
|
290
290
|
/* @__PURE__ */ c(B, {})
|
|
291
291
|
] }) });
|
|
292
292
|
},
|
|
@@ -300,7 +300,7 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
300
300
|
areaStr: Z,
|
|
301
301
|
floorStr: x,
|
|
302
302
|
isShowSnippet: M,
|
|
303
|
-
setIsShowSnippet:
|
|
303
|
+
setIsShowSnippet: T,
|
|
304
304
|
rowConditionsVar: E
|
|
305
305
|
};
|
|
306
306
|
}, ie = Ee.bind(w), Ki = ({
|
|
@@ -321,9 +321,9 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
321
321
|
interiorPlanImg: y,
|
|
322
322
|
direction: I,
|
|
323
323
|
floorPlanImg: X,
|
|
324
|
-
discount:
|
|
324
|
+
discount: P,
|
|
325
325
|
sellingPrice: M,
|
|
326
|
-
sellingPriceBeforeDiscount:
|
|
326
|
+
sellingPriceBeforeDiscount: T
|
|
327
327
|
} = e, L = lr(e), {
|
|
328
328
|
getFloorStr: F,
|
|
329
329
|
FloorByType: O,
|
|
@@ -334,7 +334,7 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
334
334
|
isMobile: q,
|
|
335
335
|
isBuilding: D,
|
|
336
336
|
LotCardInfo: W
|
|
337
|
-
} = us({ lot: e, rowConditions: f }), E = !!((U = (S = e.project) == null ? void 0 : S.showPriceOnType) != null && U.some((R) => Number(R.
|
|
337
|
+
} = us({ lot: e, rowConditions: f }), E = !!((U = (S = e.project) == null ? void 0 : S.showPriceOnType) != null && U.some((R) => Number(R.subType) === e.subType));
|
|
338
338
|
if (!H)
|
|
339
339
|
return null;
|
|
340
340
|
const g = () => /* @__PURE__ */ c("div", { className: ie(w.lotImageWrapper, C), children: d || /* @__PURE__ */ c(
|
|
@@ -396,15 +396,15 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
396
396
|
/* @__PURE__ */ k("div", { className: w.topWrapper, children: [
|
|
397
397
|
V && /* @__PURE__ */ c(W, {}),
|
|
398
398
|
!q && !x && /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "flex-start" }, children: /* @__PURE__ */ k("div", { className: w.priceWrap, children: [
|
|
399
|
-
/* @__PURE__ */ c("div", { className: w.discountWrapper, children: !L &&
|
|
400
|
-
/* @__PURE__ */ c("span", { children: E &&
|
|
399
|
+
/* @__PURE__ */ c("div", { className: w.discountWrapper, children: !L && P && M && T && V && /* @__PURE__ */ k("div", { className: ie(w.discountPrice), children: [
|
|
400
|
+
/* @__PURE__ */ c("span", { children: E && Pe(T ?? M, !1, I) }),
|
|
401
401
|
E && /* @__PURE__ */ c(
|
|
402
|
-
|
|
402
|
+
Te,
|
|
403
403
|
{
|
|
404
404
|
additionalClass: ie(w.discountTag),
|
|
405
405
|
variant: "red",
|
|
406
406
|
size: "tiny",
|
|
407
|
-
children: "-" + Number(
|
|
407
|
+
children: "-" + Number(P) + "%"
|
|
408
408
|
}
|
|
409
409
|
)
|
|
410
410
|
] }) }),
|
|
@@ -412,19 +412,19 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
412
412
|
"div",
|
|
413
413
|
{
|
|
414
414
|
className: w.price,
|
|
415
|
-
children: E ?
|
|
415
|
+
children: E ? Pe(M, !1, I) : "Цена по запросу"
|
|
416
416
|
}
|
|
417
417
|
),
|
|
418
418
|
L && V && /* @__PURE__ */ c("div", { className: w.price, children: "Цена по запросу" })
|
|
419
419
|
] }) }),
|
|
420
|
-
v && !x && /* @__PURE__ */ c("div", { className: ie(w.lotPricePerMetr, w.projectLotPricePerMetr), children:
|
|
420
|
+
v && !x && /* @__PURE__ */ c("div", { className: ie(w.lotPricePerMetr, w.projectLotPricePerMetr), children: Pe(v, !0, I) })
|
|
421
421
|
] }),
|
|
422
422
|
/* @__PURE__ */ k("div", { className: w.botWrapper, children: [
|
|
423
423
|
/* @__PURE__ */ c("div", { className: ie(w.lotPriceWrapper, w.infoWrapper, { [w.lotPriceWrapperRow]: !V }), children: /* @__PURE__ */ k("div", { className: ie(w.lotInfoWrapper), children: [
|
|
424
424
|
/* @__PURE__ */ k("div", { className: ie(w.lotPropertyListDesktop), children: [
|
|
425
|
-
Z && /* @__PURE__ */ c(
|
|
426
|
-
!D && A && /* @__PURE__ */ c(
|
|
427
|
-
F() && /* @__PURE__ */ c(
|
|
425
|
+
Z && /* @__PURE__ */ c(Te, { variant: "gray", children: Z }),
|
|
426
|
+
!D && A && /* @__PURE__ */ c(Te, { variant: "gray", children: A }),
|
|
427
|
+
F() && /* @__PURE__ */ c(Te, { variant: "gray", children: F() })
|
|
428
428
|
] }),
|
|
429
429
|
/* @__PURE__ */ k("ul", { className: ie(w.lotPropertyListMobile), children: [
|
|
430
430
|
Z && /* @__PURE__ */ k("li", { className: ie(w.lotPropertyItem), children: [
|
|
@@ -439,15 +439,15 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
439
439
|
] })
|
|
440
440
|
] }) }),
|
|
441
441
|
(q && !x || !V) && /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "flex-start" }, children: /* @__PURE__ */ k("div", { className: w.priceWrap, children: [
|
|
442
|
-
/* @__PURE__ */ c("div", { className: w.discountWrapper, children: !L &&
|
|
443
|
-
E && /* @__PURE__ */ c("span", { children:
|
|
442
|
+
/* @__PURE__ */ c("div", { className: w.discountWrapper, children: !L && P && M && T && /* @__PURE__ */ k("div", { className: ie(w.discountPrice), children: [
|
|
443
|
+
E && /* @__PURE__ */ c("span", { children: Pe(T ?? M, !1, I) }),
|
|
444
444
|
E && /* @__PURE__ */ c(
|
|
445
|
-
|
|
445
|
+
Te,
|
|
446
446
|
{
|
|
447
447
|
additionalClass: ie(w.discountTag),
|
|
448
448
|
variant: "red",
|
|
449
449
|
size: "tiny",
|
|
450
|
-
children: "-" + Number(
|
|
450
|
+
children: "-" + Number(P) + "%"
|
|
451
451
|
}
|
|
452
452
|
)
|
|
453
453
|
] }) }),
|
|
@@ -455,7 +455,7 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
455
455
|
"div",
|
|
456
456
|
{
|
|
457
457
|
className: w.price,
|
|
458
|
-
children: E ?
|
|
458
|
+
children: E ? Pe(M, !1, I) : "Цена по запросу"
|
|
459
459
|
}
|
|
460
460
|
),
|
|
461
461
|
L && /* @__PURE__ */ c("div", { className: w.price, children: "Цена по запросу" })
|
|
@@ -494,14 +494,14 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
494
494
|
onCLickSelect: y,
|
|
495
495
|
onOpenClick: I
|
|
496
496
|
}) => {
|
|
497
|
-
const [X,
|
|
497
|
+
const [X, P] = Fe(!1), M = Tt(null), { isMobile: T } = De(), { handleBlur: L, getInputValue: F, getOption: O, handleDocumentClick: Z } = $t({
|
|
498
498
|
selectedOption: r,
|
|
499
499
|
onClickOption: v,
|
|
500
500
|
setSelectedOption: d,
|
|
501
|
-
setIsOpen:
|
|
501
|
+
setIsOpen: P,
|
|
502
502
|
containerRef: M,
|
|
503
503
|
isOpen: X,
|
|
504
|
-
isMobile:
|
|
504
|
+
isMobile: T,
|
|
505
505
|
placeholder: t,
|
|
506
506
|
onChange: d,
|
|
507
507
|
onBlur: f
|
|
@@ -537,7 +537,7 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
537
537
|
{ [ne.selectionOptionMini]: C }
|
|
538
538
|
),
|
|
539
539
|
onClick: () => {
|
|
540
|
-
X || I && I(),
|
|
540
|
+
X || I && I(), P(!X);
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
543
|
),
|
|
@@ -550,11 +550,11 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
550
550
|
}
|
|
551
551
|
)
|
|
552
552
|
] }),
|
|
553
|
-
X &&
|
|
553
|
+
X && T && /* @__PURE__ */ k(
|
|
554
554
|
it,
|
|
555
555
|
{
|
|
556
556
|
isOpen: X,
|
|
557
|
-
emitIsOpen:
|
|
557
|
+
emitIsOpen: P,
|
|
558
558
|
additionalClassModalBody: ne.modalAddBody,
|
|
559
559
|
additionalClass: ne.selectModal,
|
|
560
560
|
createPortalObj: { domNode: document.querySelector("body") },
|
|
@@ -562,7 +562,7 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
562
562
|
children: [
|
|
563
563
|
/* @__PURE__ */ k("div", { className: ne.mobileSortHeader, children: [
|
|
564
564
|
/* @__PURE__ */ c(nt, { children: "Сортировка" }),
|
|
565
|
-
/* @__PURE__ */ c("div", { onClick: () =>
|
|
565
|
+
/* @__PURE__ */ c("div", { onClick: () => P(!1), children: /* @__PURE__ */ c(
|
|
566
566
|
he,
|
|
567
567
|
{
|
|
568
568
|
name: "close",
|
|
@@ -574,7 +574,7 @@ const Oe = Object.assign(Sr, { Item: Tt }), Cr = "_root_spvoo_1", Nr = "_lotBtn_
|
|
|
574
574
|
]
|
|
575
575
|
}
|
|
576
576
|
),
|
|
577
|
-
X && !
|
|
577
|
+
X && !T && /* @__PURE__ */ c("div", { className: je(ne.optionsList, { [ne.optionListOnTop]: A }), children: e == null ? void 0 : e.map((x) => O(x)) })
|
|
578
578
|
]
|
|
579
579
|
}
|
|
580
580
|
);
|
|
@@ -657,7 +657,7 @@ const Ze = {
|
|
|
657
657
|
pattern: "pattern",
|
|
658
658
|
required: "required",
|
|
659
659
|
validate: "validate"
|
|
660
|
-
},
|
|
660
|
+
}, Ts = _.createContext(null), ot = () => _.useContext(Ts);
|
|
661
661
|
var Vt = (e, r, t, n = !0) => {
|
|
662
662
|
const a = {
|
|
663
663
|
defaultValues: r._defaultValues
|
|
@@ -686,7 +686,7 @@ function ct(e) {
|
|
|
686
686
|
};
|
|
687
687
|
}, [e.disabled]);
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function Ps(e) {
|
|
690
690
|
const r = ot(), { control: t = r.control, disabled: n, name: a, exact: i } = e || {}, [d, f] = _.useState(t._formState), C = _.useRef(!0), A = _.useRef({
|
|
691
691
|
isDirty: !1,
|
|
692
692
|
isLoading: !1,
|
|
@@ -727,7 +727,7 @@ function Bs(e) {
|
|
|
727
727
|
name: t,
|
|
728
728
|
defaultValue: p(a._formValues, t, p(a._defaultValues, t, e.defaultValue)),
|
|
729
729
|
exact: !0
|
|
730
|
-
}), C =
|
|
730
|
+
}), C = Ps({
|
|
731
731
|
control: a,
|
|
732
732
|
name: t,
|
|
733
733
|
exact: !0
|
|
@@ -738,8 +738,8 @@ function Bs(e) {
|
|
|
738
738
|
}));
|
|
739
739
|
return _.useEffect(() => {
|
|
740
740
|
const v = a._options.shouldUnregister || i, y = (I, X) => {
|
|
741
|
-
const
|
|
742
|
-
|
|
741
|
+
const P = p(a._fields, I);
|
|
742
|
+
P && P._f && (P._f.mount = X);
|
|
743
743
|
};
|
|
744
744
|
if (y(t, !0), v) {
|
|
745
745
|
const I = le(p(a._options.defaultValues, t));
|
|
@@ -885,14 +885,14 @@ var Ne = (e) => ee(e) && !qe(e) ? e : {
|
|
|
885
885
|
value: e,
|
|
886
886
|
message: ""
|
|
887
887
|
}, Nt = async (e, r, t, n, a) => {
|
|
888
|
-
const { ref: i, refs: d, required: f, maxLength: C, minLength: A, min: v, max: y, pattern: I, validate: X, name:
|
|
889
|
-
if (!
|
|
888
|
+
const { ref: i, refs: d, required: f, maxLength: C, minLength: A, min: v, max: y, pattern: I, validate: X, name: P, valueAsNumber: M, mount: T, disabled: L } = e._f, F = p(r, P);
|
|
889
|
+
if (!T || L)
|
|
890
890
|
return {};
|
|
891
891
|
const O = d ? d[0] : i, Z = (g) => {
|
|
892
892
|
n && O.reportValidity && (O.setCustomValidity(pe(g) ? "" : g || ""), O.reportValidity());
|
|
893
|
-
}, x = {}, V = ut(i), H = Re(i), q = V || H, D = (M || dt(i)) && Y(i.value) && Y(F) || Ue(i) && i.value === "" || F === "" || Array.isArray(F) && !F.length, W = Ls.bind(null,
|
|
893
|
+
}, x = {}, V = ut(i), H = Re(i), q = V || H, D = (M || dt(i)) && Y(i.value) && Y(F) || Ue(i) && i.value === "" || F === "" || Array.isArray(F) && !F.length, W = Ls.bind(null, P, t, x), E = (g, N, B, S = ve.maxLength, U = ve.minLength) => {
|
|
894
894
|
const R = g ? N : B;
|
|
895
|
-
x[
|
|
895
|
+
x[P] = {
|
|
896
896
|
type: g ? S : U,
|
|
897
897
|
message: R,
|
|
898
898
|
ref: i,
|
|
@@ -901,7 +901,7 @@ var Ne = (e) => ee(e) && !qe(e) ? e : {
|
|
|
901
901
|
};
|
|
902
902
|
if (a ? !Array.isArray(F) || !F.length : f && (!q && (D || ae(F)) || pe(F) && !F || H && !Mt(d).isValid || V && !Ot(d).isValid)) {
|
|
903
903
|
const { value: g, message: N } = Xe(f) ? { value: !!f, message: f } : Ne(f);
|
|
904
|
-
if (g && (x[
|
|
904
|
+
if (g && (x[P] = {
|
|
905
905
|
type: ve.required,
|
|
906
906
|
message: N,
|
|
907
907
|
ref: O,
|
|
@@ -920,16 +920,16 @@ var Ne = (e) => ee(e) && !qe(e) ? e : {
|
|
|
920
920
|
me(B.value) && F && (g = te ? R(F) > R(B.value) : re ? F > B.value : U > new Date(B.value)), me(S.value) && F && (N = te ? R(F) < R(S.value) : re ? F < S.value : U < new Date(S.value));
|
|
921
921
|
}
|
|
922
922
|
if ((g || N) && (E(!!g, B.message, S.message, ve.max, ve.min), !t))
|
|
923
|
-
return Z(x[
|
|
923
|
+
return Z(x[P].message), x;
|
|
924
924
|
}
|
|
925
925
|
if ((C || A) && !D && (me(F) || a && Array.isArray(F))) {
|
|
926
926
|
const g = Ne(C), N = Ne(A), B = !ae(g.value) && F.length > +g.value, S = !ae(N.value) && F.length < +N.value;
|
|
927
927
|
if ((B || S) && (E(B, g.message, N.message), !t))
|
|
928
|
-
return Z(x[
|
|
928
|
+
return Z(x[P].message), x;
|
|
929
929
|
}
|
|
930
930
|
if (I && !D && me(F)) {
|
|
931
931
|
const { value: g, message: N } = Ne(I);
|
|
932
|
-
if (qe(g) && !F.match(g) && (x[
|
|
932
|
+
if (qe(g) && !F.match(g) && (x[P] = {
|
|
933
933
|
type: ve.pattern,
|
|
934
934
|
message: N,
|
|
935
935
|
ref: i,
|
|
@@ -940,7 +940,7 @@ var Ne = (e) => ee(e) && !qe(e) ? e : {
|
|
|
940
940
|
if (X) {
|
|
941
941
|
if (ge(X)) {
|
|
942
942
|
const g = await X(F, r), N = Ct(g, O);
|
|
943
|
-
if (N && (x[
|
|
943
|
+
if (N && (x[P] = {
|
|
944
944
|
...N,
|
|
945
945
|
...W(ve.validate, N.message)
|
|
946
946
|
}, !t))
|
|
@@ -954,9 +954,9 @@ var Ne = (e) => ee(e) && !qe(e) ? e : {
|
|
|
954
954
|
B && (g = {
|
|
955
955
|
...B,
|
|
956
956
|
...W(N, B.message)
|
|
957
|
-
}, Z(B.message), t && (x[
|
|
957
|
+
}, Z(B.message), t && (x[P] = g));
|
|
958
958
|
}
|
|
959
|
-
if (!oe(g) && (x[
|
|
959
|
+
if (!oe(g) && (x[P] = {
|
|
960
960
|
ref: O,
|
|
961
961
|
...g
|
|
962
962
|
}, !t))
|
|
@@ -1130,9 +1130,9 @@ function Zs(e = {}) {
|
|
|
1130
1130
|
values: et(),
|
|
1131
1131
|
array: et(),
|
|
1132
1132
|
state: et()
|
|
1133
|
-
}, I = Ft(r.mode), X = Ft(r.reValidateMode),
|
|
1133
|
+
}, I = Ft(r.mode), X = Ft(r.reValidateMode), P = r.criteriaMode === fe.all, M = (s) => (l) => {
|
|
1134
1134
|
clearTimeout(A), A = setTimeout(s, l);
|
|
1135
|
-
},
|
|
1135
|
+
}, T = async (s) => {
|
|
1136
1136
|
if (v.isValid || s) {
|
|
1137
1137
|
const l = r.resolver ? oe((await q()).errors) : await W(n, !0);
|
|
1138
1138
|
l !== t.isValid && y.state.next({
|
|
@@ -1182,7 +1182,7 @@ function Zs(e = {}) {
|
|
|
1182
1182
|
const m = p(n, s);
|
|
1183
1183
|
if (m) {
|
|
1184
1184
|
const u = p(i, s, Y(o) ? p(a, s) : o);
|
|
1185
|
-
Y(u) || h && h.defaultChecked || l ? G(i, s, l ? u : rt(m._f)) : S(s, u), d.mount &&
|
|
1185
|
+
Y(u) || h && h.defaultChecked || l ? G(i, s, l ? u : rt(m._f)) : S(s, u), d.mount && T();
|
|
1186
1186
|
}
|
|
1187
1187
|
}, V = (s, l, o, h, m) => {
|
|
1188
1188
|
let u = !1, b = !1;
|
|
@@ -1237,7 +1237,7 @@ function Zs(e = {}) {
|
|
|
1237
1237
|
if (u) {
|
|
1238
1238
|
const j = f.array.has(u.name);
|
|
1239
1239
|
L([h], !0);
|
|
1240
|
-
const Q = await Nt(m, i,
|
|
1240
|
+
const Q = await Nt(m, i, P, r.shouldUseNativeValidation && !l, j);
|
|
1241
1241
|
if (L([h]), Q[u.name] && (o.valid = !1, l))
|
|
1242
1242
|
break;
|
|
1243
1243
|
!l && (p(Q, u.name) ? j ? Vs(t.errors, Q, u.name) : G(t.errors, u.name, Q[u.name]) : $(t.errors, u.name));
|
|
@@ -1300,7 +1300,7 @@ function Zs(e = {}) {
|
|
|
1300
1300
|
type: s.type,
|
|
1301
1301
|
values: { ...i }
|
|
1302
1302
|
}), _t)
|
|
1303
|
-
return v.isValid &&
|
|
1303
|
+
return v.isValid && T(), Ht && y.state.next({ name: o, ...Ke ? {} : Qe });
|
|
1304
1304
|
if (!Se && Ke && y.state.next({ ...t }), r.resolver) {
|
|
1305
1305
|
const { errors: vt } = await q([o]);
|
|
1306
1306
|
if (b(de), h) {
|
|
@@ -1308,7 +1308,7 @@ function Zs(e = {}) {
|
|
|
1308
1308
|
j = yt.error, o = yt.name, Q = oe(vt);
|
|
1309
1309
|
}
|
|
1310
1310
|
} else
|
|
1311
|
-
L([o], !0), j = (await Nt(m, i,
|
|
1311
|
+
L([o], !0), j = (await Nt(m, i, P, r.shouldUseNativeValidation))[o], L([o]), b(de), h && (j ? Q = !1 : v.isValid && (Q = await W(n, !0)));
|
|
1312
1312
|
h && (m._f.deps && J(m._f.deps), H(o, Q, j, Qe));
|
|
1313
1313
|
}
|
|
1314
1314
|
}, re = (s, l) => {
|
|
@@ -1324,7 +1324,7 @@ function Zs(e = {}) {
|
|
|
1324
1324
|
s ? (h = (await Promise.all(m.map(async (u) => {
|
|
1325
1325
|
const b = p(n, u);
|
|
1326
1326
|
return await W(b && b._f ? { [u]: b } : b);
|
|
1327
|
-
}))).every(Boolean), !(!h && !t.isValid) &&
|
|
1327
|
+
}))).every(Boolean), !(!h && !t.isValid) && T()) : h = o = await W(n);
|
|
1328
1328
|
return y.state.next({
|
|
1329
1329
|
...!me(s) || v.isValid && o !== t.isValid ? {} : { name: s },
|
|
1330
1330
|
...r.resolver || !s ? { isValid: o } : {},
|
|
@@ -1366,7 +1366,7 @@ function Zs(e = {}) {
|
|
|
1366
1366
|
}), y.state.next({
|
|
1367
1367
|
...t,
|
|
1368
1368
|
...l.keepDirty ? { isDirty: g() } : {}
|
|
1369
|
-
}), !l.keepIsValid &&
|
|
1369
|
+
}), !l.keepIsValid && T();
|
|
1370
1370
|
}, Me = ({ disabled: s, name: l, field: o, fields: h, value: m }) => {
|
|
1371
1371
|
if (pe(s) && d.mount || s) {
|
|
1372
1372
|
const u = s ? void 0 : Y(m) ? rt(o ? o._f : p(h, l)._f) : m;
|
|
@@ -1462,7 +1462,7 @@ function Zs(e = {}) {
|
|
|
1462
1462
|
}), h)
|
|
1463
1463
|
throw h;
|
|
1464
1464
|
}, Gt = (s, l = {}) => {
|
|
1465
|
-
p(n, s) && (Y(l.defaultValue) ? R(s, le(p(a, s))) : (R(s, l.defaultValue), G(a, s, le(l.defaultValue))), l.keepTouched || $(t.touchedFields, s), l.keepDirty || ($(t.dirtyFields, s), t.isDirty = l.defaultValue ? g(s, le(p(a, s))) : g()), l.keepError || ($(t.errors, s), v.isValid &&
|
|
1465
|
+
p(n, s) && (Y(l.defaultValue) ? R(s, le(p(a, s))) : (R(s, l.defaultValue), G(a, s, le(l.defaultValue))), l.keepTouched || $(t.touchedFields, s), l.keepDirty || ($(t.dirtyFields, s), t.isDirty = l.defaultValue ? g(s, le(p(a, s))) : g()), l.keepError || ($(t.errors, s), v.isValid && T()), y.state.next({ ...t }));
|
|
1466
1466
|
}, mt = (s, l = {}) => {
|
|
1467
1467
|
const o = s ? le(s) : a, h = le(o), m = oe(s), u = m ? a : h;
|
|
1468
1468
|
if (l.keepDefaultValues || (a = o), !l.keepValues) {
|
|
@@ -1520,7 +1520,7 @@ function Zs(e = {}) {
|
|
|
1520
1520
|
_executeSchema: q,
|
|
1521
1521
|
_getWatch: N,
|
|
1522
1522
|
_getDirty: g,
|
|
1523
|
-
_updateValid:
|
|
1523
|
+
_updateValid: T,
|
|
1524
1524
|
_removeUnmounted: E,
|
|
1525
1525
|
_updateFieldArray: F,
|
|
1526
1526
|
_updateDisabledField: Me,
|
|
@@ -1660,9 +1660,9 @@ const qs = Ee.bind(se), Gs = "Я принимаю условия Политик
|
|
|
1660
1660
|
textAreaPlaceholder: y,
|
|
1661
1661
|
subTitle: I,
|
|
1662
1662
|
submitHandler: X,
|
|
1663
|
-
modalWidth:
|
|
1663
|
+
modalWidth: P = "442px",
|
|
1664
1664
|
rowsTextArea: M = 2,
|
|
1665
|
-
advCheckBox:
|
|
1665
|
+
advCheckBox: T = { text: Gs, isRequired: !0 },
|
|
1666
1666
|
isAdvCheckBox: L,
|
|
1667
1667
|
addTitleClassName: F,
|
|
1668
1668
|
createPortalObj: O,
|
|
@@ -1708,7 +1708,7 @@ const qs = Ee.bind(se), Gs = "Я принимаю условия Политик
|
|
|
1708
1708
|
"div",
|
|
1709
1709
|
{
|
|
1710
1710
|
className: se.root,
|
|
1711
|
-
style: { width: re ? "100%" :
|
|
1711
|
+
style: { width: re ? "100%" : P },
|
|
1712
1712
|
"data-testid": "modal_window",
|
|
1713
1713
|
children: [
|
|
1714
1714
|
/* @__PURE__ */ c(
|
|
@@ -1827,14 +1827,14 @@ const qs = Ee.bind(se), Gs = "Я принимаю условия Политик
|
|
|
1827
1827
|
...W("textarea")
|
|
1828
1828
|
}
|
|
1829
1829
|
),
|
|
1830
|
-
|
|
1830
|
+
T && !t && L && /* @__PURE__ */ c(
|
|
1831
1831
|
gt,
|
|
1832
1832
|
{
|
|
1833
1833
|
"data-testid": "modal_advCheckBox",
|
|
1834
1834
|
isChecked: xe,
|
|
1835
1835
|
error: !!S.advCheckBox,
|
|
1836
|
-
text:
|
|
1837
|
-
...W("advCheckBox", { required:
|
|
1836
|
+
text: T.text,
|
|
1837
|
+
...W("advCheckBox", { required: T == null ? void 0 : T.isRequired })
|
|
1838
1838
|
}
|
|
1839
1839
|
),
|
|
1840
1840
|
/* @__PURE__ */ k(
|
|
@@ -1888,7 +1888,7 @@ const qs = Ee.bind(se), Gs = "Я принимаю условия Политик
|
|
|
1888
1888
|
onClick: () => {
|
|
1889
1889
|
V && V();
|
|
1890
1890
|
},
|
|
1891
|
-
disabled: !!S.name || !!S.phone && C || !!S.email && A || !!S.advCheckBox && (
|
|
1891
|
+
disabled: !!S.name || !!S.phone && C || !!S.email && A || !!S.advCheckBox && (T == null ? void 0 : T.isRequired) || !!S.personalCheckBox && !t,
|
|
1892
1892
|
children: "Отправить запрос"
|
|
1893
1893
|
}
|
|
1894
1894
|
)
|
|
@@ -1985,19 +1985,19 @@ const ui = /* @__PURE__ */ Kt(di), fi = ({
|
|
|
1985
1985
|
onSaveClick: f,
|
|
1986
1986
|
onClearClick: C
|
|
1987
1987
|
}) => {
|
|
1988
|
-
const { isMobile: A } = De(), [v, y] = Fe(!1), I =
|
|
1988
|
+
const { isMobile: A } = De(), [v, y] = Fe(!1), I = Tt(null), [X, P] = Fe(e), [M] = Fe(r), [T, L] = Fe(X), [F, O] = Fe(M), Z = (D) => {
|
|
1989
1989
|
if (t && t(D), n.some((E) => E.value === D.value))
|
|
1990
1990
|
return;
|
|
1991
1991
|
const W = F.some((E) => E.value === D.value) ? F.filter((E) => E.value !== D.value) : [...F, D];
|
|
1992
1992
|
O(W);
|
|
1993
1993
|
}, x = () => {
|
|
1994
|
-
|
|
1994
|
+
P(a), L(a), O([]), C(), i && (i([]), d == null || d(a));
|
|
1995
1995
|
}, V = () => {
|
|
1996
1996
|
O(r), L(e);
|
|
1997
1997
|
}, H = () => {
|
|
1998
1998
|
V(), y(!1);
|
|
1999
1999
|
}, q = (D) => {
|
|
2000
|
-
D.stopPropagation(), f(), i && (d == null || d(
|
|
2000
|
+
D.stopPropagation(), f(), i && (d == null || d(T), i(F)), y(!1);
|
|
2001
2001
|
};
|
|
2002
2002
|
return Ve(() => {
|
|
2003
2003
|
v || L((D) => JSON.stringify(D) !== JSON.stringify(e) ? e : D);
|
|
@@ -2017,7 +2017,7 @@ const ui = /* @__PURE__ */ Kt(di), fi = ({
|
|
|
2017
2017
|
handleCloseModal: H,
|
|
2018
2018
|
handleOptionClick: Z,
|
|
2019
2019
|
handleSaveClick: q,
|
|
2020
|
-
localSelectedTabs:
|
|
2020
|
+
localSelectedTabs: T,
|
|
2021
2021
|
selectedOptions: F,
|
|
2022
2022
|
setSelectedOptions: O,
|
|
2023
2023
|
isModalOpen: v,
|
|
@@ -2042,9 +2042,9 @@ const ui = /* @__PURE__ */ Kt(di), fi = ({
|
|
|
2042
2042
|
btnName: X = "Фильтр"
|
|
2043
2043
|
}) => {
|
|
2044
2044
|
const {
|
|
2045
|
-
handleCloseModal:
|
|
2045
|
+
handleCloseModal: P,
|
|
2046
2046
|
localSelectedTabs: M,
|
|
2047
|
-
selectedOptions:
|
|
2047
|
+
selectedOptions: T,
|
|
2048
2048
|
isMobile: L,
|
|
2049
2049
|
handleOptionClick: F,
|
|
2050
2050
|
handleClearClick: O,
|
|
@@ -2069,7 +2069,7 @@ const ui = /* @__PURE__ */ Kt(di), fi = ({
|
|
|
2069
2069
|
{
|
|
2070
2070
|
className: z.closeBtn,
|
|
2071
2071
|
onClick: () => {
|
|
2072
|
-
|
|
2072
|
+
P();
|
|
2073
2073
|
},
|
|
2074
2074
|
children: /* @__PURE__ */ c(
|
|
2075
2075
|
he,
|
|
@@ -2123,7 +2123,7 @@ const ui = /* @__PURE__ */ Kt(di), fi = ({
|
|
|
2123
2123
|
addClassName: z.filterOption,
|
|
2124
2124
|
disabledOptions: [],
|
|
2125
2125
|
clickableOptions: t == null ? void 0 : t.map((g) => g.value.toString()),
|
|
2126
|
-
selectedOptions:
|
|
2126
|
+
selectedOptions: T,
|
|
2127
2127
|
option: W,
|
|
2128
2128
|
handleOptionClick: F
|
|
2129
2129
|
},
|
|
@@ -2183,7 +2183,7 @@ const ui = /* @__PURE__ */ Kt(di), fi = ({
|
|
|
2183
2183
|
{
|
|
2184
2184
|
className: z.closeBtn,
|
|
2185
2185
|
onClick: () => {
|
|
2186
|
-
|
|
2186
|
+
P();
|
|
2187
2187
|
},
|
|
2188
2188
|
children: /* @__PURE__ */ c(
|
|
2189
2189
|
he,
|
|
@@ -2237,7 +2237,7 @@ const ui = /* @__PURE__ */ Kt(di), fi = ({
|
|
|
2237
2237
|
addClassName: z.filterOption,
|
|
2238
2238
|
disabledOptions: [],
|
|
2239
2239
|
clickableOptions: t == null ? void 0 : t.map((g) => g.value.toString()),
|
|
2240
|
-
selectedOptions:
|
|
2240
|
+
selectedOptions: T,
|
|
2241
2241
|
option: W,
|
|
2242
2242
|
handleOptionClick: F
|
|
2243
2243
|
},
|
|
@@ -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-
|
|
15
|
+
import "./FilterWithSave-DAGYzbr2.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-
|
|
14
|
+
import { b as w } from "../../../FilterWithSave-DAGYzbr2.js";
|
|
15
15
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
16
16
|
import "../../../index-rKuIKazb.js";
|
|
17
17
|
import "../../MetroTag/ui/MetroTag.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../NewIcon/ui/NewIcon.js";
|
|
3
|
-
import { F as a } from "../../../FilterWithSave-
|
|
3
|
+
import { F as a } from "../../../FilterWithSave-DAGYzbr2.js";
|
|
4
4
|
import "../../Modal/ui/Modal.js";
|
|
5
5
|
import "../../../Option-C89kmzR_.js";
|
|
6
6
|
import "../../Button/ui/Button.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as B } from "../../../FilterWithSave-
|
|
3
|
+
import { u as B } from "../../../FilterWithSave-DAGYzbr2.js";
|
|
4
4
|
import "../../Button/ui/Button.js";
|
|
5
5
|
import "../../mobileButton/ui/MobileButton.js";
|
|
6
6
|
import "../../NewIcon/ui/NewIcon.js";
|
|
@@ -13,7 +13,7 @@ import "../../Text/ui/Text.js";
|
|
|
13
13
|
import "../../Flex/ui/Flex.js";
|
|
14
14
|
import "../../Input/ui/Input.js";
|
|
15
15
|
import "../../Modal/ui/Modal.js";
|
|
16
|
-
import { a as A } from "../../../FilterWithSave-
|
|
16
|
+
import { a as A } from "../../../FilterWithSave-DAGYzbr2.js";
|
|
17
17
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
18
18
|
import "../../MetroTag/ui/MetroTag.js";
|
|
19
19
|
import "../../Select/ui/Select.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { S as y } from "../../../FilterWithSave-
|
|
3
|
+
import { S as y } from "../../../FilterWithSave-DAGYzbr2.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-
|
|
2
|
+
import { M as f } from "../../../Menu-ClKc7rrn.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-
|
|
15
|
+
import "../../../FilterWithSave-DAGYzbr2.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-
|
|
2
|
+
import { M as z } from "../../Menu-ClKc7rrn.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-
|
|
15
|
+
import "../../FilterWithSave-DAGYzbr2.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-
|
|
13
|
+
import { F as w, L as I, M as L, a as N, S as v } from "./FilterWithSave-DAGYzbr2.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-
|
|
14
|
+
import "../../FilterWithSave-DAGYzbr2.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-
|
|
3
|
+
import { M as n } from "../../FilterWithSave-DAGYzbr2.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-
|
|
14
|
+
import "../../FilterWithSave-DAGYzbr2.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-
|
|
14
|
+
import "../../FilterWithSave-DAGYzbr2.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-
|
|
14
|
+
import "../../FilterWithSave-DAGYzbr2.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-
|
|
4
|
+
import { L as r } from "../../FilterWithSave-DAGYzbr2.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-
|
|
14
|
+
import "../../FilterWithSave-DAGYzbr2.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-
|
|
4
|
+
import { F as u, a as b } from "../../FilterWithSave-DAGYzbr2.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-
|
|
3
|
+
import { S as i } from "../../FilterWithSave-DAGYzbr2.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-
|
|
14
|
+
import "../../FilterWithSave-DAGYzbr2.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";
|