stone-kit 0.0.587 → 0.0.589
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-Ba_s-b-U.js → FilterWithSave-B9pmfYVO.js} +114 -115
- 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 Z, useState as B, useRef as
|
|
1
|
+
import { jsxs as y, jsx as e, Fragment as F } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Z, useState as B, useRef as J, useEffect as D } from "react";
|
|
3
3
|
import { NewIcon as R } from "./components/NewIcon/ui/NewIcon.js";
|
|
4
4
|
import { M as q } from "./Modal-BZv6nlLe.js";
|
|
5
5
|
import { Text as H } from "./components/Text/ui/Text.js";
|
|
6
|
-
import { c as
|
|
7
|
-
import { Button as
|
|
6
|
+
import { c as V, g as tt } from "./index-rKuIKazb.js";
|
|
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";
|
|
10
10
|
import "./components/RoundButton/ui/RoundButton.js";
|
|
@@ -23,10 +23,10 @@ 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 rt = "_root_2bilg_1",
|
|
26
|
+
const rt = "_root_2bilg_1", st = "_text_2bilg_18", nt = "_textMini_2bilg_26", ot = "_rootCol_2bilg_32", at = "_item_2bilg_38", lt = "_whiteRow_2bilg_57", ct = "_firstItem_2bilg_68", dt = "_lastItem_2bilg_72", pt = "_apart_2bilg_103", mt = "_isLong_2bilg_103", _t = "_autoWidth_2bilg_128", ut = "_mini_2bilg_132", ht = "_isDisabled_2bilg_140", ft = "_grayRow_2bilg_164", p = {
|
|
27
27
|
root: rt,
|
|
28
|
-
text:
|
|
29
|
-
textMini:
|
|
28
|
+
text: st,
|
|
29
|
+
textMini: nt,
|
|
30
30
|
rootCol: ot,
|
|
31
31
|
item: at,
|
|
32
32
|
whiteRow: lt,
|
|
@@ -38,32 +38,32 @@ const rt = "_root_2bilg_1", nt = "_text_2bilg_18", st = "_textMini_2bilg_26", ot
|
|
|
38
38
|
mini: ut,
|
|
39
39
|
isDisabled: ht,
|
|
40
40
|
grayRow: ft
|
|
41
|
-
}, I =
|
|
41
|
+
}, I = V.bind(p), vt = ({
|
|
42
42
|
children: o,
|
|
43
|
-
variant:
|
|
43
|
+
variant: n = "whiteRow",
|
|
44
44
|
isApart: a = !1,
|
|
45
|
-
addClassName:
|
|
46
|
-
col:
|
|
47
|
-
}) => /* @__PURE__ */ e("div", { className: I(p.root, p[
|
|
48
|
-
const { isTablet: a, isDesktop:
|
|
49
|
-
index:
|
|
45
|
+
addClassName: m = "",
|
|
46
|
+
col: _ = !1
|
|
47
|
+
}) => /* @__PURE__ */ e("div", { className: I(p.root, p[n], m, { [p.rootCol]: _, [p.apart]: a }), children: o }), G = Z((o, n) => {
|
|
48
|
+
const { isTablet: a, isDesktop: m } = E(), {
|
|
49
|
+
index: _,
|
|
50
50
|
children: t,
|
|
51
51
|
addItemClassName: i,
|
|
52
52
|
addTextClass: d,
|
|
53
53
|
disabled: g = !1,
|
|
54
54
|
itemsLength: C = 0,
|
|
55
55
|
isLongOn: O = !0,
|
|
56
|
-
width:
|
|
56
|
+
width: u,
|
|
57
57
|
width_m: l,
|
|
58
|
-
width_l:
|
|
58
|
+
width_l: h,
|
|
59
59
|
mini: S = !1,
|
|
60
60
|
...k
|
|
61
|
-
} = o, x = (t != null && t.toString().length ? (t == null ? void 0 : t.toString().length) > 2 : !1) && O,
|
|
62
|
-
return /* @__PURE__ */
|
|
61
|
+
} = o, x = (t != null && t.toString().length ? (t == null ? void 0 : t.toString().length) > 2 : !1) && O, N = (v, W) => v && l ? l : W && h ? h : u, f = !u && !l && !h && x;
|
|
62
|
+
return /* @__PURE__ */ y("label", { className: I({ [p.isLong]: x }), children: [
|
|
63
63
|
/* @__PURE__ */ e(
|
|
64
64
|
"input",
|
|
65
65
|
{
|
|
66
|
-
ref:
|
|
66
|
+
ref: n,
|
|
67
67
|
type: "checkbox",
|
|
68
68
|
...k,
|
|
69
69
|
disabled: g
|
|
@@ -72,12 +72,12 @@ const rt = "_root_2bilg_1", nt = "_text_2bilg_18", st = "_textMini_2bilg_26", ot
|
|
|
72
72
|
/* @__PURE__ */ e(
|
|
73
73
|
"div",
|
|
74
74
|
{
|
|
75
|
-
style: { width:
|
|
75
|
+
style: { width: N(a, m) },
|
|
76
76
|
className: I(
|
|
77
77
|
I(
|
|
78
78
|
p.item,
|
|
79
|
-
{ [p.firstItem]:
|
|
80
|
-
{ [p.lastItem]:
|
|
79
|
+
{ [p.firstItem]: _ === 0 },
|
|
80
|
+
{ [p.lastItem]: _ === C - 1 },
|
|
81
81
|
{ [p.isDisabled]: g },
|
|
82
82
|
{ [p.autoWidth]: f },
|
|
83
83
|
{ [p.mini]: S }
|
|
@@ -89,27 +89,27 @@ const rt = "_root_2bilg_1", nt = "_text_2bilg_18", st = "_textMini_2bilg_26", ot
|
|
|
89
89
|
)
|
|
90
90
|
] });
|
|
91
91
|
});
|
|
92
|
-
|
|
93
|
-
const
|
|
92
|
+
G.displayName = "TabSwitcherItem";
|
|
93
|
+
const T = Object.assign(vt, { Item: G }), L = V.bind(c), wt = ({
|
|
94
94
|
options: o,
|
|
95
|
-
selectedOption:
|
|
95
|
+
selectedOption: n,
|
|
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: g,
|
|
103
103
|
openOnTop: C = !1,
|
|
104
104
|
onClickItem: O,
|
|
105
|
-
onCLickSelect:
|
|
105
|
+
onCLickSelect: u
|
|
106
106
|
}) => {
|
|
107
|
-
const [l,
|
|
107
|
+
const [l, h] = B(!1), S = J(null), { isMobile: k } = E(), { handleBlur: x, getInputValue: N, getOption: f, handleDocumentClick: v } = et(
|
|
108
108
|
{
|
|
109
|
-
selectedOption:
|
|
109
|
+
selectedOption: n,
|
|
110
110
|
onClickOption: O,
|
|
111
111
|
setSelectedOption: i,
|
|
112
|
-
setIsOpen:
|
|
112
|
+
setIsOpen: h,
|
|
113
113
|
containerRef: S,
|
|
114
114
|
isOpen: l,
|
|
115
115
|
isMobile: k,
|
|
@@ -120,35 +120,35 @@ const J = Object.assign(vt, { Item: K }), L = G.bind(c), wt = ({
|
|
|
120
120
|
);
|
|
121
121
|
return D(() => (document.addEventListener("click", v), () => {
|
|
122
122
|
document.removeEventListener("click", v);
|
|
123
|
-
}), []), /* @__PURE__ */
|
|
123
|
+
}), []), /* @__PURE__ */ y(
|
|
124
124
|
"div",
|
|
125
125
|
{
|
|
126
126
|
ref: S,
|
|
127
127
|
className: L(
|
|
128
128
|
c.sortSelectWrapper,
|
|
129
|
-
{ [c.sortSelectWrapperError]:
|
|
129
|
+
{ [c.sortSelectWrapperError]: m },
|
|
130
130
|
{ [c.sortSelectWrapperTop]: C },
|
|
131
131
|
t
|
|
132
132
|
),
|
|
133
133
|
tabIndex: 0,
|
|
134
134
|
onBlur: x,
|
|
135
135
|
onClick: () => {
|
|
136
|
-
|
|
136
|
+
u && u();
|
|
137
137
|
},
|
|
138
138
|
children: [
|
|
139
|
-
/* @__PURE__ */
|
|
139
|
+
/* @__PURE__ */ y("div", { className: L(c.inputWrapper), children: [
|
|
140
140
|
/* @__PURE__ */ e(
|
|
141
141
|
"input",
|
|
142
142
|
{
|
|
143
143
|
type: "text",
|
|
144
144
|
readOnly: !0,
|
|
145
|
-
value:
|
|
145
|
+
value: N(),
|
|
146
146
|
className: L(
|
|
147
147
|
c.selectedOptions,
|
|
148
|
-
{ [c.selectOptionsDisabled]:
|
|
148
|
+
{ [c.selectOptionsDisabled]: _ },
|
|
149
149
|
{ [c.selectionOptionMini]: g }
|
|
150
150
|
),
|
|
151
|
-
onClick: () =>
|
|
151
|
+
onClick: () => h(!l)
|
|
152
152
|
}
|
|
153
153
|
),
|
|
154
154
|
/* @__PURE__ */ e(
|
|
@@ -160,19 +160,19 @@ const J = Object.assign(vt, { Item: K }), L = G.bind(c), wt = ({
|
|
|
160
160
|
}
|
|
161
161
|
)
|
|
162
162
|
] }),
|
|
163
|
-
l && k && /* @__PURE__ */
|
|
163
|
+
l && k && /* @__PURE__ */ y(
|
|
164
164
|
q,
|
|
165
165
|
{
|
|
166
166
|
isOpen: l,
|
|
167
|
-
emitIsOpen:
|
|
167
|
+
emitIsOpen: h,
|
|
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__ */
|
|
173
|
+
/* @__PURE__ */ y("div", { className: c.mobileSortHeader, children: [
|
|
174
174
|
/* @__PURE__ */ e(H, { children: "Сортировка" }),
|
|
175
|
-
/* @__PURE__ */ e("div", { onClick: () =>
|
|
175
|
+
/* @__PURE__ */ e("div", { onClick: () => h(!1), children: /* @__PURE__ */ e(
|
|
176
176
|
R,
|
|
177
177
|
{
|
|
178
178
|
name: "close",
|
|
@@ -180,17 +180,17 @@ const J = Object.assign(vt, { Item: K }), L = G.bind(c), wt = ({
|
|
|
180
180
|
}
|
|
181
181
|
) })
|
|
182
182
|
] }),
|
|
183
|
-
/* @__PURE__ */ e("div", { className: c.mobileOptionList, children: o == null ? void 0 : o.map((
|
|
183
|
+
/* @__PURE__ */ e("div", { className: c.mobileOptionList, children: o == null ? void 0 : o.map((W) => f(W)) })
|
|
184
184
|
]
|
|
185
185
|
}
|
|
186
186
|
),
|
|
187
|
-
l && !k && /* @__PURE__ */ e("div", { className: L(c.optionsList, { [c.optionListOnTop]: C }), children: o == null ? void 0 : o.map((
|
|
187
|
+
l && !k && /* @__PURE__ */ e("div", { className: L(c.optionsList, { [c.optionListOnTop]: C }), children: o == null ? void 0 : o.map((W) => f(W)) })
|
|
188
188
|
]
|
|
189
189
|
}
|
|
190
190
|
);
|
|
191
191
|
};
|
|
192
192
|
wt.displayName = "SortSelect";
|
|
193
|
-
const yt = "_root_1wv7y_1", Wt = "_filterWithSaveModal_1wv7y_15", Nt = "_modalAddBody_1wv7y_20", bt = "_closeBtn_1wv7y_29", gt = "_btnName_1wv7y_35", Ot = "_modalTitle_1wv7y_39", St = "_tabSWitcherWrapper_1wv7y_48", kt = "_switcherTitle_1wv7y_56", Ct = "_switcherScroll_1wv7y_63", xt = "_tabs_1wv7y_67", Bt = "_selectWrapper_1wv7y_72", It = "_filterOption_1wv7y_76", Mt = "_btnWrapper_1wv7y_83", Lt = "_resetBtn_1wv7y_89", Rt = "_saveBtn_1wv7y_90", At = "_desktopWrapper_1wv7y_94", Dt = "_desktopWrapperOpen_1wv7y_117",
|
|
193
|
+
const yt = "_root_1wv7y_1", Wt = "_filterWithSaveModal_1wv7y_15", Nt = "_modalAddBody_1wv7y_20", bt = "_closeBtn_1wv7y_29", gt = "_btnName_1wv7y_35", Ot = "_modalTitle_1wv7y_39", St = "_tabSWitcherWrapper_1wv7y_48", kt = "_switcherTitle_1wv7y_56", Ct = "_switcherScroll_1wv7y_63", xt = "_tabs_1wv7y_67", Bt = "_selectWrapper_1wv7y_72", It = "_filterOption_1wv7y_76", Mt = "_btnWrapper_1wv7y_83", Lt = "_resetBtn_1wv7y_89", Rt = "_saveBtn_1wv7y_90", At = "_desktopWrapper_1wv7y_94", Dt = "_desktopWrapperOpen_1wv7y_117", s = {
|
|
194
194
|
root: yt,
|
|
195
195
|
filterWithSaveModal: Wt,
|
|
196
196
|
modalAddBody: Nt,
|
|
@@ -209,7 +209,7 @@ const yt = "_root_1wv7y_1", Wt = "_filterWithSaveModal_1wv7y_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
|
|
@@ -217,15 +217,15 @@ var Q = { exports: {} };
|
|
|
217
217
|
*/
|
|
218
218
|
(function(o) {
|
|
219
219
|
(function() {
|
|
220
|
-
var
|
|
220
|
+
var n = {}.hasOwnProperty;
|
|
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,57 +236,57 @@ var Q = { exports: {} };
|
|
|
236
236
|
return t.toString();
|
|
237
237
|
var i = "";
|
|
238
238
|
for (var d in t)
|
|
239
|
-
|
|
239
|
+
n.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
|
o.exports ? (a.default = a, o.exports = a) : window.classNames = a;
|
|
246
246
|
})();
|
|
247
|
-
})(
|
|
248
|
-
var Et =
|
|
249
|
-
const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(
|
|
247
|
+
})(K);
|
|
248
|
+
var Et = K.exports;
|
|
249
|
+
const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(s), de = ({
|
|
250
250
|
disabledOptions: o = [],
|
|
251
|
-
tabs:
|
|
251
|
+
tabs: n = [],
|
|
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: g,
|
|
259
259
|
btnName: C = "Фильтр"
|
|
260
260
|
}) => {
|
|
261
|
-
const { isMobile: O } = E(), [
|
|
262
|
-
if (d && d(
|
|
261
|
+
const { isMobile: O } = E(), [u, l] = B(!1), h = J(null), [S, k] = B(i), [x] = B(_), [N, f] = B(S), [v, W] = B(x), Q = (r) => {
|
|
262
|
+
if (d && d(r), o.some((w) => w.value === r.value))
|
|
263
263
|
return;
|
|
264
|
-
const
|
|
265
|
-
|
|
266
|
-
},
|
|
267
|
-
k(
|
|
264
|
+
const b = v.some((w) => w.value === r.value) ? v.filter((w) => w.value !== r.value) : [...v, r];
|
|
265
|
+
W(b);
|
|
266
|
+
}, U = () => {
|
|
267
|
+
k(n), f(n), W([]), m && (m([]), t == null || t(n));
|
|
268
268
|
}, X = () => {
|
|
269
|
-
|
|
269
|
+
W(_), f(i);
|
|
270
270
|
}, j = () => {
|
|
271
271
|
X(), l(!1);
|
|
272
|
-
}, Y = () => {
|
|
273
|
-
|
|
272
|
+
}, Y = (r) => {
|
|
273
|
+
r.stopPropagation(), m && (t == null || t(N), m(v)), l(!1);
|
|
274
274
|
};
|
|
275
275
|
D(() => {
|
|
276
|
-
|
|
277
|
-
}, [
|
|
278
|
-
const
|
|
279
|
-
|
|
276
|
+
u || f((r) => JSON.stringify(r) !== JSON.stringify(i) ? i : r);
|
|
277
|
+
}, [u, i]), D(() => {
|
|
278
|
+
const r = (b) => {
|
|
279
|
+
h.current && h.current.contains(b.target) || j();
|
|
280
280
|
};
|
|
281
|
-
return
|
|
282
|
-
document.removeEventListener("click",
|
|
281
|
+
return u ? document.addEventListener("click", r, { capture: !0 }) : document.removeEventListener("click", r, { capture: !0 }), () => {
|
|
282
|
+
document.removeEventListener("click", r, { capture: !0 });
|
|
283
283
|
};
|
|
284
|
-
}, [
|
|
285
|
-
const $ = () => /* @__PURE__ */
|
|
284
|
+
}, [u]);
|
|
285
|
+
const $ = () => /* @__PURE__ */ y(F, { children: [
|
|
286
286
|
/* @__PURE__ */ e(
|
|
287
287
|
"div",
|
|
288
288
|
{
|
|
289
|
-
className:
|
|
289
|
+
className: s.closeBtn,
|
|
290
290
|
onClick: () => {
|
|
291
291
|
j();
|
|
292
292
|
},
|
|
@@ -299,88 +299,87 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(r), de = ({
|
|
|
299
299
|
)
|
|
300
300
|
}
|
|
301
301
|
),
|
|
302
|
-
/* @__PURE__ */ e("div", { className:
|
|
303
|
-
/* @__PURE__ */
|
|
304
|
-
/* @__PURE__ */ e("div", { className:
|
|
305
|
-
/* @__PURE__ */ e("div", { className:
|
|
306
|
-
|
|
302
|
+
/* @__PURE__ */ e("div", { className: s.modalTitle, children: "Фильтры" }),
|
|
303
|
+
/* @__PURE__ */ y("div", { className: s.tabSWitcherWrapper, children: [
|
|
304
|
+
/* @__PURE__ */ e("div", { className: s.switcherTitle, children: "Готовность" }),
|
|
305
|
+
/* @__PURE__ */ e("div", { className: s.switcherScroll, children: /* @__PURE__ */ e(
|
|
306
|
+
T,
|
|
307
307
|
{
|
|
308
308
|
variant: "grayRow",
|
|
309
|
-
addClassName:
|
|
309
|
+
addClassName: s.tabs,
|
|
310
310
|
isApart: !0,
|
|
311
|
-
children:
|
|
311
|
+
children: n == null ? void 0 : n.map((r, b) => {
|
|
312
312
|
var z;
|
|
313
|
-
const
|
|
313
|
+
const w = r.value;
|
|
314
314
|
return /* @__PURE__ */ e(
|
|
315
|
-
|
|
315
|
+
T.Item,
|
|
316
316
|
{
|
|
317
|
-
itemsLength:
|
|
317
|
+
itemsLength: n == null ? void 0 : n.length,
|
|
318
318
|
mini: !0,
|
|
319
|
-
value:
|
|
319
|
+
value: w,
|
|
320
320
|
onClick: () => {
|
|
321
321
|
},
|
|
322
|
-
checked: ((z =
|
|
322
|
+
checked: ((z = N == null ? void 0 : N.find((A) => A.value === w)) == null ? void 0 : z.state) ?? !1,
|
|
323
323
|
onChange: () => {
|
|
324
324
|
f == null || f(
|
|
325
|
-
(A) => A.map((M) => M.value ===
|
|
325
|
+
(A) => A.map((M) => M.value === w ? { ...M, state: !M.state } : M)
|
|
326
326
|
);
|
|
327
327
|
},
|
|
328
|
-
index:
|
|
329
|
-
addItemClassName:
|
|
330
|
-
children:
|
|
328
|
+
index: b,
|
|
329
|
+
addItemClassName: s.tabSwitcher,
|
|
330
|
+
children: w
|
|
331
331
|
},
|
|
332
|
-
|
|
332
|
+
b
|
|
333
333
|
);
|
|
334
334
|
})
|
|
335
335
|
}
|
|
336
336
|
) })
|
|
337
337
|
] }),
|
|
338
|
-
/* @__PURE__ */ e("div", { className:
|
|
338
|
+
/* @__PURE__ */ e("div", { className: s.selectWrapper, children: a == null ? void 0 : a.map((r, b) => /* @__PURE__ */ e(
|
|
339
339
|
it,
|
|
340
340
|
{
|
|
341
|
-
addClassName:
|
|
341
|
+
addClassName: s.filterOption,
|
|
342
342
|
disabledOptions: [],
|
|
343
343
|
clickableOptions: [],
|
|
344
344
|
selectedOptions: v,
|
|
345
|
-
option:
|
|
346
|
-
handleOptionClick:
|
|
345
|
+
option: r,
|
|
346
|
+
handleOptionClick: Q
|
|
347
347
|
},
|
|
348
|
-
|
|
348
|
+
b
|
|
349
349
|
)) }),
|
|
350
|
-
/* @__PURE__ */
|
|
350
|
+
/* @__PURE__ */ y("div", { className: s.btnWrapper, children: [
|
|
351
351
|
/* @__PURE__ */ e(
|
|
352
|
-
|
|
352
|
+
P,
|
|
353
353
|
{
|
|
354
354
|
as: "button",
|
|
355
355
|
variant: "gray",
|
|
356
|
-
additionalClass:
|
|
357
|
-
onClick:
|
|
356
|
+
additionalClass: s.resetBtn,
|
|
357
|
+
onClick: U,
|
|
358
358
|
children: "Сбросить"
|
|
359
359
|
}
|
|
360
360
|
),
|
|
361
361
|
/* @__PURE__ */ e(
|
|
362
|
-
|
|
362
|
+
P,
|
|
363
363
|
{
|
|
364
364
|
as: "button",
|
|
365
|
-
additionalClass:
|
|
365
|
+
additionalClass: s.saveBtn,
|
|
366
366
|
onClick: Y,
|
|
367
367
|
children: "Сохранить"
|
|
368
368
|
}
|
|
369
369
|
)
|
|
370
370
|
] })
|
|
371
371
|
] });
|
|
372
|
-
return /* @__PURE__ */
|
|
373
|
-
/* @__PURE__ */
|
|
372
|
+
return /* @__PURE__ */ y(F, { children: [
|
|
373
|
+
/* @__PURE__ */ y(
|
|
374
374
|
"div",
|
|
375
375
|
{
|
|
376
|
-
ref:
|
|
377
|
-
|
|
378
|
-
className: r.root,
|
|
376
|
+
ref: h,
|
|
377
|
+
className: s.root,
|
|
379
378
|
onClick: () => {
|
|
380
|
-
g && g(), l(O ? (
|
|
379
|
+
g && g(), l(O ? (r) => !r : !0);
|
|
381
380
|
},
|
|
382
381
|
children: [
|
|
383
|
-
/* @__PURE__ */ e("div", { className:
|
|
382
|
+
/* @__PURE__ */ e("div", { className: s.btnName, children: C }),
|
|
384
383
|
/* @__PURE__ */ e(
|
|
385
384
|
R,
|
|
386
385
|
{
|
|
@@ -388,18 +387,18 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(r), de = ({
|
|
|
388
387
|
size: "16"
|
|
389
388
|
}
|
|
390
389
|
),
|
|
391
|
-
!O && /* @__PURE__ */ e("div", { className: $t(
|
|
390
|
+
!O && /* @__PURE__ */ e("div", { className: $t(s.desktopWrapper, { [s.desktopWrapperOpen]: u }), children: /* @__PURE__ */ e($, {}) })
|
|
392
391
|
]
|
|
393
392
|
}
|
|
394
393
|
),
|
|
395
394
|
O && /* @__PURE__ */ e(
|
|
396
395
|
q,
|
|
397
396
|
{
|
|
398
|
-
isOpen:
|
|
397
|
+
isOpen: u,
|
|
399
398
|
emitIsOpen: l,
|
|
400
399
|
isTransparentBack: !0,
|
|
401
|
-
additionalClassModalBody:
|
|
402
|
-
additionalClass:
|
|
400
|
+
additionalClassModalBody: s.modalAddBody,
|
|
401
|
+
additionalClass: s.filterWithSaveModal,
|
|
403
402
|
children: /* @__PURE__ */ e($, {})
|
|
404
403
|
}
|
|
405
404
|
)
|
|
@@ -407,6 +406,6 @@ const jt = /* @__PURE__ */ tt(Et), $t = jt.bind(r), de = ({
|
|
|
407
406
|
};
|
|
408
407
|
export {
|
|
409
408
|
de as F,
|
|
410
|
-
|
|
409
|
+
T as S,
|
|
411
410
|
wt as a
|
|
412
411
|
};
|
|
@@ -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-B9pmfYVO.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-B9pmfYVO.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-B9pmfYVO.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-B9pmfYVO.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-B9pmfYVO.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";
|