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