stone-kit 0.0.553 → 0.0.555
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-B1ytjPZy.js → FilterWithSave-DqzwGP7I.js} +128 -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,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as tt, useState as B, useRef as
|
|
1
|
+
import { jsxs as b, jsx as e, Fragment as P } 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 z } 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";
|
|
@@ -22,10 +22,10 @@ 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 st = "_root_2bilg_1",
|
|
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
27
|
root: st,
|
|
28
|
-
text:
|
|
28
|
+
text: ot,
|
|
29
29
|
textMini: nt,
|
|
30
30
|
rootCol: at,
|
|
31
31
|
item: lt,
|
|
@@ -38,14 +38,14 @@ const st = "_root_2bilg_1", rt = "_text_2bilg_18", nt = "_textMini_2bilg_26", at
|
|
|
38
38
|
mini: ut,
|
|
39
39
|
isDisabled: ft,
|
|
40
40
|
grayRow: yt
|
|
41
|
-
}, j =
|
|
42
|
-
children:
|
|
43
|
-
variant:
|
|
44
|
-
isApart:
|
|
41
|
+
}, j = G.bind(p), vt = ({
|
|
42
|
+
children: a,
|
|
43
|
+
variant: o = "whiteRow",
|
|
44
|
+
isApart: l = !1,
|
|
45
45
|
addClassName: m = "",
|
|
46
46
|
col: _ = !1
|
|
47
|
-
}) => /* @__PURE__ */ e("div", { className: j(p.root, p[
|
|
48
|
-
const { isTablet:
|
|
47
|
+
}) => /* @__PURE__ */ e("div", { className: j(p.root, p[o], m, { [p.rootCol]: _, [p.apart]: l }), children: a }), J = tt((a, o) => {
|
|
48
|
+
const { isTablet: l, isDesktop: m } = D(), {
|
|
49
49
|
index: _,
|
|
50
50
|
children: t,
|
|
51
51
|
addItemClassName: i,
|
|
@@ -54,16 +54,16 @@ const st = "_root_2bilg_1", rt = "_text_2bilg_18", nt = "_textMini_2bilg_26", at
|
|
|
54
54
|
itemsLength: k = 0,
|
|
55
55
|
isLongOn: O = !0,
|
|
56
56
|
width: h,
|
|
57
|
-
width_m:
|
|
58
|
-
width_l:
|
|
57
|
+
width_m: n,
|
|
58
|
+
width_l: u,
|
|
59
59
|
mini: S = !1,
|
|
60
60
|
...C
|
|
61
|
-
} =
|
|
62
|
-
return /* @__PURE__ */
|
|
61
|
+
} = a, x = (t != null && t.toString().length ? (t == null ? void 0 : t.toString().length) > 2 : !1) && O, N = (y, W) => y && n ? n : W && u ? u : h, f = !h && !n && !u && x;
|
|
62
|
+
return /* @__PURE__ */ b("label", { className: j({ [p.isLong]: x }), children: [
|
|
63
63
|
/* @__PURE__ */ e(
|
|
64
64
|
"input",
|
|
65
65
|
{
|
|
66
|
-
ref:
|
|
66
|
+
ref: o,
|
|
67
67
|
type: "checkbox",
|
|
68
68
|
...C,
|
|
69
69
|
disabled: w
|
|
@@ -72,28 +72,28 @@ const st = "_root_2bilg_1", rt = "_text_2bilg_18", nt = "_textMini_2bilg_26", at
|
|
|
72
72
|
/* @__PURE__ */ e(
|
|
73
73
|
"div",
|
|
74
74
|
{
|
|
75
|
-
style: { width: N(
|
|
75
|
+
style: { width: N(l, m) },
|
|
76
76
|
className: j(
|
|
77
77
|
j(
|
|
78
78
|
p.item,
|
|
79
79
|
{ [p.firstItem]: _ === 0 },
|
|
80
80
|
{ [p.lastItem]: _ === k - 1 },
|
|
81
81
|
{ [p.isDisabled]: w },
|
|
82
|
-
{ [p.autoWidth]:
|
|
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
|
|
94
|
-
options:
|
|
95
|
-
selectedOption:
|
|
96
|
-
placeholder:
|
|
92
|
+
J.displayName = "TabSwitcherItem";
|
|
93
|
+
const F = Object.assign(vt, { Item: J }), M = G.bind(c), bt = ({
|
|
94
|
+
options: a,
|
|
95
|
+
selectedOption: o,
|
|
96
|
+
placeholder: l = "",
|
|
97
97
|
error: m,
|
|
98
98
|
disabled: _,
|
|
99
99
|
additionalClass: t = "",
|
|
@@ -104,23 +104,23 @@ const q = Object.assign(vt, { Item: K }), M = J.bind(c), bt = ({
|
|
|
104
104
|
onClickItem: O,
|
|
105
105
|
onCLickSelect: h
|
|
106
106
|
}) => {
|
|
107
|
-
const [
|
|
107
|
+
const [n, u] = B(!1), S = q(null), { isMobile: C } = D(), { handleBlur: x, getInputValue: N, getOption: f, handleDocumentClick: y } = it(
|
|
108
108
|
{
|
|
109
|
-
selectedOption:
|
|
109
|
+
selectedOption: o,
|
|
110
110
|
onClickOption: O,
|
|
111
111
|
setSelectedOption: i,
|
|
112
|
-
setIsOpen:
|
|
112
|
+
setIsOpen: u,
|
|
113
113
|
containerRef: S,
|
|
114
|
-
isOpen:
|
|
114
|
+
isOpen: n,
|
|
115
115
|
isMobile: C,
|
|
116
|
-
placeholder:
|
|
116
|
+
placeholder: l,
|
|
117
117
|
onChange: i,
|
|
118
118
|
onBlur: d
|
|
119
119
|
}
|
|
120
120
|
);
|
|
121
|
-
return A(() => (document.addEventListener("click",
|
|
122
|
-
document.removeEventListener("click",
|
|
123
|
-
}), []), /* @__PURE__ */
|
|
121
|
+
return A(() => (document.addEventListener("click", y), () => {
|
|
122
|
+
document.removeEventListener("click", y);
|
|
123
|
+
}), []), /* @__PURE__ */ b(
|
|
124
124
|
"div",
|
|
125
125
|
{
|
|
126
126
|
ref: S,
|
|
@@ -136,7 +136,7 @@ const q = Object.assign(vt, { Item: K }), M = J.bind(c), bt = ({
|
|
|
136
136
|
h && h();
|
|
137
137
|
},
|
|
138
138
|
children: [
|
|
139
|
-
/* @__PURE__ */
|
|
139
|
+
/* @__PURE__ */ b("div", { className: M(c.inputWrapper), children: [
|
|
140
140
|
/* @__PURE__ */ e(
|
|
141
141
|
"input",
|
|
142
142
|
{
|
|
@@ -148,7 +148,7 @@ const q = Object.assign(vt, { Item: K }), M = J.bind(c), bt = ({
|
|
|
148
148
|
{ [c.selectOptionsDisabled]: _ },
|
|
149
149
|
{ [c.selectionOptionMini]: w }
|
|
150
150
|
),
|
|
151
|
-
onClick: () =>
|
|
151
|
+
onClick: () => u(!n)
|
|
152
152
|
}
|
|
153
153
|
),
|
|
154
154
|
/* @__PURE__ */ e(
|
|
@@ -160,19 +160,19 @@ const q = Object.assign(vt, { Item: K }), M = J.bind(c), bt = ({
|
|
|
160
160
|
}
|
|
161
161
|
)
|
|
162
162
|
] }),
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
n && C && /* @__PURE__ */ b(
|
|
164
|
+
H,
|
|
165
165
|
{
|
|
166
|
-
isOpen:
|
|
167
|
-
emitIsOpen:
|
|
166
|
+
isOpen: n,
|
|
167
|
+
emitIsOpen: u,
|
|
168
168
|
additionalClassModalBody: c.modalAddBody,
|
|
169
169
|
additionalClass: c.selectModal,
|
|
170
170
|
createPortalObj: { domNode: document.querySelector("body") },
|
|
171
171
|
isTransparentBack: !0,
|
|
172
172
|
children: [
|
|
173
|
-
/* @__PURE__ */
|
|
174
|
-
/* @__PURE__ */ e(
|
|
175
|
-
/* @__PURE__ */ e("div", { onClick: () =>
|
|
173
|
+
/* @__PURE__ */ b("div", { className: c.mobileSortHeader, children: [
|
|
174
|
+
/* @__PURE__ */ e(V, { children: "Сортировка" }),
|
|
175
|
+
/* @__PURE__ */ e("div", { onClick: () => u(!1), children: /* @__PURE__ */ e(
|
|
176
176
|
R,
|
|
177
177
|
{
|
|
178
178
|
name: "close",
|
|
@@ -180,20 +180,20 @@ const q = Object.assign(vt, { Item: K }), M = J.bind(c), bt = ({
|
|
|
180
180
|
}
|
|
181
181
|
) })
|
|
182
182
|
] }),
|
|
183
|
-
/* @__PURE__ */ e("div", { className: c.mobileOptionList, children:
|
|
183
|
+
/* @__PURE__ */ e("div", { className: c.mobileOptionList, children: a == null ? void 0 : a.map((W) => f(W)) })
|
|
184
184
|
]
|
|
185
185
|
}
|
|
186
186
|
),
|
|
187
|
-
|
|
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
192
|
bt.displayName = "SortSelect";
|
|
193
|
-
const
|
|
194
|
-
root:
|
|
195
|
-
filterWithSaveModal:
|
|
196
|
-
modalAddBody:
|
|
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
198
|
btnName: Ot,
|
|
199
199
|
modalTitle: St,
|
|
@@ -209,16 +209,16 @@ const gt = "_root_j0tyy_1", Wt = "_filterWithSaveModal_j0tyy_15", Nt = "_modalAd
|
|
|
209
209
|
desktopWrapper: At,
|
|
210
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(a) {
|
|
219
219
|
(function() {
|
|
220
|
-
var
|
|
221
|
-
function
|
|
220
|
+
var o = {}.hasOwnProperty;
|
|
221
|
+
function l() {
|
|
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,25 +231,25 @@ var Q = { exports: {} };
|
|
|
231
231
|
if (typeof t != "object")
|
|
232
232
|
return "";
|
|
233
233
|
if (Array.isArray(t))
|
|
234
|
-
return
|
|
234
|
+
return l.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 = "";
|
|
238
238
|
for (var d in t)
|
|
239
|
-
|
|
239
|
+
o.call(t, d) && t[d] && (i = _(i, this && this[d] || d));
|
|
240
240
|
return i;
|
|
241
241
|
}
|
|
242
242
|
function _(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 Et =
|
|
249
|
-
const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(
|
|
250
|
-
disabledOptions:
|
|
251
|
-
tabs:
|
|
252
|
-
selectOptions:
|
|
247
|
+
})(K);
|
|
248
|
+
var Et = K.exports;
|
|
249
|
+
const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(r), pe = ({
|
|
250
|
+
disabledOptions: a = [],
|
|
251
|
+
tabs: o = [],
|
|
252
|
+
selectOptions: l = [],
|
|
253
253
|
onChange: m,
|
|
254
254
|
selectedValues: _ = [],
|
|
255
255
|
setSelectedTabs: t,
|
|
@@ -258,38 +258,35 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(o), pe = ({
|
|
|
258
258
|
onCLickSelect: w,
|
|
259
259
|
btnName: k = "Фильтр"
|
|
260
260
|
}) => {
|
|
261
|
-
const { isMobile: O } = D(), [h,
|
|
262
|
-
if (d && d(s),
|
|
261
|
+
const { isMobile: O } = D(), [h, n] = B(!1), u = q(null), [S, C] = B(i), [x] = B(_), [N, f] = B(S), [y, W] = B(x), Q = (s) => {
|
|
262
|
+
if (d && d(s), a.some((v) => v.value === s.value))
|
|
263
263
|
return;
|
|
264
|
-
const
|
|
265
|
-
W(
|
|
264
|
+
const g = y.some((v) => v.value === s.value) ? y.filter((v) => v.value !== s.value) : [...y, s];
|
|
265
|
+
W(g);
|
|
266
|
+
}, U = () => {
|
|
267
|
+
C(o), W([]), m && (m([]), t == null || t(o));
|
|
266
268
|
}, X = () => {
|
|
267
|
-
|
|
269
|
+
W(_), f(i);
|
|
268
270
|
}, Y = () => {
|
|
269
|
-
|
|
270
|
-
}, E = () => {
|
|
271
|
-
Y(), l(!1);
|
|
271
|
+
X(), n(!1);
|
|
272
272
|
}, Z = () => {
|
|
273
|
-
m && (t == null || t(N), m(
|
|
273
|
+
m && (t == null || t(N), m(y)), n(!1);
|
|
274
274
|
};
|
|
275
275
|
A(() => {
|
|
276
|
-
h &&
|
|
276
|
+
h && f(i);
|
|
277
277
|
}, [h]);
|
|
278
|
-
const
|
|
279
|
-
|
|
280
|
-
return;
|
|
281
|
-
const u = s.target;
|
|
282
|
-
console.log("Клик по:", u), console.log("Внутри модалки?", u.closest(".modal-content")), u.closest(".modal-content") || (console.log("Закрываем модалку"), E());
|
|
278
|
+
const E = (s) => {
|
|
279
|
+
!h && !O && u.current && !u.current.contains(s.target) && n(!1);
|
|
283
280
|
};
|
|
284
|
-
A(() => (document.addEventListener("click",
|
|
285
|
-
document.removeEventListener("click",
|
|
281
|
+
A(() => (document.addEventListener("click", E), () => {
|
|
282
|
+
document.removeEventListener("click", E);
|
|
286
283
|
}), [h]);
|
|
287
|
-
const
|
|
284
|
+
const T = () => /* @__PURE__ */ b(P, { children: [
|
|
288
285
|
/* @__PURE__ */ e(
|
|
289
286
|
"div",
|
|
290
287
|
{
|
|
291
|
-
className:
|
|
292
|
-
onClick:
|
|
288
|
+
className: r.closeBtn,
|
|
289
|
+
onClick: Y,
|
|
293
290
|
children: /* @__PURE__ */ e(
|
|
294
291
|
R,
|
|
295
292
|
{
|
|
@@ -299,37 +296,37 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(o), pe = ({
|
|
|
299
296
|
)
|
|
300
297
|
}
|
|
301
298
|
),
|
|
302
|
-
/* @__PURE__ */ e("div", { className:
|
|
303
|
-
/* @__PURE__ */
|
|
304
|
-
/* @__PURE__ */ e("div", { className:
|
|
305
|
-
/* @__PURE__ */ e("div", { className:
|
|
306
|
-
|
|
299
|
+
/* @__PURE__ */ e("div", { className: r.modalTitle, children: "Фильтры" }),
|
|
300
|
+
/* @__PURE__ */ b("div", { className: r.tabSWitcherWrapper, children: [
|
|
301
|
+
/* @__PURE__ */ e("div", { className: r.switcherTitle, children: "Готовность" }),
|
|
302
|
+
/* @__PURE__ */ e("div", { className: r.switcherScroll, children: /* @__PURE__ */ e(
|
|
303
|
+
F,
|
|
307
304
|
{
|
|
308
305
|
variant: "grayRow",
|
|
309
|
-
addClassName:
|
|
306
|
+
addClassName: r.tabs,
|
|
310
307
|
isApart: !0,
|
|
311
|
-
children:
|
|
312
|
-
var
|
|
313
|
-
const
|
|
308
|
+
children: o == null ? void 0 : o.map((s, g) => {
|
|
309
|
+
var $;
|
|
310
|
+
const v = s.value;
|
|
314
311
|
return /* @__PURE__ */ e(
|
|
315
|
-
|
|
312
|
+
F.Item,
|
|
316
313
|
{
|
|
317
|
-
itemsLength:
|
|
314
|
+
itemsLength: o == null ? void 0 : o.length,
|
|
318
315
|
mini: !0,
|
|
319
|
-
value:
|
|
316
|
+
value: v,
|
|
320
317
|
onClick: () => {
|
|
321
318
|
},
|
|
322
|
-
checked: ((
|
|
319
|
+
checked: (($ = N == null ? void 0 : N.find((L) => L.value === v)) == null ? void 0 : $.state) ?? !1,
|
|
323
320
|
onChange: () => {
|
|
324
|
-
|
|
325
|
-
(L) => L.map((I) => I.value ===
|
|
321
|
+
f == null || f(
|
|
322
|
+
(L) => L.map((I) => I.value === v ? { ...I, state: !I.state } : I)
|
|
326
323
|
);
|
|
327
324
|
},
|
|
328
|
-
index:
|
|
329
|
-
addItemClassName:
|
|
330
|
-
children:
|
|
325
|
+
index: g,
|
|
326
|
+
addItemClassName: r.tabSwitcher,
|
|
327
|
+
children: v
|
|
331
328
|
},
|
|
332
|
-
|
|
329
|
+
g
|
|
333
330
|
);
|
|
334
331
|
})
|
|
335
332
|
}
|
|
@@ -338,54 +335,55 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(o), pe = ({
|
|
|
338
335
|
/* @__PURE__ */ e(
|
|
339
336
|
"div",
|
|
340
337
|
{
|
|
341
|
-
className:
|
|
338
|
+
className: r.selectWrapper,
|
|
342
339
|
onClick: (s) => s.stopPropagation(),
|
|
343
|
-
children:
|
|
344
|
-
|
|
340
|
+
children: l == null ? void 0 : l.map((s, g) => /* @__PURE__ */ e(
|
|
341
|
+
rt,
|
|
345
342
|
{
|
|
346
|
-
addClassName:
|
|
343
|
+
addClassName: r.filterOption,
|
|
347
344
|
disabledOptions: [],
|
|
348
345
|
clickableOptions: [],
|
|
349
|
-
selectedOptions:
|
|
346
|
+
selectedOptions: y,
|
|
350
347
|
option: s,
|
|
351
|
-
handleOptionClick:
|
|
348
|
+
handleOptionClick: Q
|
|
352
349
|
},
|
|
353
|
-
|
|
350
|
+
g
|
|
354
351
|
))
|
|
355
352
|
}
|
|
356
353
|
),
|
|
357
|
-
/* @__PURE__ */
|
|
354
|
+
/* @__PURE__ */ b("div", { className: r.btnWrapper, children: [
|
|
358
355
|
/* @__PURE__ */ e(
|
|
359
|
-
|
|
356
|
+
z,
|
|
360
357
|
{
|
|
361
358
|
as: "button",
|
|
362
359
|
variant: "gray",
|
|
363
|
-
additionalClass:
|
|
364
|
-
onClick:
|
|
360
|
+
additionalClass: r.resetBtn,
|
|
361
|
+
onClick: U,
|
|
365
362
|
children: "Сбросить"
|
|
366
363
|
}
|
|
367
364
|
),
|
|
368
365
|
/* @__PURE__ */ e(
|
|
369
|
-
|
|
366
|
+
z,
|
|
370
367
|
{
|
|
371
368
|
as: "button",
|
|
372
|
-
additionalClass:
|
|
369
|
+
additionalClass: r.saveBtn,
|
|
373
370
|
onClick: Z,
|
|
374
371
|
children: "Сохранить"
|
|
375
372
|
}
|
|
376
373
|
)
|
|
377
374
|
] })
|
|
378
375
|
] });
|
|
379
|
-
return /* @__PURE__ */
|
|
380
|
-
/* @__PURE__ */
|
|
376
|
+
return /* @__PURE__ */ b(P, { children: [
|
|
377
|
+
/* @__PURE__ */ b(
|
|
381
378
|
"div",
|
|
382
379
|
{
|
|
383
|
-
className:
|
|
380
|
+
className: r.root,
|
|
381
|
+
id: "modal-container",
|
|
384
382
|
onClick: (s) => {
|
|
385
|
-
s.stopPropagation(), w && w(),
|
|
383
|
+
s.stopPropagation(), w && w(), n(O ? (g) => !g : !0);
|
|
386
384
|
},
|
|
387
385
|
children: [
|
|
388
|
-
/* @__PURE__ */ e("div", { className:
|
|
386
|
+
/* @__PURE__ */ e("div", { className: r.btnName, children: k }),
|
|
389
387
|
/* @__PURE__ */ e(
|
|
390
388
|
R,
|
|
391
389
|
{
|
|
@@ -396,30 +394,30 @@ const Tt = /* @__PURE__ */ et(Et), $t = Tt.bind(o), pe = ({
|
|
|
396
394
|
/* @__PURE__ */ e(
|
|
397
395
|
"div",
|
|
398
396
|
{
|
|
399
|
-
ref:
|
|
400
|
-
className: $t(
|
|
397
|
+
ref: u,
|
|
398
|
+
className: $t(r.desktopWrapper, { [r.desktopWrapperOpen]: h }),
|
|
401
399
|
onClick: (s) => s.stopPropagation(),
|
|
402
|
-
children: /* @__PURE__ */ e(
|
|
400
|
+
children: /* @__PURE__ */ e(T, {})
|
|
403
401
|
}
|
|
404
402
|
)
|
|
405
403
|
]
|
|
406
404
|
}
|
|
407
405
|
),
|
|
408
406
|
O && /* @__PURE__ */ e(
|
|
409
|
-
|
|
407
|
+
H,
|
|
410
408
|
{
|
|
411
409
|
isOpen: h,
|
|
412
|
-
emitIsOpen:
|
|
410
|
+
emitIsOpen: n,
|
|
413
411
|
isTransparentBack: !0,
|
|
414
|
-
additionalClassModalBody:
|
|
415
|
-
additionalClass:
|
|
416
|
-
children: /* @__PURE__ */ e(
|
|
412
|
+
additionalClassModalBody: r.modalAddBody,
|
|
413
|
+
additionalClass: r.filterWithSaveModal,
|
|
414
|
+
children: /* @__PURE__ */ e(T, {})
|
|
417
415
|
}
|
|
418
416
|
)
|
|
419
417
|
] });
|
|
420
418
|
};
|
|
421
419
|
export {
|
|
422
420
|
pe as F,
|
|
423
|
-
|
|
421
|
+
F as S,
|
|
424
422
|
bt as a
|
|
425
423
|
};
|
|
@@ -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-DqzwGP7I.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-DqzwGP7I.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-DqzwGP7I.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-DqzwGP7I.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-DqzwGP7I.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";
|