stone-kit 0.0.551 → 0.0.552
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FilterWithSave-Dnz0rRe1.js → FilterWithSave-bbPUCnqz.js} +141 -142
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +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/components/ZoomControls/ui/ZoomControls.js +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as g, jsx as e, Fragment as z } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as tt, useState as B, useRef as H, useEffect as A } from "react";
|
|
3
3
|
import { NewIcon as R } from "./components/NewIcon/ui/NewIcon.js";
|
|
4
4
|
import { M as V } from "./Modal-BZv6nlLe.js";
|
|
5
5
|
import { Text as G } from "./components/Text/ui/Text.js";
|
|
6
|
-
import { c as J, g as
|
|
6
|
+
import { c as J, g as et } from "./index-rKuIKazb.js";
|
|
7
7
|
import { Button as F } from "./components/Button/ui/Button.js";
|
|
8
8
|
import "./components/mobileButton/ui/MobileButton.js";
|
|
9
9
|
import "./components/DestinationTab/ui/DestinationTab.js";
|
|
@@ -17,49 +17,49 @@ import "./components/MetroTag/ui/MetroTag.js";
|
|
|
17
17
|
import "./components/LotCard/ui/LotCard.js";
|
|
18
18
|
import "./components/Select/ui/Select.js";
|
|
19
19
|
import { useClientWidth as D } from "./shared/useClientWidth.js";
|
|
20
|
-
import { s as c, u as
|
|
20
|
+
import { s as c, u as it } from "./useSortSelect-CjZXLFOG.js";
|
|
21
21
|
import "./components/SliderNavigation/ui/SliderNavigation.js";
|
|
22
22
|
import "./components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
23
23
|
import "./components/TabSelect/ui/TabSelect.js";
|
|
24
24
|
import "./components/FormModal/ui/ModalForm.js";
|
|
25
25
|
import { O as rt } from "./Option-CyYM1iBJ.js";
|
|
26
|
-
const
|
|
27
|
-
root:
|
|
28
|
-
text:
|
|
29
|
-
textMini:
|
|
30
|
-
rootCol:
|
|
31
|
-
item:
|
|
32
|
-
whiteRow:
|
|
33
|
-
firstItem:
|
|
34
|
-
lastItem:
|
|
35
|
-
apart:
|
|
36
|
-
isLong:
|
|
37
|
-
autoWidth:
|
|
38
|
-
mini:
|
|
39
|
-
isDisabled:
|
|
40
|
-
grayRow:
|
|
41
|
-
}, j = J.bind(
|
|
26
|
+
const ot = "_root_2bilg_1", st = "_text_2bilg_18", nt = "_textMini_2bilg_26", at = "_rootCol_2bilg_32", lt = "_item_2bilg_38", ct = "_whiteRow_2bilg_57", dt = "_firstItem_2bilg_68", pt = "_lastItem_2bilg_72", mt = "_apart_2bilg_103", _t = "_isLong_2bilg_103", ht = "_autoWidth_2bilg_128", ut = "_mini_2bilg_132", ft = "_isDisabled_2bilg_140", yt = "_grayRow_2bilg_164", m = {
|
|
27
|
+
root: ot,
|
|
28
|
+
text: st,
|
|
29
|
+
textMini: nt,
|
|
30
|
+
rootCol: at,
|
|
31
|
+
item: lt,
|
|
32
|
+
whiteRow: ct,
|
|
33
|
+
firstItem: dt,
|
|
34
|
+
lastItem: pt,
|
|
35
|
+
apart: mt,
|
|
36
|
+
isLong: _t,
|
|
37
|
+
autoWidth: ht,
|
|
38
|
+
mini: ut,
|
|
39
|
+
isDisabled: ft,
|
|
40
|
+
grayRow: yt
|
|
41
|
+
}, j = J.bind(m), vt = ({
|
|
42
42
|
children: n,
|
|
43
43
|
variant: s = "whiteRow",
|
|
44
44
|
isApart: a = !1,
|
|
45
|
-
addClassName:
|
|
46
|
-
col:
|
|
47
|
-
}) => /* @__PURE__ */ e("div", { className: j(
|
|
48
|
-
const { isTablet: a, isDesktop:
|
|
49
|
-
index:
|
|
45
|
+
addClassName: h = "",
|
|
46
|
+
col: u = !1
|
|
47
|
+
}) => /* @__PURE__ */ e("div", { className: j(m.root, m[s], h, { [m.rootCol]: u, [m.apart]: a }), children: n }), K = tt((n, s) => {
|
|
48
|
+
const { isTablet: a, isDesktop: h } = D(), {
|
|
49
|
+
index: u,
|
|
50
50
|
children: t,
|
|
51
|
-
addItemClassName:
|
|
51
|
+
addItemClassName: i,
|
|
52
52
|
addTextClass: d,
|
|
53
53
|
disabled: w = !1,
|
|
54
54
|
itemsLength: k = 0,
|
|
55
55
|
isLongOn: O = !0,
|
|
56
|
-
width:
|
|
56
|
+
width: f,
|
|
57
57
|
width_m: l,
|
|
58
|
-
width_l:
|
|
58
|
+
width_l: p,
|
|
59
59
|
mini: S = !1,
|
|
60
60
|
...C
|
|
61
|
-
} = n, x = (t != null && t.toString().length ? (t == null ? void 0 : t.toString().length) > 2 : !1) && O, N = (
|
|
62
|
-
return /* @__PURE__ */
|
|
61
|
+
} = n, x = (t != null && t.toString().length ? (t == null ? void 0 : t.toString().length) > 2 : !1) && O, N = (b, W) => b && l ? l : W && p ? p : f, v = !f && !l && !p && x;
|
|
62
|
+
return /* @__PURE__ */ g("label", { className: j({ [m.isLong]: x }), children: [
|
|
63
63
|
/* @__PURE__ */ e(
|
|
64
64
|
"input",
|
|
65
65
|
{
|
|
@@ -72,71 +72,71 @@ const st = "_root_2bilg_1", nt = "_text_2bilg_18", at = "_textMini_2bilg_26", lt
|
|
|
72
72
|
/* @__PURE__ */ e(
|
|
73
73
|
"div",
|
|
74
74
|
{
|
|
75
|
-
style: { width: N(a,
|
|
75
|
+
style: { width: N(a, h) },
|
|
76
76
|
className: j(
|
|
77
77
|
j(
|
|
78
|
-
|
|
79
|
-
{ [
|
|
80
|
-
{ [
|
|
81
|
-
{ [
|
|
82
|
-
{ [
|
|
83
|
-
{ [
|
|
78
|
+
m.item,
|
|
79
|
+
{ [m.firstItem]: u === 0 },
|
|
80
|
+
{ [m.lastItem]: u === k - 1 },
|
|
81
|
+
{ [m.isDisabled]: w },
|
|
82
|
+
{ [m.autoWidth]: v },
|
|
83
|
+
{ [m.mini]: S }
|
|
84
84
|
),
|
|
85
|
-
|
|
85
|
+
i
|
|
86
86
|
),
|
|
87
|
-
children: /* @__PURE__ */ e(G, { className: j(
|
|
87
|
+
children: /* @__PURE__ */ e(G, { className: j(m.text, { [m.textMini]: S }, d), children: t })
|
|
88
88
|
}
|
|
89
89
|
)
|
|
90
90
|
] });
|
|
91
91
|
});
|
|
92
92
|
K.displayName = "TabSwitcherItem";
|
|
93
|
-
const q = Object.assign(
|
|
93
|
+
const q = Object.assign(vt, { Item: K }), M = J.bind(c), bt = ({
|
|
94
94
|
options: n,
|
|
95
95
|
selectedOption: s,
|
|
96
96
|
placeholder: a = "",
|
|
97
|
-
error:
|
|
98
|
-
disabled:
|
|
97
|
+
error: h,
|
|
98
|
+
disabled: u,
|
|
99
99
|
additionalClass: t = "",
|
|
100
|
-
onChange:
|
|
100
|
+
onChange: i,
|
|
101
101
|
onBlur: d,
|
|
102
102
|
mini: w,
|
|
103
103
|
openOnTop: k = !1,
|
|
104
104
|
onClickItem: O,
|
|
105
|
-
onCLickSelect:
|
|
105
|
+
onCLickSelect: f
|
|
106
106
|
}) => {
|
|
107
|
-
const [l,
|
|
107
|
+
const [l, p] = B(!1), S = H(null), { isMobile: C } = D(), { handleBlur: x, getInputValue: N, getOption: v, handleDocumentClick: b } = it(
|
|
108
108
|
{
|
|
109
109
|
selectedOption: s,
|
|
110
110
|
onClickOption: O,
|
|
111
|
-
setSelectedOption:
|
|
112
|
-
setIsOpen:
|
|
111
|
+
setSelectedOption: i,
|
|
112
|
+
setIsOpen: p,
|
|
113
113
|
containerRef: S,
|
|
114
114
|
isOpen: l,
|
|
115
115
|
isMobile: C,
|
|
116
116
|
placeholder: a,
|
|
117
|
-
onChange:
|
|
117
|
+
onChange: i,
|
|
118
118
|
onBlur: d
|
|
119
119
|
}
|
|
120
120
|
);
|
|
121
|
-
return A(() => (document.addEventListener("click",
|
|
122
|
-
document.removeEventListener("click",
|
|
123
|
-
}), []), /* @__PURE__ */
|
|
121
|
+
return A(() => (document.addEventListener("click", b), () => {
|
|
122
|
+
document.removeEventListener("click", b);
|
|
123
|
+
}), []), /* @__PURE__ */ g(
|
|
124
124
|
"div",
|
|
125
125
|
{
|
|
126
126
|
ref: S,
|
|
127
127
|
className: M(
|
|
128
128
|
c.sortSelectWrapper,
|
|
129
|
-
{ [c.sortSelectWrapperError]:
|
|
129
|
+
{ [c.sortSelectWrapperError]: h },
|
|
130
130
|
{ [c.sortSelectWrapperTop]: k },
|
|
131
131
|
t
|
|
132
132
|
),
|
|
133
133
|
tabIndex: 0,
|
|
134
134
|
onBlur: x,
|
|
135
135
|
onClick: () => {
|
|
136
|
-
|
|
136
|
+
f && f();
|
|
137
137
|
},
|
|
138
138
|
children: [
|
|
139
|
-
/* @__PURE__ */
|
|
139
|
+
/* @__PURE__ */ g("div", { className: M(c.inputWrapper), children: [
|
|
140
140
|
/* @__PURE__ */ e(
|
|
141
141
|
"input",
|
|
142
142
|
{
|
|
@@ -145,10 +145,10 @@ const q = Object.assign(gt, { Item: K }), M = J.bind(c), bt = ({
|
|
|
145
145
|
value: N(),
|
|
146
146
|
className: M(
|
|
147
147
|
c.selectedOptions,
|
|
148
|
-
{ [c.selectOptionsDisabled]:
|
|
148
|
+
{ [c.selectOptionsDisabled]: u },
|
|
149
149
|
{ [c.selectionOptionMini]: w }
|
|
150
150
|
),
|
|
151
|
-
onClick: () =>
|
|
151
|
+
onClick: () => p(!l)
|
|
152
152
|
}
|
|
153
153
|
),
|
|
154
154
|
/* @__PURE__ */ e(
|
|
@@ -160,19 +160,19 @@ const q = Object.assign(gt, { Item: K }), M = J.bind(c), bt = ({
|
|
|
160
160
|
}
|
|
161
161
|
)
|
|
162
162
|
] }),
|
|
163
|
-
l && C && /* @__PURE__ */
|
|
163
|
+
l && C && /* @__PURE__ */ g(
|
|
164
164
|
V,
|
|
165
165
|
{
|
|
166
166
|
isOpen: l,
|
|
167
|
-
emitIsOpen:
|
|
167
|
+
emitIsOpen: p,
|
|
168
168
|
additionalClassModalBody: c.modalAddBody,
|
|
169
169
|
additionalClass: c.selectModal,
|
|
170
170
|
createPortalObj: { domNode: document.querySelector("body") },
|
|
171
171
|
isTransparentBack: !0,
|
|
172
172
|
children: [
|
|
173
|
-
/* @__PURE__ */
|
|
173
|
+
/* @__PURE__ */ g("div", { className: c.mobileSortHeader, children: [
|
|
174
174
|
/* @__PURE__ */ e(G, { children: "Сортировка" }),
|
|
175
|
-
/* @__PURE__ */ e("div", { onClick: () =>
|
|
175
|
+
/* @__PURE__ */ e("div", { onClick: () => p(!1), children: /* @__PURE__ */ e(
|
|
176
176
|
R,
|
|
177
177
|
{
|
|
178
178
|
name: "close",
|
|
@@ -180,34 +180,34 @@ const q = Object.assign(gt, { Item: K }), M = J.bind(c), bt = ({
|
|
|
180
180
|
}
|
|
181
181
|
) })
|
|
182
182
|
] }),
|
|
183
|
-
/* @__PURE__ */ e("div", { className: c.mobileOptionList, children: n == null ? void 0 : n.map((W) =>
|
|
183
|
+
/* @__PURE__ */ e("div", { className: c.mobileOptionList, children: n == null ? void 0 : n.map((W) => v(W)) })
|
|
184
184
|
]
|
|
185
185
|
}
|
|
186
186
|
),
|
|
187
|
-
l && !C && /* @__PURE__ */ e("div", { className: M(c.optionsList, { [c.optionListOnTop]: k }), children: n == null ? void 0 : n.map((W) =>
|
|
187
|
+
l && !C && /* @__PURE__ */ e("div", { className: M(c.optionsList, { [c.optionListOnTop]: k }), children: n == null ? void 0 : n.map((W) => v(W)) })
|
|
188
188
|
]
|
|
189
189
|
}
|
|
190
190
|
);
|
|
191
191
|
};
|
|
192
192
|
bt.displayName = "SortSelect";
|
|
193
|
-
const
|
|
194
|
-
root:
|
|
195
|
-
filterWithSaveModal:
|
|
196
|
-
modalAddBody:
|
|
197
|
-
closeBtn:
|
|
198
|
-
btnName:
|
|
199
|
-
modalTitle:
|
|
200
|
-
tabSWitcherWrapper:
|
|
201
|
-
switcherTitle:
|
|
202
|
-
switcherScroll:
|
|
203
|
-
tabs:
|
|
204
|
-
selectWrapper:
|
|
205
|
-
filterOption:
|
|
206
|
-
btnWrapper:
|
|
207
|
-
resetBtn:
|
|
208
|
-
saveBtn:
|
|
209
|
-
desktopWrapper:
|
|
210
|
-
desktopWrapperOpen:
|
|
193
|
+
const gt = "_root_j0tyy_1", Wt = "_filterWithSaveModal_j0tyy_15", Nt = "_modalAddBody_j0tyy_20", wt = "_closeBtn_j0tyy_29", Ot = "_btnName_j0tyy_35", St = "_modalTitle_j0tyy_39", Ct = "_tabSWitcherWrapper_j0tyy_48", kt = "_switcherTitle_j0tyy_56", xt = "_switcherScroll_j0tyy_63", Bt = "_tabs_j0tyy_67", jt = "_selectWrapper_j0tyy_72", It = "_filterOption_j0tyy_76", Mt = "_btnWrapper_j0tyy_83", Rt = "_resetBtn_j0tyy_89", Lt = "_saveBtn_j0tyy_90", At = "_desktopWrapper_j0tyy_94", Dt = "_desktopWrapperOpen_j0tyy_116", r = {
|
|
194
|
+
root: gt,
|
|
195
|
+
filterWithSaveModal: Wt,
|
|
196
|
+
modalAddBody: Nt,
|
|
197
|
+
closeBtn: wt,
|
|
198
|
+
btnName: Ot,
|
|
199
|
+
modalTitle: St,
|
|
200
|
+
tabSWitcherWrapper: Ct,
|
|
201
|
+
switcherTitle: kt,
|
|
202
|
+
switcherScroll: xt,
|
|
203
|
+
tabs: Bt,
|
|
204
|
+
selectWrapper: jt,
|
|
205
|
+
filterOption: It,
|
|
206
|
+
btnWrapper: Mt,
|
|
207
|
+
resetBtn: Rt,
|
|
208
|
+
saveBtn: Lt,
|
|
209
|
+
desktopWrapper: At,
|
|
210
|
+
desktopWrapperOpen: Dt
|
|
211
211
|
};
|
|
212
212
|
var Q = { exports: {} };
|
|
213
213
|
/*!
|
|
@@ -219,13 +219,13 @@ var Q = { exports: {} };
|
|
|
219
219
|
(function() {
|
|
220
220
|
var s = {}.hasOwnProperty;
|
|
221
221
|
function a() {
|
|
222
|
-
for (var t = "",
|
|
223
|
-
var d = arguments[
|
|
224
|
-
d && (t =
|
|
222
|
+
for (var t = "", i = 0; i < arguments.length; i++) {
|
|
223
|
+
var d = arguments[i];
|
|
224
|
+
d && (t = u(t, h.call(this, d)));
|
|
225
225
|
}
|
|
226
226
|
return t;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function h(t) {
|
|
229
229
|
if (typeof t == "string" || typeof t == "number")
|
|
230
230
|
return this && this[t] || t;
|
|
231
231
|
if (typeof t != "object")
|
|
@@ -234,59 +234,58 @@ var Q = { exports: {} };
|
|
|
234
234
|
return a.apply(this, t);
|
|
235
235
|
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
|
236
236
|
return t.toString();
|
|
237
|
-
var
|
|
237
|
+
var i = "";
|
|
238
238
|
for (var d in t)
|
|
239
|
-
s.call(t, d) && t[d] && (
|
|
240
|
-
return
|
|
239
|
+
s.call(t, d) && t[d] && (i = u(i, this && this[d] || d));
|
|
240
|
+
return i;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
return
|
|
242
|
+
function u(t, i) {
|
|
243
|
+
return i ? t ? t + " " + i : t + i : t;
|
|
244
244
|
}
|
|
245
245
|
n.exports ? (a.default = a, n.exports = a) : window.classNames = a;
|
|
246
246
|
})();
|
|
247
247
|
})(Q);
|
|
248
|
-
var
|
|
249
|
-
const Tt = /* @__PURE__ */
|
|
248
|
+
var Et = Q.exports;
|
|
249
|
+
const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
|
|
250
250
|
disabledOptions: n = [],
|
|
251
251
|
tabs: s = [],
|
|
252
252
|
selectOptions: a = [],
|
|
253
|
-
onChange:
|
|
254
|
-
selectedValues:
|
|
253
|
+
onChange: h,
|
|
254
|
+
selectedValues: u = [],
|
|
255
255
|
setSelectedTabs: t,
|
|
256
|
-
selectedTabs:
|
|
256
|
+
selectedTabs: i = [],
|
|
257
257
|
onClickItem: d,
|
|
258
258
|
onCLickSelect: w,
|
|
259
259
|
btnName: k = "Фильтр"
|
|
260
260
|
}) => {
|
|
261
|
-
const { isMobile: O } = D(), [
|
|
262
|
-
if (d && d(
|
|
261
|
+
const { isMobile: O } = D(), [f, l] = B(!1), p = H(null), [S, C] = B(i), [x] = B(u), [N, v] = B(S), [b, W] = B(x), U = (o) => {
|
|
262
|
+
if (d && d(o), n.some((_) => _.value === o.value))
|
|
263
263
|
return;
|
|
264
|
-
const
|
|
265
|
-
W(
|
|
264
|
+
const y = b.some((_) => _.value === o.value) ? b.filter((_) => _.value !== o.value) : [...b, o];
|
|
265
|
+
W(y);
|
|
266
266
|
}, X = () => {
|
|
267
|
-
C(s), W([]),
|
|
267
|
+
C(s), W([]), h && (h([]), t == null || t(s));
|
|
268
268
|
}, Y = () => {
|
|
269
|
-
W(
|
|
269
|
+
W(u), v(i);
|
|
270
270
|
}, E = () => {
|
|
271
271
|
Y(), l(!1);
|
|
272
272
|
}, Z = () => {
|
|
273
|
-
|
|
273
|
+
h && (t == null || t(N), h(b)), l(!1);
|
|
274
274
|
};
|
|
275
275
|
A(() => {
|
|
276
|
-
|
|
277
|
-
}, [
|
|
278
|
-
const
|
|
279
|
-
|
|
276
|
+
f && v(i);
|
|
277
|
+
}, [f]);
|
|
278
|
+
const T = (o) => {
|
|
279
|
+
var _;
|
|
280
|
+
if (!f || O)
|
|
280
281
|
return;
|
|
281
|
-
const
|
|
282
|
-
|
|
283
|
-
}, tt = (i) => {
|
|
284
|
-
i.stopPropagation(), U(i);
|
|
282
|
+
const y = o.target;
|
|
283
|
+
console.log("Клик по:", y), console.log("Внутри контейнера?", (_ = p.current) == null ? void 0 : _.contains(y)), p.current && !p.current.contains(y) && o.target !== p.current && (console.log("Закрываем модалку"), E());
|
|
285
284
|
};
|
|
286
|
-
A(() => (
|
|
287
|
-
|
|
288
|
-
}), [
|
|
289
|
-
const
|
|
285
|
+
A(() => (document.addEventListener("click", T), () => {
|
|
286
|
+
document.removeEventListener("click", T);
|
|
287
|
+
}), [f]);
|
|
288
|
+
const $ = () => /* @__PURE__ */ g(z, { children: [
|
|
290
289
|
/* @__PURE__ */ e(
|
|
291
290
|
"div",
|
|
292
291
|
{
|
|
@@ -302,7 +301,7 @@ const Tt = /* @__PURE__ */ it(Pt), $t = Tt.bind(r), me = ({
|
|
|
302
301
|
}
|
|
303
302
|
),
|
|
304
303
|
/* @__PURE__ */ e("div", { className: r.modalTitle, children: "Фильтры" }),
|
|
305
|
-
/* @__PURE__ */
|
|
304
|
+
/* @__PURE__ */ g("div", { className: r.tabSWitcherWrapper, children: [
|
|
306
305
|
/* @__PURE__ */ e("div", { className: r.switcherTitle, children: "Готовность" }),
|
|
307
306
|
/* @__PURE__ */ e("div", { className: r.switcherScroll, children: /* @__PURE__ */ e(
|
|
308
307
|
q,
|
|
@@ -310,28 +309,28 @@ const Tt = /* @__PURE__ */ it(Pt), $t = Tt.bind(r), me = ({
|
|
|
310
309
|
variant: "grayRow",
|
|
311
310
|
addClassName: r.tabs,
|
|
312
311
|
isApart: !0,
|
|
313
|
-
children: s == null ? void 0 : s.map((
|
|
314
|
-
var
|
|
315
|
-
const
|
|
312
|
+
children: s == null ? void 0 : s.map((o, y) => {
|
|
313
|
+
var P;
|
|
314
|
+
const _ = o.value;
|
|
316
315
|
return /* @__PURE__ */ e(
|
|
317
316
|
q.Item,
|
|
318
317
|
{
|
|
319
318
|
itemsLength: s == null ? void 0 : s.length,
|
|
320
319
|
mini: !0,
|
|
321
|
-
value:
|
|
320
|
+
value: _,
|
|
322
321
|
onClick: () => {
|
|
323
322
|
},
|
|
324
|
-
checked: ((
|
|
323
|
+
checked: ((P = N == null ? void 0 : N.find((L) => L.value === _)) == null ? void 0 : P.state) ?? !1,
|
|
325
324
|
onChange: () => {
|
|
326
|
-
|
|
327
|
-
(L) => L.map((I) => I.value ===
|
|
325
|
+
v == null || v(
|
|
326
|
+
(L) => L.map((I) => I.value === _ ? { ...I, state: !I.state } : I)
|
|
328
327
|
);
|
|
329
328
|
},
|
|
330
|
-
index:
|
|
329
|
+
index: y,
|
|
331
330
|
addItemClassName: r.tabSwitcher,
|
|
332
|
-
children:
|
|
331
|
+
children: _
|
|
333
332
|
},
|
|
334
|
-
|
|
333
|
+
y
|
|
335
334
|
);
|
|
336
335
|
})
|
|
337
336
|
}
|
|
@@ -341,22 +340,22 @@ const Tt = /* @__PURE__ */ it(Pt), $t = Tt.bind(r), me = ({
|
|
|
341
340
|
"div",
|
|
342
341
|
{
|
|
343
342
|
className: r.selectWrapper,
|
|
344
|
-
onClick: (
|
|
345
|
-
children: a == null ? void 0 : a.map((
|
|
343
|
+
onClick: (o) => o.stopPropagation(),
|
|
344
|
+
children: a == null ? void 0 : a.map((o, y) => /* @__PURE__ */ e(
|
|
346
345
|
rt,
|
|
347
346
|
{
|
|
348
347
|
addClassName: r.filterOption,
|
|
349
348
|
disabledOptions: [],
|
|
350
349
|
clickableOptions: [],
|
|
351
|
-
selectedOptions:
|
|
352
|
-
option:
|
|
353
|
-
handleOptionClick:
|
|
350
|
+
selectedOptions: b,
|
|
351
|
+
option: o,
|
|
352
|
+
handleOptionClick: U
|
|
354
353
|
},
|
|
355
|
-
|
|
354
|
+
y
|
|
356
355
|
))
|
|
357
356
|
}
|
|
358
357
|
),
|
|
359
|
-
/* @__PURE__ */
|
|
358
|
+
/* @__PURE__ */ g("div", { className: r.btnWrapper, children: [
|
|
360
359
|
/* @__PURE__ */ e(
|
|
361
360
|
F,
|
|
362
361
|
{
|
|
@@ -378,13 +377,13 @@ const Tt = /* @__PURE__ */ it(Pt), $t = Tt.bind(r), me = ({
|
|
|
378
377
|
)
|
|
379
378
|
] })
|
|
380
379
|
] });
|
|
381
|
-
return /* @__PURE__ */
|
|
382
|
-
/* @__PURE__ */
|
|
380
|
+
return /* @__PURE__ */ g(z, { children: [
|
|
381
|
+
/* @__PURE__ */ g(
|
|
383
382
|
"div",
|
|
384
383
|
{
|
|
385
384
|
className: r.root,
|
|
386
|
-
onClick: (
|
|
387
|
-
|
|
385
|
+
onClick: (o) => {
|
|
386
|
+
o.stopPropagation(), w && w(), l(O ? (y) => !y : !0);
|
|
388
387
|
},
|
|
389
388
|
children: [
|
|
390
389
|
/* @__PURE__ */ e("div", { className: r.btnName, children: k }),
|
|
@@ -398,10 +397,10 @@ const Tt = /* @__PURE__ */ it(Pt), $t = Tt.bind(r), me = ({
|
|
|
398
397
|
/* @__PURE__ */ e(
|
|
399
398
|
"div",
|
|
400
399
|
{
|
|
401
|
-
ref:
|
|
402
|
-
className: $t(r.desktopWrapper, { [r.desktopWrapperOpen]:
|
|
403
|
-
onClick: (
|
|
404
|
-
children: /* @__PURE__ */ e(
|
|
400
|
+
ref: p,
|
|
401
|
+
className: $t(r.desktopWrapper, { [r.desktopWrapperOpen]: f }),
|
|
402
|
+
onClick: (o) => o.stopPropagation(),
|
|
403
|
+
children: /* @__PURE__ */ e($, {})
|
|
405
404
|
}
|
|
406
405
|
)
|
|
407
406
|
]
|
|
@@ -410,18 +409,18 @@ const Tt = /* @__PURE__ */ it(Pt), $t = Tt.bind(r), me = ({
|
|
|
410
409
|
O && /* @__PURE__ */ e(
|
|
411
410
|
V,
|
|
412
411
|
{
|
|
413
|
-
isOpen:
|
|
412
|
+
isOpen: f,
|
|
414
413
|
emitIsOpen: l,
|
|
415
414
|
isTransparentBack: !0,
|
|
416
415
|
additionalClassModalBody: r.modalAddBody,
|
|
417
416
|
additionalClass: r.filterWithSaveModal,
|
|
418
|
-
children: /* @__PURE__ */ e(
|
|
417
|
+
children: /* @__PURE__ */ e($, {})
|
|
419
418
|
}
|
|
420
419
|
)
|
|
421
420
|
] });
|
|
422
421
|
};
|
|
423
422
|
export {
|
|
424
|
-
|
|
423
|
+
pe as F,
|
|
425
424
|
q as S,
|
|
426
425
|
bt as a
|
|
427
426
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../NewIcon/ui/NewIcon.js";
|
|
4
|
-
import { F as w } from "../../../FilterWithSave-
|
|
4
|
+
import { F as w } from "../../../FilterWithSave-bbPUCnqz.js";
|
|
5
5
|
import "../../../Modal-BZv6nlLe.js";
|
|
6
6
|
import "../../../Option-CyYM1iBJ.js";
|
|
7
7
|
import "../../Button/ui/Button.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-BZv6nlLe.js";
|
|
16
|
-
import { a as z } from "../../../FilterWithSave-
|
|
16
|
+
import { a as z } from "../../../FilterWithSave-bbPUCnqz.js";
|
|
17
17
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
18
18
|
import "../../MetroTag/ui/MetroTag.js";
|
|
19
19
|
import "../../LotCard/ui/LotCard.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { S as v } from "../../../FilterWithSave-
|
|
3
|
+
import { S as v } from "../../../FilterWithSave-bbPUCnqz.js";
|
|
4
4
|
import "../../Text/ui/Text.js";
|
|
5
5
|
import "../../../index-rKuIKazb.js";
|
|
6
6
|
import "../../Button/ui/Button.js";
|
|
@@ -11,7 +11,7 @@ import "../../Flex/ui/Flex.js";
|
|
|
11
11
|
import "../../Input/ui/Input.js";
|
|
12
12
|
import "react";
|
|
13
13
|
import "../../../Modal-BZv6nlLe.js";
|
|
14
|
-
import "../../../FilterWithSave-
|
|
14
|
+
import "../../../FilterWithSave-bbPUCnqz.js";
|
|
15
15
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
16
16
|
import "../../../index-rKuIKazb.js";
|
|
17
17
|
import "../../MetroTag/ui/MetroTag.js";
|
package/dist/main.js
CHANGED
|
@@ -10,7 +10,7 @@ import { Flex as T } from "./components/Flex/ui/Flex.js";
|
|
|
10
10
|
import { Input as F } from "./components/Input/ui/Input.js";
|
|
11
11
|
import { M as g } from "./Modal-BZv6nlLe.js";
|
|
12
12
|
import { FieldInput as I } from "./components/FieldInput/ui/FieldInput.js";
|
|
13
|
-
import { F as B, a as L, S as k } from "./FilterWithSave-
|
|
13
|
+
import { F as B, a as L, S as k } from "./FilterWithSave-bbPUCnqz.js";
|
|
14
14
|
import { GroupedInputs as N } from "./components/GroupedInput/ui/GroupedInputs.js";
|
|
15
15
|
import { Logo as j } from "./components/Logo/ui/Logo.js";
|
|
16
16
|
import { MetroTag as D } from "./components/MetroTag/ui/MetroTag.js";
|