stone-kit 0.0.538 → 0.0.539
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-BtG-6Bmp.js → FilterWithSave-B58Qdx_-.js} +143 -146
- 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,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as b, jsx as e, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as b, jsx as e, Fragment as z } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as tt, useState as B, useRef as q, useEffect as A } from "react";
|
|
3
3
|
import { NewIcon as R } from "./components/NewIcon/ui/NewIcon.js";
|
|
4
|
-
import { M as
|
|
5
|
-
import { Text as
|
|
6
|
-
import { c as
|
|
7
|
-
import { Button as
|
|
4
|
+
import { M as H } from "./Modal-BZv6nlLe.js";
|
|
5
|
+
import { Text as V } from "./components/Text/ui/Text.js";
|
|
6
|
+
import { c as G, g as et } from "./index-rKuIKazb.js";
|
|
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";
|
|
10
10
|
import "./components/RoundButton/ui/RoundButton.js";
|
|
@@ -17,48 +17,48 @@ 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
|
-
import { O as
|
|
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 =
|
|
25
|
+
import { O as rt } from "./Option-CyYM1iBJ.js";
|
|
26
|
+
const st = "_root_2bilg_1", nt = "_text_2bilg_18", ot = "_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: nt,
|
|
29
|
+
textMini: ot,
|
|
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 = G.bind(p), vt = ({
|
|
42
42
|
children: a,
|
|
43
43
|
variant: s = "whiteRow",
|
|
44
44
|
isApart: l = !1,
|
|
45
|
-
addClassName:
|
|
46
|
-
col:
|
|
47
|
-
}) => /* @__PURE__ */ e("div", { className: j(p.root, p[s],
|
|
48
|
-
const { isTablet: l, isDesktop:
|
|
49
|
-
index:
|
|
45
|
+
addClassName: h = "",
|
|
46
|
+
col: u = !1
|
|
47
|
+
}) => /* @__PURE__ */ e("div", { className: j(p.root, p[s], h, { [p.rootCol]: u, [p.apart]: l }), children: a }), J = tt((a, s) => {
|
|
48
|
+
const { isTablet: l, isDesktop: h } = D(), {
|
|
49
|
+
index: u,
|
|
50
50
|
children: t,
|
|
51
51
|
addItemClassName: i,
|
|
52
52
|
addTextClass: d,
|
|
53
|
-
disabled:
|
|
53
|
+
disabled: O = !1,
|
|
54
54
|
itemsLength: k = 0,
|
|
55
|
-
isLongOn:
|
|
56
|
-
width:
|
|
55
|
+
isLongOn: N = !0,
|
|
56
|
+
width: m,
|
|
57
57
|
width_m: n,
|
|
58
|
-
width_l:
|
|
58
|
+
width_l: _,
|
|
59
59
|
mini: S = !1,
|
|
60
60
|
...C
|
|
61
|
-
} = a, x = (t != null && t.toString().length ? (t == null ? void 0 : t.toString().length) > 2 : !1) &&
|
|
61
|
+
} = a, x = (t != null && t.toString().length ? (t == null ? void 0 : t.toString().length) > 2 : !1) && N, g = (y, W) => y && n ? n : W && _ ? _ : m, f = !m && !n && !_ && x;
|
|
62
62
|
return /* @__PURE__ */ b("label", { className: j({ [p.isLong]: x }), children: [
|
|
63
63
|
/* @__PURE__ */ e(
|
|
64
64
|
"input",
|
|
@@ -66,50 +66,50 @@ const rt = "_root_2bilg_1", st = "_text_2bilg_18", nt = "_textMini_2bilg_26", ot
|
|
|
66
66
|
ref: s,
|
|
67
67
|
type: "checkbox",
|
|
68
68
|
...C,
|
|
69
|
-
disabled:
|
|
69
|
+
disabled: O
|
|
70
70
|
}
|
|
71
71
|
),
|
|
72
72
|
/* @__PURE__ */ e(
|
|
73
73
|
"div",
|
|
74
74
|
{
|
|
75
|
-
style: { width:
|
|
75
|
+
style: { width: g(l, h) },
|
|
76
76
|
className: j(
|
|
77
77
|
j(
|
|
78
78
|
p.item,
|
|
79
|
-
{ [p.firstItem]:
|
|
80
|
-
{ [p.lastItem]:
|
|
81
|
-
{ [p.isDisabled]:
|
|
82
|
-
{ [p.autoWidth]:
|
|
79
|
+
{ [p.firstItem]: u === 0 },
|
|
80
|
+
{ [p.lastItem]: u === k - 1 },
|
|
81
|
+
{ [p.isDisabled]: O },
|
|
82
|
+
{ [p.autoWidth]: f },
|
|
83
83
|
{ [p.mini]: S }
|
|
84
84
|
),
|
|
85
85
|
i
|
|
86
86
|
),
|
|
87
|
-
children: /* @__PURE__ */ e(
|
|
87
|
+
children: /* @__PURE__ */ e(V, { className: j(p.text, { [p.textMini]: S }, d), children: t })
|
|
88
88
|
}
|
|
89
89
|
)
|
|
90
90
|
] });
|
|
91
91
|
});
|
|
92
|
-
|
|
93
|
-
const
|
|
92
|
+
J.displayName = "TabSwitcherItem";
|
|
93
|
+
const P = Object.assign(vt, { Item: J }), M = G.bind(c), bt = ({
|
|
94
94
|
options: a,
|
|
95
95
|
selectedOption: s,
|
|
96
96
|
placeholder: l = "",
|
|
97
|
-
error:
|
|
98
|
-
disabled:
|
|
97
|
+
error: h,
|
|
98
|
+
disabled: u,
|
|
99
99
|
additionalClass: t = "",
|
|
100
100
|
onChange: i,
|
|
101
101
|
onBlur: d,
|
|
102
|
-
mini:
|
|
102
|
+
mini: O,
|
|
103
103
|
openOnTop: k = !1,
|
|
104
|
-
onClickItem:
|
|
105
|
-
onCLickSelect:
|
|
104
|
+
onClickItem: N,
|
|
105
|
+
onCLickSelect: m
|
|
106
106
|
}) => {
|
|
107
|
-
const [n,
|
|
107
|
+
const [n, _] = B(!1), S = q(null), { isMobile: C } = D(), { handleBlur: x, getInputValue: g, getOption: f, handleDocumentClick: y } = it(
|
|
108
108
|
{
|
|
109
109
|
selectedOption: s,
|
|
110
|
-
onClickOption:
|
|
110
|
+
onClickOption: N,
|
|
111
111
|
setSelectedOption: i,
|
|
112
|
-
setIsOpen:
|
|
112
|
+
setIsOpen: _,
|
|
113
113
|
containerRef: S,
|
|
114
114
|
isOpen: n,
|
|
115
115
|
isMobile: C,
|
|
@@ -118,22 +118,22 @@ const F = Object.assign(yt, { Item: G }), M = V.bind(c), vt = ({
|
|
|
118
118
|
onBlur: d
|
|
119
119
|
}
|
|
120
120
|
);
|
|
121
|
-
return A(() => (document.addEventListener("click",
|
|
122
|
-
document.removeEventListener("click",
|
|
121
|
+
return A(() => (document.addEventListener("click", y), () => {
|
|
122
|
+
document.removeEventListener("click", y);
|
|
123
123
|
}), []), /* @__PURE__ */ b(
|
|
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
|
+
m && m();
|
|
137
137
|
},
|
|
138
138
|
children: [
|
|
139
139
|
/* @__PURE__ */ b("div", { className: M(c.inputWrapper), children: [
|
|
@@ -142,13 +142,13 @@ const F = Object.assign(yt, { Item: G }), M = V.bind(c), vt = ({
|
|
|
142
142
|
{
|
|
143
143
|
type: "text",
|
|
144
144
|
readOnly: !0,
|
|
145
|
-
value:
|
|
145
|
+
value: g(),
|
|
146
146
|
className: M(
|
|
147
147
|
c.selectedOptions,
|
|
148
|
-
{ [c.selectOptionsDisabled]:
|
|
149
|
-
{ [c.selectionOptionMini]:
|
|
148
|
+
{ [c.selectOptionsDisabled]: u },
|
|
149
|
+
{ [c.selectionOptionMini]: O }
|
|
150
150
|
),
|
|
151
|
-
onClick: () =>
|
|
151
|
+
onClick: () => _(!n)
|
|
152
152
|
}
|
|
153
153
|
),
|
|
154
154
|
/* @__PURE__ */ e(
|
|
@@ -161,18 +161,18 @@ const F = Object.assign(yt, { Item: G }), M = V.bind(c), vt = ({
|
|
|
161
161
|
)
|
|
162
162
|
] }),
|
|
163
163
|
n && C && /* @__PURE__ */ b(
|
|
164
|
-
|
|
164
|
+
H,
|
|
165
165
|
{
|
|
166
166
|
isOpen: n,
|
|
167
|
-
emitIsOpen:
|
|
167
|
+
emitIsOpen: _,
|
|
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
173
|
/* @__PURE__ */ b("div", { className: c.mobileSortHeader, children: [
|
|
174
|
-
/* @__PURE__ */ e(
|
|
175
|
-
/* @__PURE__ */ e("div", { onClick: () =>
|
|
174
|
+
/* @__PURE__ */ e(V, { children: "Сортировка" }),
|
|
175
|
+
/* @__PURE__ */ e("div", { onClick: () => _(!1), children: /* @__PURE__ */ e(
|
|
176
176
|
R,
|
|
177
177
|
{
|
|
178
178
|
name: "close",
|
|
@@ -180,36 +180,36 @@ const F = Object.assign(yt, { Item: G }), M = V.bind(c), vt = ({
|
|
|
180
180
|
}
|
|
181
181
|
) })
|
|
182
182
|
] }),
|
|
183
|
-
/* @__PURE__ */ e("div", { className: c.mobileOptionList, children: a == null ? void 0 : a.map((W) =>
|
|
183
|
+
/* @__PURE__ */ e("div", { className: c.mobileOptionList, children: a == null ? void 0 : a.map((W) => f(W)) })
|
|
184
184
|
]
|
|
185
185
|
}
|
|
186
186
|
),
|
|
187
|
-
n && !C && /* @__PURE__ */ e("div", { className: M(c.optionsList, { [c.optionListOnTop]: k }), children: a == null ? void 0 : a.map((W) =>
|
|
187
|
+
n && !C && /* @__PURE__ */ e("div", { className: M(c.optionsList, { [c.optionListOnTop]: k }), children: a == null ? void 0 : a.map((W) => f(W)) })
|
|
188
188
|
]
|
|
189
189
|
}
|
|
190
190
|
);
|
|
191
191
|
};
|
|
192
|
-
|
|
193
|
-
const
|
|
194
|
-
root:
|
|
195
|
-
filterWithSaveModal:
|
|
196
|
-
modalAddBody:
|
|
192
|
+
bt.displayName = "SortSelect";
|
|
193
|
+
const Wt = "_root_j0tyy_1", Nt = "_filterWithSaveModal_j0tyy_15", gt = "_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: Wt,
|
|
195
|
+
filterWithSaveModal: Nt,
|
|
196
|
+
modalAddBody: gt,
|
|
197
197
|
closeBtn: wt,
|
|
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:
|
|
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
|
-
var
|
|
212
|
+
var K = { exports: {} };
|
|
213
213
|
/*!
|
|
214
214
|
Copyright (c) 2018 Jed Watson.
|
|
215
215
|
Licensed under the MIT License (MIT), see
|
|
@@ -221,11 +221,11 @@ var J = { exports: {} };
|
|
|
221
221
|
function l() {
|
|
222
222
|
for (var t = "", i = 0; i < arguments.length; i++) {
|
|
223
223
|
var d = arguments[i];
|
|
224
|
-
d && (t =
|
|
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")
|
|
@@ -236,63 +236,60 @@ var J = { 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 = u(i, this && this[d] || d));
|
|
240
240
|
return i;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function u(t, i) {
|
|
243
243
|
return i ? t ? t + " " + i : t + i : t;
|
|
244
244
|
}
|
|
245
245
|
a.exports ? (l.default = l, a.exports = l) : window.classNames = l;
|
|
246
246
|
})();
|
|
247
|
-
})(
|
|
248
|
-
var
|
|
249
|
-
const
|
|
247
|
+
})(K);
|
|
248
|
+
var Et = K.exports;
|
|
249
|
+
const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
|
|
250
250
|
disabledOptions: a = [],
|
|
251
251
|
tabs: s = [],
|
|
252
252
|
selectOptions: l = [],
|
|
253
|
-
onChange:
|
|
254
|
-
selectedValues:
|
|
253
|
+
onChange: h,
|
|
254
|
+
selectedValues: u = [],
|
|
255
255
|
setSelectedTabs: t,
|
|
256
256
|
selectedTabs: i = [],
|
|
257
257
|
onClickItem: d,
|
|
258
|
-
onCLickSelect:
|
|
258
|
+
onCLickSelect: O,
|
|
259
259
|
btnName: k = "Фильтр"
|
|
260
260
|
}) => {
|
|
261
|
-
const { isMobile:
|
|
262
|
-
if (d && d(o), a.some((
|
|
261
|
+
const { isMobile: N } = D(), [m, n] = B(!1), _ = q(null), [S, C] = B(i), [x] = B(u), [g, f] = B(S), [y, W] = B(x), Q = (o) => {
|
|
262
|
+
if (d && d(o), a.some((v) => v.value === o.value))
|
|
263
263
|
return;
|
|
264
|
-
const w =
|
|
264
|
+
const w = y.some((v) => v.value === o.value) ? y.filter((v) => v.value !== o.value) : [...y, o];
|
|
265
265
|
W(w);
|
|
266
|
-
}, Q = () => {
|
|
267
|
-
C(s), W([]), m && (m([]), t == null || t(s));
|
|
268
266
|
}, U = () => {
|
|
269
|
-
W(
|
|
267
|
+
C(s), W([]), h && (h([]), t == null || t(s));
|
|
270
268
|
}, X = () => {
|
|
271
|
-
|
|
269
|
+
W(u), f(i);
|
|
272
270
|
}, Y = () => {
|
|
273
|
-
|
|
271
|
+
X(), n(!1);
|
|
272
|
+
}, Z = () => {
|
|
273
|
+
h && (t == null || t(g), h(y)), n(!1);
|
|
274
274
|
};
|
|
275
275
|
A(() => {
|
|
276
|
-
|
|
277
|
-
}, [
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
};
|
|
289
|
-
}, [h]);
|
|
290
|
-
const E = () => /* @__PURE__ */ b($, { children: [
|
|
276
|
+
m && f(i);
|
|
277
|
+
}, [m]);
|
|
278
|
+
const E = (o) => {
|
|
279
|
+
if (!m || N)
|
|
280
|
+
return;
|
|
281
|
+
const w = o.target;
|
|
282
|
+
_.current && !_.current.contains(w) && o.target !== _.current && n(!1);
|
|
283
|
+
};
|
|
284
|
+
A(() => (m && !N && document.addEventListener("click", E), () => {
|
|
285
|
+
document.removeEventListener("click", E);
|
|
286
|
+
}), [m]);
|
|
287
|
+
const T = () => /* @__PURE__ */ b(z, { children: [
|
|
291
288
|
/* @__PURE__ */ e(
|
|
292
289
|
"div",
|
|
293
290
|
{
|
|
294
291
|
className: r.closeBtn,
|
|
295
|
-
onClick:
|
|
292
|
+
onClick: Y,
|
|
296
293
|
children: /* @__PURE__ */ e(
|
|
297
294
|
R,
|
|
298
295
|
{
|
|
@@ -306,31 +303,31 @@ const Et = /* @__PURE__ */ tt(Dt), Tt = Et.bind(r), de = ({
|
|
|
306
303
|
/* @__PURE__ */ b("div", { className: r.tabSWitcherWrapper, children: [
|
|
307
304
|
/* @__PURE__ */ e("div", { className: r.switcherTitle, children: "Готовность" }),
|
|
308
305
|
/* @__PURE__ */ e("div", { className: r.switcherScroll, children: /* @__PURE__ */ e(
|
|
309
|
-
|
|
306
|
+
P,
|
|
310
307
|
{
|
|
311
308
|
variant: "grayRow",
|
|
312
309
|
addClassName: r.tabs,
|
|
313
310
|
isApart: !0,
|
|
314
311
|
children: s == null ? void 0 : s.map((o, w) => {
|
|
315
|
-
var
|
|
316
|
-
const
|
|
312
|
+
var $;
|
|
313
|
+
const v = o.value;
|
|
317
314
|
return /* @__PURE__ */ e(
|
|
318
|
-
|
|
315
|
+
P.Item,
|
|
319
316
|
{
|
|
320
317
|
itemsLength: s == null ? void 0 : s.length,
|
|
321
318
|
mini: !0,
|
|
322
|
-
value:
|
|
319
|
+
value: v,
|
|
323
320
|
onClick: () => {
|
|
324
321
|
},
|
|
325
|
-
checked: ((
|
|
322
|
+
checked: (($ = g == null ? void 0 : g.find((L) => L.value === v)) == null ? void 0 : $.state) ?? !1,
|
|
326
323
|
onChange: () => {
|
|
327
|
-
|
|
328
|
-
(L) => L.map((I) => I.value ===
|
|
324
|
+
f == null || f(
|
|
325
|
+
(L) => L.map((I) => I.value === v ? { ...I, state: !I.state } : I)
|
|
329
326
|
);
|
|
330
327
|
},
|
|
331
328
|
index: w,
|
|
332
329
|
addItemClassName: r.tabSwitcher,
|
|
333
|
-
children:
|
|
330
|
+
children: v
|
|
334
331
|
},
|
|
335
332
|
w
|
|
336
333
|
);
|
|
@@ -339,46 +336,46 @@ const Et = /* @__PURE__ */ tt(Dt), Tt = Et.bind(r), de = ({
|
|
|
339
336
|
) })
|
|
340
337
|
] }),
|
|
341
338
|
/* @__PURE__ */ e("div", { className: r.selectWrapper, children: l == null ? void 0 : l.map((o, w) => /* @__PURE__ */ e(
|
|
342
|
-
|
|
339
|
+
rt,
|
|
343
340
|
{
|
|
344
341
|
addClassName: r.filterOption,
|
|
345
342
|
disabledOptions: [],
|
|
346
343
|
clickableOptions: [],
|
|
347
|
-
selectedOptions:
|
|
344
|
+
selectedOptions: y,
|
|
348
345
|
option: o,
|
|
349
|
-
handleOptionClick:
|
|
346
|
+
handleOptionClick: Q
|
|
350
347
|
},
|
|
351
348
|
w
|
|
352
349
|
)) }),
|
|
353
350
|
/* @__PURE__ */ b("div", { className: r.btnWrapper, children: [
|
|
354
351
|
/* @__PURE__ */ e(
|
|
355
|
-
|
|
352
|
+
F,
|
|
356
353
|
{
|
|
357
354
|
as: "button",
|
|
358
355
|
variant: "gray",
|
|
359
356
|
additionalClass: r.resetBtn,
|
|
360
|
-
onClick:
|
|
357
|
+
onClick: U,
|
|
361
358
|
children: "Сбросить"
|
|
362
359
|
}
|
|
363
360
|
),
|
|
364
361
|
/* @__PURE__ */ e(
|
|
365
|
-
|
|
362
|
+
F,
|
|
366
363
|
{
|
|
367
364
|
as: "button",
|
|
368
365
|
additionalClass: r.saveBtn,
|
|
369
|
-
onClick:
|
|
366
|
+
onClick: Z,
|
|
370
367
|
children: "Сохранить"
|
|
371
368
|
}
|
|
372
369
|
)
|
|
373
370
|
] })
|
|
374
371
|
] });
|
|
375
|
-
return /* @__PURE__ */ b(
|
|
372
|
+
return /* @__PURE__ */ b(z, { children: [
|
|
376
373
|
/* @__PURE__ */ b(
|
|
377
374
|
"div",
|
|
378
375
|
{
|
|
379
376
|
className: r.root,
|
|
380
377
|
onClick: () => {
|
|
381
|
-
|
|
378
|
+
O && O(), n(N ? (o) => !o : !0);
|
|
382
379
|
},
|
|
383
380
|
children: [
|
|
384
381
|
/* @__PURE__ */ e("div", { className: r.btnName, children: k }),
|
|
@@ -392,30 +389,30 @@ const Et = /* @__PURE__ */ tt(Dt), Tt = Et.bind(r), de = ({
|
|
|
392
389
|
/* @__PURE__ */ e(
|
|
393
390
|
"div",
|
|
394
391
|
{
|
|
395
|
-
ref:
|
|
396
|
-
className:
|
|
392
|
+
ref: _,
|
|
393
|
+
className: $t(r.desktopWrapper, { [r.desktopWrapperOpen]: m }),
|
|
397
394
|
onClick: (o) => o.stopPropagation(),
|
|
398
|
-
children: /* @__PURE__ */ e(
|
|
395
|
+
children: /* @__PURE__ */ e(T, {})
|
|
399
396
|
}
|
|
400
397
|
)
|
|
401
398
|
]
|
|
402
399
|
}
|
|
403
400
|
),
|
|
404
|
-
|
|
405
|
-
|
|
401
|
+
N && /* @__PURE__ */ e(
|
|
402
|
+
H,
|
|
406
403
|
{
|
|
407
|
-
isOpen:
|
|
404
|
+
isOpen: m,
|
|
408
405
|
emitIsOpen: n,
|
|
409
406
|
isTransparentBack: !0,
|
|
410
407
|
additionalClassModalBody: r.modalAddBody,
|
|
411
408
|
additionalClass: r.filterWithSaveModal,
|
|
412
|
-
children: /* @__PURE__ */ e(
|
|
409
|
+
children: /* @__PURE__ */ e(T, {})
|
|
413
410
|
}
|
|
414
411
|
)
|
|
415
412
|
] });
|
|
416
413
|
};
|
|
417
414
|
export {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
415
|
+
pe as F,
|
|
416
|
+
P as S,
|
|
417
|
+
bt as a
|
|
421
418
|
};
|
|
@@ -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-B58Qdx_-.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-B58Qdx_-.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-B58Qdx_-.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-B58Qdx_-.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-B58Qdx_-.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";
|