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