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