stone-kit 0.0.942 → 0.0.944
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/App.js +1 -1
- package/dist/{FilterWithSave-DIjsQ8Fv.js → FilterWithSave-C18SicWk.js} +1 -1
- package/dist/{Menu-C9y6xDYM.js → Menu-Cc1GAVbB.js} +1 -1
- package/dist/{Option-BVIm7wOW.js → Option-C89kmzR_.js} +22 -22
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +1 -1
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +2 -2
- package/dist/components/FormModal/ui/ModalForm.js +1 -1
- package/dist/components/LotCard/hooks/useLotCard.js +1 -1
- package/dist/components/LotCard/index.js +1 -1
- package/dist/components/LotCard/ui/LotCard.js +1 -1
- package/dist/components/Select/model/selectMode.js +29 -29
- package/dist/components/Select/ui/Category.js +1 -1
- package/dist/components/Select/ui/Option.js +1 -1
- package/dist/components/Select/ui/Select.d.ts +1 -1
- package/dist/components/Select/ui/Select.js +119 -105
- package/dist/components/Select/ui/Select.types.d.ts +4 -0
- 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/layout/components/Header/Header.js +2 -2
- package/dist/layout/components/Menu.js +2 -2
- package/dist/main.js +1 -1
- package/dist/pages/ButtonsPage/Buttons.js +1 -1
- package/dist/pages/FormsPage/FormsPage.js +1 -1
- package/dist/pages/IconsPage/IconsPage.js +1 -1
- package/dist/pages/InputPage/InputPage.js +1 -1
- package/dist/pages/LogoPage/LogoPage.js +1 -1
- package/dist/pages/LotsPage/LotsPage.js +1 -1
- package/dist/pages/ModalsPage/ModalPage.js +1 -1
- package/dist/pages/SelectPage/SelectPage.js +33 -31
- package/dist/pages/TabsPage/TabsPage.js +1 -1
- package/dist/pages/TagsPage/TagsPage.js +1 -1
- package/package.json +1 -1
package/dist/App.js
CHANGED
|
@@ -25,7 +25,7 @@ import "./components/TabSelect/ui/TabSelect.js";
|
|
|
25
25
|
import { nameReg as er, phoneReg as tr, emailReg as rr } from "./components/FormModal/utils/reg.js";
|
|
26
26
|
import { CheckBox as gt } from "./components/CheckBox/CheckBox.js";
|
|
27
27
|
import { TextArea as sr } from "./components/TextArea/TextArea.js";
|
|
28
|
-
import { O as bt } from "./Option-
|
|
28
|
+
import { O as bt } from "./Option-C89kmzR_.js";
|
|
29
29
|
import "./components/CheckBoxNew/CheckBoxNew.js";
|
|
30
30
|
import "./components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
31
31
|
import { getTagsFeatures as ir } from "./components/LotCard/utils/getTagsFeatures.js";
|
|
@@ -12,7 +12,7 @@ import "./components/Switcher/ui/Switcher.js";
|
|
|
12
12
|
import "./components/Text/ui/Text.js";
|
|
13
13
|
import "./components/Flex/ui/Flex.js";
|
|
14
14
|
import "./components/Input/ui/Input.js";
|
|
15
|
-
import "./FilterWithSave-
|
|
15
|
+
import "./FilterWithSave-C18SicWk.js";
|
|
16
16
|
import "./components/GroupedInput/ui/GroupedInputs.js";
|
|
17
17
|
import "./index-rKuIKazb.js";
|
|
18
18
|
import "./components/MetroTag/ui/MetroTag.js";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as z, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { NewIcon as c } from "./components/NewIcon/ui/NewIcon.js";
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
multiSelectWrapper:
|
|
6
|
-
selectedOptions:
|
|
7
|
-
selectedOptionsBtn:
|
|
3
|
+
import { c as g } from "./index-rKuIKazb.js";
|
|
4
|
+
const O = "_multiSelectWrapper_1sbxa_1", C = "_selectedOptions_1sbxa_8", h = "_selectedOptionsBtn_1sbxa_24", v = "_selectedOptionsOpened_1sbxa_49", f = "_selectedOptionsNotEmpty_1sbxa_53", k = "_selectOptionsDisabled_1sbxa_58", y = "_optionsList_1sbxa_65", D = "_lastList_1sbxa_81", S = "_listRight_1sbxa_86", B = "_inputWrapper_1sbxa_90", L = "_option_1sbxa_65", N = "_category_1sbxa_112", W = "_leftSide_1sbxa_118", A = "_optionCategory_1sbxa_123", w = "_optionDisabled_1sbxa_129", E = "_optionClickable_1sbxa_133", R = "_icon_1sbxa_137", j = "_iconArrow_1sbxa_143", U = "_iconBtn_1sbxa_149", s = {
|
|
5
|
+
multiSelectWrapper: O,
|
|
6
|
+
selectedOptions: C,
|
|
7
|
+
selectedOptionsBtn: h,
|
|
8
8
|
"small-size": "_small-size_1sbxa_28",
|
|
9
9
|
"medium-size": "_medium-size_1sbxa_35",
|
|
10
10
|
"large-size": "_large-size_1sbxa_42",
|
|
11
|
-
selectedOptionsOpened:
|
|
11
|
+
selectedOptionsOpened: v,
|
|
12
12
|
selectedOptionsNotEmpty: f,
|
|
13
13
|
selectOptionsDisabled: k,
|
|
14
|
-
optionsList:
|
|
15
|
-
lastList:
|
|
16
|
-
listRight:
|
|
14
|
+
optionsList: y,
|
|
15
|
+
lastList: D,
|
|
16
|
+
listRight: S,
|
|
17
17
|
inputWrapper: B,
|
|
18
18
|
option: L,
|
|
19
19
|
category: N,
|
|
20
|
-
leftSide:
|
|
21
|
-
optionCategory:
|
|
20
|
+
leftSide: W,
|
|
21
|
+
optionCategory: A,
|
|
22
22
|
optionDisabled: w,
|
|
23
|
-
optionClickable:
|
|
24
|
-
icon:
|
|
25
|
-
iconArrow:
|
|
26
|
-
iconBtn:
|
|
23
|
+
optionClickable: E,
|
|
24
|
+
icon: R,
|
|
25
|
+
iconArrow: j,
|
|
26
|
+
iconBtn: U,
|
|
27
27
|
"small-size_m": "_small-size_m_1sbxa_162",
|
|
28
28
|
"medium-size_m": "_medium-size_m_1sbxa_168",
|
|
29
29
|
"large-size_m": "_large-size_m_1sbxa_174",
|
|
30
30
|
"small-size_l": "_small-size_l_1sbxa_189",
|
|
31
31
|
"medium-size_l": "_medium-size_l_1sbxa_195",
|
|
32
32
|
"large-size_l": "_large-size_l_1sbxa_201"
|
|
33
|
-
},
|
|
33
|
+
}, $ = g.bind(s), H = ({
|
|
34
34
|
option: e,
|
|
35
35
|
selectedOptions: p,
|
|
36
36
|
disabledOptions: r,
|
|
@@ -41,16 +41,16 @@ const g = "_multiSelectWrapper_1sbxa_1", O = "_selectedOptions_1sbxa_8", C = "_s
|
|
|
41
41
|
isDisabledNotClickable: m,
|
|
42
42
|
addClassName: b = ""
|
|
43
43
|
}) => {
|
|
44
|
-
const x = t ? t.includes(`${e.value}`) : !0, _ = p.some((o) => o.value === e.value), a = () => m && t ? !t.includes(`${e.value}`) : r.some((o) => o.value === e.value);
|
|
45
|
-
return /* @__PURE__ */
|
|
44
|
+
const x = t ? t.includes(`${e.value}`) : !0, u = e.value === "selectAll", _ = p.some((o) => o.value === e.value), a = () => m && t ? !t.includes(`${e.value}`) : r.some((o) => o.value === e.value);
|
|
45
|
+
return /* @__PURE__ */ z(
|
|
46
46
|
"div",
|
|
47
47
|
{
|
|
48
|
-
className:
|
|
48
|
+
className: $(
|
|
49
49
|
s.option,
|
|
50
50
|
{
|
|
51
51
|
[s.optionDisabled]: a(),
|
|
52
52
|
[s.optionCategory]: i,
|
|
53
|
-
[s.optionClickable]: x
|
|
53
|
+
[s.optionClickable]: x || u
|
|
54
54
|
},
|
|
55
55
|
b
|
|
56
56
|
),
|
|
@@ -78,6 +78,6 @@ const g = "_multiSelectWrapper_1sbxa_1", O = "_selectedOptions_1sbxa_8", C = "_s
|
|
|
78
78
|
);
|
|
79
79
|
};
|
|
80
80
|
export {
|
|
81
|
-
|
|
81
|
+
H as O,
|
|
82
82
|
s
|
|
83
83
|
};
|
|
@@ -11,7 +11,7 @@ import "../../Flex/ui/Flex.js";
|
|
|
11
11
|
import "../../Input/ui/Input.js";
|
|
12
12
|
import "react/jsx-runtime";
|
|
13
13
|
import "react-dom";
|
|
14
|
-
import { b as w } from "../../../FilterWithSave-
|
|
14
|
+
import { b as w } from "../../../FilterWithSave-C18SicWk.js";
|
|
15
15
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
16
16
|
import "../../../index-rKuIKazb.js";
|
|
17
17
|
import "../../MetroTag/ui/MetroTag.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../NewIcon/ui/NewIcon.js";
|
|
3
|
-
import { F as a } from "../../../FilterWithSave-
|
|
3
|
+
import { F as a } from "../../../FilterWithSave-C18SicWk.js";
|
|
4
4
|
import "../../Modal/ui/Modal.js";
|
|
5
|
-
import "../../../Option-
|
|
5
|
+
import "../../../Option-C89kmzR_.js";
|
|
6
6
|
import "../../Button/ui/Button.js";
|
|
7
7
|
export {
|
|
8
8
|
a as FilterWithSave
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as B } from "../../../FilterWithSave-
|
|
3
|
+
import { u as B } from "../../../FilterWithSave-C18SicWk.js";
|
|
4
4
|
import "../../Button/ui/Button.js";
|
|
5
5
|
import "../../mobileButton/ui/MobileButton.js";
|
|
6
6
|
import "../../NewIcon/ui/NewIcon.js";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
const
|
|
1
|
+
const m = ({
|
|
2
2
|
option: e,
|
|
3
3
|
setSelectedOptions: s,
|
|
4
|
-
selectedOptions:
|
|
5
|
-
disabledOptions:
|
|
6
|
-
onChange:
|
|
7
|
-
mode:
|
|
8
|
-
optionsParentArr:
|
|
4
|
+
selectedOptions: u,
|
|
5
|
+
disabledOptions: y,
|
|
6
|
+
onChange: f,
|
|
7
|
+
mode: S,
|
|
8
|
+
optionsParentArr: r
|
|
9
9
|
}) => {
|
|
10
10
|
if (!Array.isArray(e)) {
|
|
11
|
-
if (
|
|
11
|
+
if (y.includes(e))
|
|
12
12
|
return;
|
|
13
|
-
let i =
|
|
14
|
-
if (
|
|
15
|
-
const
|
|
16
|
-
s(
|
|
13
|
+
let i = u.some((l) => l.value === e.value) ? e.value === "selectAll" && r ? [] : u.some((l) => l.value === "selectAll") ? u.filter((l) => l.value !== e.value && l.value !== "selectAll") : u.filter((l) => l.value !== e.value) : e.value === "selectAll" && r ? [...r] : [...u, e];
|
|
14
|
+
if (S === "single") {
|
|
15
|
+
const l = [e];
|
|
16
|
+
s(l), f && f(l);
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
|
-
if (
|
|
20
|
-
"options" in e && (
|
|
21
|
-
(
|
|
19
|
+
if (S === "double") {
|
|
20
|
+
"options" in e && (u.map((v) => JSON.stringify(v)).includes(JSON.stringify(e)) ? i = i.filter(
|
|
21
|
+
(v) => !e.options.map((a) => JSON.stringify(a)).includes(JSON.stringify(v))
|
|
22
22
|
) : Array.isArray(e.options) && (i = [...i, ...e.options]));
|
|
23
|
-
const
|
|
24
|
-
!(
|
|
23
|
+
const l = r == null ? void 0 : r.filter((t) => "options" in t && t.options.includes(e))[0];
|
|
24
|
+
!(l && u.map((t) => JSON.stringify(t)).includes(JSON.stringify(l))) && l && i.push(l);
|
|
25
25
|
}
|
|
26
|
-
s(i),
|
|
26
|
+
s(i), f && f(i);
|
|
27
27
|
}
|
|
28
|
-
},
|
|
28
|
+
}, w = ({
|
|
29
29
|
option: e,
|
|
30
30
|
setSelectedOptions: s,
|
|
31
|
-
selectedOptions:
|
|
32
|
-
disabledOptions:
|
|
33
|
-
onChange:
|
|
31
|
+
selectedOptions: u,
|
|
32
|
+
disabledOptions: y,
|
|
33
|
+
onChange: f
|
|
34
34
|
}) => {
|
|
35
35
|
if (Array.isArray(e)) {
|
|
36
|
-
const
|
|
37
|
-
if (
|
|
38
|
-
const
|
|
39
|
-
s(
|
|
36
|
+
const S = e.filter((r) => !(y != null && y.includes(r)));
|
|
37
|
+
if (S.every((r) => u.map((c) => c).includes(r))) {
|
|
38
|
+
const r = u.filter((c) => !e.includes(c));
|
|
39
|
+
s(r), f && f(r);
|
|
40
40
|
} else {
|
|
41
|
-
const
|
|
42
|
-
s(
|
|
41
|
+
const r = S.filter((i) => !u.includes(i)), c = [...u, ...r];
|
|
42
|
+
s(c), f && f(c);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
w as handleClickModeCategory,
|
|
48
|
+
m as handleClickModeOption
|
|
49
49
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as u, Fragment as I, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { s as n, O as J } from "../../../Option-
|
|
2
|
+
import { s as n, O as J } from "../../../Option-C89kmzR_.js";
|
|
3
3
|
import { NewIcon as N } from "../../NewIcon/ui/NewIcon.js";
|
|
4
4
|
import { c as O } from "../../../index-rKuIKazb.js";
|
|
5
5
|
import { useState as U } from "react";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MultiSelectProps } from './Select.types';
|
|
2
2
|
|
|
3
|
-
export declare const Select: ({ options, customPlaceholder, placeholder, error, disabled, disabledOptions, additionalClass, additionalClassOption, additionalClassBtn, onChange, onBlur, selectedValues, isBtn, btnName, clickableOptions, isListRight, sizeIcon, mode, onClickItem, onCLickSelect, size_s, size_m, size_l, isDisabledNotClickable, isLast, }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const Select: ({ options, customPlaceholder, placeholder, error, disabled, disabledOptions, additionalClass, additionalClassOption, additionalClassBtn, onChange, onBlur, selectedValues, isBtn, btnName, clickableOptions, isListRight, sizeIcon, mode, onClickItem, onCLickSelect, size_s, size_m, size_l, isDisabledNotClickable, isLast, selectAll, }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,169 +1,183 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { c as
|
|
4
|
-
import { s as e, O as
|
|
5
|
-
import { NewIcon as
|
|
6
|
-
import { Category as
|
|
7
|
-
import { handleClickModeOption as
|
|
8
|
-
const
|
|
1
|
+
import { jsxs as u, Fragment as B, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useState as M, useRef as z, useEffect as D } from "react";
|
|
3
|
+
import { c as Z } from "../../../index-rKuIKazb.js";
|
|
4
|
+
import { s as e, O as F } from "../../../Option-C89kmzR_.js";
|
|
5
|
+
import { NewIcon as _ } from "../../NewIcon/ui/NewIcon.js";
|
|
6
|
+
import { Category as A } from "./Category.js";
|
|
7
|
+
import { handleClickModeOption as b, handleClickModeCategory as I } from "../model/selectMode.js";
|
|
8
|
+
const f = Z.bind(e), se = ({
|
|
9
9
|
options: t,
|
|
10
|
-
customPlaceholder:
|
|
11
|
-
placeholder:
|
|
12
|
-
error:
|
|
13
|
-
disabled:
|
|
14
|
-
disabledOptions:
|
|
15
|
-
additionalClass:
|
|
16
|
-
additionalClassOption:
|
|
17
|
-
additionalClassBtn:
|
|
18
|
-
onChange:
|
|
19
|
-
onBlur:
|
|
10
|
+
customPlaceholder: y,
|
|
11
|
+
placeholder: q = "Выберите опции",
|
|
12
|
+
error: G,
|
|
13
|
+
disabled: S,
|
|
14
|
+
disabledOptions: g = [],
|
|
15
|
+
additionalClass: H = "",
|
|
16
|
+
additionalClassOption: J,
|
|
17
|
+
additionalClassBtn: K,
|
|
18
|
+
onChange: P,
|
|
19
|
+
onBlur: C,
|
|
20
20
|
selectedValues: i = [],
|
|
21
|
-
isBtn:
|
|
22
|
-
btnName:
|
|
23
|
-
clickableOptions:
|
|
24
|
-
isListRight:
|
|
25
|
-
sizeIcon:
|
|
21
|
+
isBtn: $ = !1,
|
|
22
|
+
btnName: x,
|
|
23
|
+
clickableOptions: d,
|
|
24
|
+
isListRight: Q = !1,
|
|
25
|
+
sizeIcon: m,
|
|
26
26
|
mode: c = "options",
|
|
27
|
-
onClickItem:
|
|
27
|
+
onClickItem: E,
|
|
28
28
|
onCLickSelect: N,
|
|
29
|
-
size_s:
|
|
30
|
-
size_m:
|
|
31
|
-
size_l:
|
|
32
|
-
isDisabledNotClickable:
|
|
33
|
-
isLast:
|
|
29
|
+
size_s: w = "large",
|
|
30
|
+
size_m: L,
|
|
31
|
+
size_l: R,
|
|
32
|
+
isDisabledNotClickable: h,
|
|
33
|
+
isLast: T,
|
|
34
|
+
selectAll: l
|
|
34
35
|
}) => {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
const U = { value: "selectAll", label: (l == null ? void 0 : l.label) ?? "Выбрать все" }, X = () => l != null && l.enabled ? [U, .../* @__PURE__ */ new Set([...t])] : [.../* @__PURE__ */ new Set([...t])];
|
|
37
|
+
t = Array.isArray(t) ? X() : [];
|
|
38
|
+
const [a, k] = M(i), [o, p] = M(!1), O = z(null), v = (r) => {
|
|
39
|
+
E && E(r);
|
|
38
40
|
const n = {
|
|
39
41
|
option: r,
|
|
40
|
-
selectedOptions:
|
|
41
|
-
disabledOptions:
|
|
42
|
-
setSelectedOptions:
|
|
43
|
-
onChange:
|
|
42
|
+
selectedOptions: a,
|
|
43
|
+
disabledOptions: g,
|
|
44
|
+
setSelectedOptions: k,
|
|
45
|
+
onChange: P,
|
|
44
46
|
mode: c,
|
|
45
47
|
optionsParentArr: t
|
|
46
48
|
};
|
|
47
|
-
Array.isArray(r) ?
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
},
|
|
49
|
+
Array.isArray(r) ? I(n) : b(n);
|
|
50
|
+
}, Y = () => {
|
|
51
|
+
C && C(a);
|
|
52
|
+
}, W = (r) => {
|
|
51
53
|
const n = r.target;
|
|
52
|
-
if (
|
|
54
|
+
if (O.current && !O.current.contains(r.target)) {
|
|
53
55
|
if (n.closest("svg"))
|
|
54
56
|
return;
|
|
55
|
-
|
|
57
|
+
p(!1);
|
|
56
58
|
}
|
|
57
59
|
};
|
|
58
|
-
|
|
59
|
-
document.removeEventListener("click",
|
|
60
|
-
}), [
|
|
61
|
-
const
|
|
62
|
-
return
|
|
63
|
-
i.length !==
|
|
64
|
-
}, [i]), /* @__PURE__ */
|
|
60
|
+
D(() => (document.addEventListener("click", W), () => {
|
|
61
|
+
document.removeEventListener("click", W);
|
|
62
|
+
}), [o]);
|
|
63
|
+
const j = z(i);
|
|
64
|
+
return D(() => {
|
|
65
|
+
i.length !== j.current.length && (k(i), j.current = i);
|
|
66
|
+
}, [i]), /* @__PURE__ */ u(
|
|
65
67
|
"div",
|
|
66
68
|
{
|
|
67
|
-
ref:
|
|
68
|
-
className:
|
|
69
|
+
ref: O,
|
|
70
|
+
className: f(e.multiSelectWrapper, { [e.multiSelectWrapperError]: G }, H),
|
|
69
71
|
tabIndex: 0,
|
|
70
|
-
onBlur:
|
|
72
|
+
onBlur: Y,
|
|
71
73
|
children: [
|
|
72
|
-
/* @__PURE__ */
|
|
73
|
-
|
|
74
|
-
/* @__PURE__ */
|
|
74
|
+
/* @__PURE__ */ u("div", { className: f(e.inputWrapper), children: [
|
|
75
|
+
!$ && /* @__PURE__ */ u(B, { children: [
|
|
76
|
+
/* @__PURE__ */ s(
|
|
75
77
|
"div",
|
|
76
78
|
{
|
|
77
|
-
className:
|
|
79
|
+
className: f(
|
|
78
80
|
e.selectedOptions,
|
|
79
|
-
e[`${
|
|
80
|
-
e[`${
|
|
81
|
-
e[`${
|
|
82
|
-
{ [e.selectedOptionsNotEmpty]:
|
|
83
|
-
{ [e.selectOptionsDisabled]:
|
|
81
|
+
e[`${w}-size`],
|
|
82
|
+
e[`${L}-size_m`],
|
|
83
|
+
e[`${R}-size)_l`],
|
|
84
|
+
{ [e.selectedOptionsNotEmpty]: a.length > 0 },
|
|
85
|
+
{ [e.selectOptionsDisabled]: S }
|
|
84
86
|
),
|
|
85
|
-
onClick: () =>
|
|
86
|
-
children:
|
|
87
|
+
onClick: () => p(!o),
|
|
88
|
+
children: y || (a.length === 0 ? q : "Выбрано " + a.length)
|
|
87
89
|
}
|
|
88
90
|
),
|
|
89
|
-
/* @__PURE__ */
|
|
90
|
-
|
|
91
|
+
/* @__PURE__ */ s(
|
|
92
|
+
_,
|
|
91
93
|
{
|
|
92
94
|
name: "arrowShort",
|
|
93
|
-
deg:
|
|
94
|
-
size:
|
|
95
|
+
deg: o ? "180" : "0",
|
|
96
|
+
size: m ?? "24",
|
|
95
97
|
additionalClass: e.icon
|
|
96
98
|
}
|
|
97
99
|
)
|
|
98
100
|
] }),
|
|
99
|
-
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
+
$ && /* @__PURE__ */ u(B, { children: [
|
|
102
|
+
/* @__PURE__ */ s(
|
|
101
103
|
"button",
|
|
102
104
|
{
|
|
103
|
-
className:
|
|
105
|
+
className: f(
|
|
104
106
|
e.selectedOptions,
|
|
105
|
-
e[`${
|
|
106
|
-
e[`${
|
|
107
|
-
e[`${
|
|
107
|
+
e[`${w}-size`],
|
|
108
|
+
e[`${L}-size_m`],
|
|
109
|
+
e[`${R}-size_l`],
|
|
108
110
|
e.selectedOptionsBtn,
|
|
109
|
-
{ [e.selectOptionsDisabled]:
|
|
110
|
-
|
|
111
|
+
{ [e.selectOptionsDisabled]: S },
|
|
112
|
+
K
|
|
111
113
|
),
|
|
112
114
|
onClick: () => {
|
|
113
|
-
N && N(),
|
|
115
|
+
N && N(), p(!o);
|
|
114
116
|
},
|
|
115
|
-
children:
|
|
117
|
+
children: x
|
|
116
118
|
}
|
|
117
119
|
),
|
|
118
|
-
/* @__PURE__ */
|
|
119
|
-
|
|
120
|
+
/* @__PURE__ */ s(
|
|
121
|
+
_,
|
|
120
122
|
{
|
|
121
123
|
name: "filter",
|
|
122
|
-
deg:
|
|
123
|
-
size:
|
|
124
|
-
additionalClass:
|
|
124
|
+
deg: o ? "180" : "0",
|
|
125
|
+
size: m ?? "24",
|
|
126
|
+
additionalClass: f(e.icon, { [e.iconBtn]: !x })
|
|
125
127
|
}
|
|
126
128
|
)
|
|
127
129
|
] })
|
|
128
130
|
] }),
|
|
129
|
-
|
|
131
|
+
o && /* @__PURE__ */ u(
|
|
130
132
|
"div",
|
|
131
133
|
{
|
|
132
|
-
className:
|
|
134
|
+
className: f(
|
|
133
135
|
e.optionsList,
|
|
134
|
-
{ [e.listRight]:
|
|
135
|
-
{ [e.lastList]:
|
|
136
|
-
|
|
136
|
+
{ [e.listRight]: Q },
|
|
137
|
+
{ [e.lastList]: T },
|
|
138
|
+
J
|
|
137
139
|
),
|
|
138
140
|
children: [
|
|
139
|
-
(c === "options" || c === "single") && (t == null ? void 0 : t.map((r, n) => /* @__PURE__ */
|
|
140
|
-
|
|
141
|
+
(c === "options" || c === "single") && (t == null ? void 0 : t.map((r, n) => /* @__PURE__ */ s(
|
|
142
|
+
F,
|
|
141
143
|
{
|
|
142
|
-
disabledOptions:
|
|
143
|
-
clickableOptions:
|
|
144
|
-
selectedOptions:
|
|
145
|
-
sizeIcon:
|
|
144
|
+
disabledOptions: g,
|
|
145
|
+
clickableOptions: d,
|
|
146
|
+
selectedOptions: a,
|
|
147
|
+
sizeIcon: m,
|
|
146
148
|
option: r,
|
|
147
|
-
handleOptionClick:
|
|
148
|
-
isDisabledNotClickable:
|
|
149
|
+
handleOptionClick: v,
|
|
150
|
+
isDisabledNotClickable: h
|
|
149
151
|
},
|
|
150
152
|
n
|
|
151
153
|
))),
|
|
152
|
-
(c === "category" || c === "double") && (t == null ? void 0 : t.map((r, n) => "options" in r ? /* @__PURE__ */
|
|
153
|
-
|
|
154
|
+
(c === "category" || c === "double") && (t == null ? void 0 : t.map((r, n) => (console.log(t), "options" in r ? /* @__PURE__ */ s(
|
|
155
|
+
A,
|
|
154
156
|
{
|
|
155
|
-
disabledOptions:
|
|
156
|
-
clickableOptions:
|
|
157
|
-
selectedOptions:
|
|
158
|
-
sizeIcon:
|
|
157
|
+
disabledOptions: g,
|
|
158
|
+
clickableOptions: d,
|
|
159
|
+
selectedOptions: a,
|
|
160
|
+
sizeIcon: m,
|
|
159
161
|
category: r,
|
|
160
162
|
mode: c,
|
|
161
163
|
selectedValues: i,
|
|
162
|
-
handleOptionClick:
|
|
163
|
-
isDisabledNotClickable:
|
|
164
|
+
handleOptionClick: v,
|
|
165
|
+
isDisabledNotClickable: h
|
|
164
166
|
},
|
|
165
167
|
n
|
|
166
|
-
) :
|
|
168
|
+
) : r.value === "selectAll" ? /* @__PURE__ */ s(
|
|
169
|
+
F,
|
|
170
|
+
{
|
|
171
|
+
disabledOptions: g,
|
|
172
|
+
clickableOptions: d,
|
|
173
|
+
selectedOptions: a,
|
|
174
|
+
sizeIcon: m,
|
|
175
|
+
option: r,
|
|
176
|
+
handleOptionClick: v,
|
|
177
|
+
isDisabledNotClickable: h
|
|
178
|
+
},
|
|
179
|
+
n
|
|
180
|
+
) : null)))
|
|
167
181
|
]
|
|
168
182
|
}
|
|
169
183
|
)
|
|
@@ -172,5 +186,5 @@ const o = Q.bind(e), ne = ({
|
|
|
172
186
|
);
|
|
173
187
|
};
|
|
174
188
|
export {
|
|
175
|
-
|
|
189
|
+
se as Select
|
|
176
190
|
};
|
|
@@ -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/ui/Modal.js";
|
|
16
|
-
import { a as A } from "../../../FilterWithSave-
|
|
16
|
+
import { a as A } from "../../../FilterWithSave-C18SicWk.js";
|
|
17
17
|
import "../../GroupedInput/ui/GroupedInputs.js";
|
|
18
18
|
import "../../MetroTag/ui/MetroTag.js";
|
|
19
19
|
import "../../Select/ui/Select.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { S as y } from "../../../FilterWithSave-
|
|
3
|
+
import { S as y } from "../../../FilterWithSave-C18SicWk.js";
|
|
4
4
|
import "../../Text/ui/Text.js";
|
|
5
5
|
import "../../../index-rKuIKazb.js";
|
|
6
6
|
import "../../Button/ui/Button.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { M as f } from "../../../Menu-
|
|
2
|
+
import { M as f } from "../../../Menu-Cc1GAVbB.js";
|
|
3
3
|
import { useState as c } from "react";
|
|
4
4
|
import "../../../components/Button/ui/Button.js";
|
|
5
5
|
import "../../../components/mobileButton/ui/MobileButton.js";
|
|
@@ -12,7 +12,7 @@ import "../../../components/Text/ui/Text.js";
|
|
|
12
12
|
import "../../../components/Flex/ui/Flex.js";
|
|
13
13
|
import "../../../components/Input/ui/Input.js";
|
|
14
14
|
import "react-dom";
|
|
15
|
-
import "../../../FilterWithSave-
|
|
15
|
+
import "../../../FilterWithSave-C18SicWk.js";
|
|
16
16
|
import "../../../components/GroupedInput/ui/GroupedInputs.js";
|
|
17
17
|
import "../../../index-rKuIKazb.js";
|
|
18
18
|
import "../../../components/MetroTag/ui/MetroTag.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { M as z } from "../../Menu-
|
|
2
|
+
import { M as z } from "../../Menu-Cc1GAVbB.js";
|
|
3
3
|
import "../../components/Button/ui/Button.js";
|
|
4
4
|
import "../../components/mobileButton/ui/MobileButton.js";
|
|
5
5
|
import "../../components/NewIcon/ui/NewIcon.js";
|
|
@@ -12,7 +12,7 @@ import "../../components/Flex/ui/Flex.js";
|
|
|
12
12
|
import "../../components/Input/ui/Input.js";
|
|
13
13
|
import "react";
|
|
14
14
|
import "react-dom";
|
|
15
|
-
import "../../FilterWithSave-
|
|
15
|
+
import "../../FilterWithSave-C18SicWk.js";
|
|
16
16
|
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
17
17
|
import "../../index-rKuIKazb.js";
|
|
18
18
|
import "../../components/MetroTag/ui/MetroTag.js";
|
package/dist/main.js
CHANGED
|
@@ -10,7 +10,7 @@ import { Flex as h } from "./components/Flex/ui/Flex.js";
|
|
|
10
10
|
import { Input as T } from "./components/Input/ui/Input.js";
|
|
11
11
|
import { Modal as k } from "./components/Modal/ui/Modal.js";
|
|
12
12
|
import { FieldInput as F } from "./components/FieldInput/ui/FieldInput.js";
|
|
13
|
-
import { F as w, L as I, M as L, a as N, S as v } from "./FilterWithSave-
|
|
13
|
+
import { F as w, L as I, M as L, a as N, S as v } from "./FilterWithSave-C18SicWk.js";
|
|
14
14
|
import { GroupedInputs as j } from "./components/GroupedInput/ui/GroupedInputs.js";
|
|
15
15
|
import { Logo as y } from "./components/Logo/ui/Logo.js";
|
|
16
16
|
import { MetroTag as E } from "./components/MetroTag/ui/MetroTag.js";
|
|
@@ -11,7 +11,7 @@ import "../../components/Text/ui/Text.js";
|
|
|
11
11
|
import "../../components/Flex/ui/Flex.js";
|
|
12
12
|
import "../../components/Input/ui/Input.js";
|
|
13
13
|
import "react-dom";
|
|
14
|
-
import "../../FilterWithSave-
|
|
14
|
+
import "../../FilterWithSave-C18SicWk.js";
|
|
15
15
|
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
16
16
|
import "../../index-rKuIKazb.js";
|
|
17
17
|
import "../../components/MetroTag/ui/MetroTag.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as e } from "react";
|
|
3
|
-
import { M as n } from "../../FilterWithSave-
|
|
3
|
+
import { M as n } from "../../FilterWithSave-C18SicWk.js";
|
|
4
4
|
import { Button as s } from "../../components/Button/ui/Button.js";
|
|
5
5
|
import "../../components/mobileButton/ui/MobileButton.js";
|
|
6
6
|
import "../../components/NewIcon/ui/NewIcon.js";
|
|
@@ -11,7 +11,7 @@ import "../../components/Flex/ui/Flex.js";
|
|
|
11
11
|
import "../../components/Input/ui/Input.js";
|
|
12
12
|
import "react";
|
|
13
13
|
import "react-dom";
|
|
14
|
-
import "../../FilterWithSave-
|
|
14
|
+
import "../../FilterWithSave-C18SicWk.js";
|
|
15
15
|
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
16
16
|
import "../../index-rKuIKazb.js";
|
|
17
17
|
import "../../components/MetroTag/ui/MetroTag.js";
|
|
@@ -11,7 +11,7 @@ import "../../components/Flex/ui/Flex.js";
|
|
|
11
11
|
import { Input as t } from "../../components/Input/ui/Input.js";
|
|
12
12
|
import "react";
|
|
13
13
|
import "react-dom";
|
|
14
|
-
import "../../FilterWithSave-
|
|
14
|
+
import "../../FilterWithSave-C18SicWk.js";
|
|
15
15
|
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
16
16
|
import "../../index-rKuIKazb.js";
|
|
17
17
|
import "../../components/MetroTag/ui/MetroTag.js";
|
|
@@ -11,7 +11,7 @@ import "../../components/Flex/ui/Flex.js";
|
|
|
11
11
|
import "../../components/Input/ui/Input.js";
|
|
12
12
|
import "react";
|
|
13
13
|
import "react-dom";
|
|
14
|
-
import "../../FilterWithSave-
|
|
14
|
+
import "../../FilterWithSave-C18SicWk.js";
|
|
15
15
|
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
16
16
|
import { Logo as r } from "../../components/Logo/ui/Logo.js";
|
|
17
17
|
import "../../components/MetroTag/ui/MetroTag.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c } from "react";
|
|
3
3
|
import { LotCardSkeleton as i } from "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
4
|
-
import { L as e } from "../../FilterWithSave-
|
|
4
|
+
import { L as e } from "../../FilterWithSave-C18SicWk.js";
|
|
5
5
|
import { ProjectCardSkeleton as p } from "../../components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js";
|
|
6
6
|
import { testLot as r } from "./const.js";
|
|
7
7
|
const m = "_root_1w9fc_1", d = "_lotWrapper_1w9fc_8", h = "_optionsWrapper_1w9fc_14", f = "_isFetching_1w9fc_20", s = {
|
|
@@ -11,7 +11,7 @@ import "../../components/Text/ui/Text.js";
|
|
|
11
11
|
import "../../components/Flex/ui/Flex.js";
|
|
12
12
|
import "../../components/Input/ui/Input.js";
|
|
13
13
|
import { Modal as m } from "../../components/Modal/ui/Modal.js";
|
|
14
|
-
import "../../FilterWithSave-
|
|
14
|
+
import "../../FilterWithSave-C18SicWk.js";
|
|
15
15
|
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
16
16
|
import "../../index-rKuIKazb.js";
|
|
17
17
|
import "../../components/MetroTag/ui/MetroTag.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as r } from "react";
|
|
3
3
|
import { SummarySelect as h } from "../../components/SummarySelect/ui/SummarySelect.js";
|
|
4
|
-
import { F as u, a as b } from "../../FilterWithSave-
|
|
4
|
+
import { F as u, a as b } from "../../FilterWithSave-C18SicWk.js";
|
|
5
5
|
import { defaultOption as i, defaultCategory as a } from "./const.js";
|
|
6
6
|
import { CheckboxSelect as y } from "../../components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
7
7
|
import { CheckBox as k } from "../../components/CheckBox/CheckBox.js";
|
|
@@ -12,7 +12,7 @@ const V = "_sort_1szg2_1", _ = "_addClass_1szg2_6", x = "_filterWithSave_1szg2_1
|
|
|
12
12
|
addClass: _,
|
|
13
13
|
filterWithSave: x
|
|
14
14
|
}, O = () => {
|
|
15
|
-
const [v, g] = r(i[0]), [t, p] = r([]), [
|
|
15
|
+
const [v, g] = r(i[0]), [t, p] = r([]), [d, f] = r("options"), S = [
|
|
16
16
|
{ label: "sdfsdfsdf", setValue: () => {
|
|
17
17
|
}, isSelected: !1, disabled: !0 },
|
|
18
18
|
{ label: "sdfsdfsdf", setValue: () => {
|
|
@@ -23,13 +23,13 @@ const V = "_sort_1szg2_1", _ = "_addClass_1szg2_6", x = "_filterWithSave_1szg2_1
|
|
|
23
23
|
}, isSelected: !0, disabled: !1 },
|
|
24
24
|
{ label: "sdfsdfsdf", setValue: () => {
|
|
25
25
|
}, isSelected: !0, disabled: !1 }
|
|
26
|
-
], C = (
|
|
27
|
-
!
|
|
28
|
-
},
|
|
29
|
-
|
|
26
|
+
], C = (l) => {
|
|
27
|
+
!l || !l.target || g(l.target.value);
|
|
28
|
+
}, o = (l) => {
|
|
29
|
+
l && p(l);
|
|
30
30
|
};
|
|
31
|
-
return /* @__PURE__ */
|
|
32
|
-
/* @__PURE__ */
|
|
31
|
+
return /* @__PURE__ */ s("div", { className: n.root, children: [
|
|
32
|
+
/* @__PURE__ */ s("div", { children: [
|
|
33
33
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
34
34
|
u,
|
|
35
35
|
{
|
|
@@ -48,11 +48,11 @@ const V = "_sort_1szg2_1", _ = "_addClass_1szg2_6", x = "_filterWithSave_1szg2_1
|
|
|
48
48
|
]
|
|
49
49
|
}
|
|
50
50
|
) }),
|
|
51
|
-
/* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ s("div", { children: [
|
|
52
52
|
/* @__PURE__ */ e("h2", { children: " Селектор с чекбоксами" }),
|
|
53
53
|
/* @__PURE__ */ e(y, { checkboxes: S })
|
|
54
54
|
] }),
|
|
55
|
-
/* @__PURE__ */
|
|
55
|
+
/* @__PURE__ */ s("div", { children: [
|
|
56
56
|
/* @__PURE__ */ e("h2", { children: "старый чекбокс" }),
|
|
57
57
|
/* @__PURE__ */ e(
|
|
58
58
|
k,
|
|
@@ -64,7 +64,7 @@ const V = "_sort_1szg2_1", _ = "_addClass_1szg2_6", x = "_filterWithSave_1szg2_1
|
|
|
64
64
|
}
|
|
65
65
|
)
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */
|
|
67
|
+
/* @__PURE__ */ s("div", { children: [
|
|
68
68
|
/* @__PURE__ */ e("h2", { children: " Фильтрация с сохранением" }),
|
|
69
69
|
/* @__PURE__ */ e("div", { className: n.filterWithSave, children: /* @__PURE__ */ e(u, {}) })
|
|
70
70
|
] }),
|
|
@@ -75,26 +75,26 @@ const V = "_sort_1szg2_1", _ = "_addClass_1szg2_6", x = "_filterWithSave_1szg2_1
|
|
|
75
75
|
mini: !0,
|
|
76
76
|
selectedOption: v,
|
|
77
77
|
options: i,
|
|
78
|
-
onChange: (
|
|
78
|
+
onChange: (l) => C(l)
|
|
79
79
|
}
|
|
80
80
|
) })
|
|
81
81
|
] }),
|
|
82
|
-
/* @__PURE__ */
|
|
83
|
-
/* @__PURE__ */
|
|
82
|
+
/* @__PURE__ */ s("div", { className: n.summarySelect, children: [
|
|
83
|
+
/* @__PURE__ */ s("div", { style: { display: "flex", gap: "20px" }, children: [
|
|
84
84
|
/* @__PURE__ */ e("h2", { children: "SummarySelect" }),
|
|
85
85
|
/* @__PURE__ */ e(
|
|
86
86
|
m,
|
|
87
87
|
{
|
|
88
|
-
isActive:
|
|
89
|
-
onClick: () => f(
|
|
88
|
+
isActive: d === "category",
|
|
89
|
+
onClick: () => f(d === "options" ? "category" : "options"),
|
|
90
90
|
children: "mode category"
|
|
91
91
|
}
|
|
92
92
|
),
|
|
93
93
|
/* @__PURE__ */ e(
|
|
94
94
|
m,
|
|
95
95
|
{
|
|
96
|
-
isActive:
|
|
97
|
-
onClick: () => f(
|
|
96
|
+
isActive: d === "double",
|
|
97
|
+
onClick: () => f(d === "options" ? "double" : "options"),
|
|
98
98
|
children: "mode double"
|
|
99
99
|
}
|
|
100
100
|
)
|
|
@@ -102,12 +102,13 @@ const V = "_sort_1szg2_1", _ = "_addClass_1szg2_6", x = "_filterWithSave_1szg2_1
|
|
|
102
102
|
/* @__PURE__ */ e(
|
|
103
103
|
h,
|
|
104
104
|
{
|
|
105
|
-
mode:
|
|
105
|
+
mode: d,
|
|
106
106
|
label: "Проект",
|
|
107
107
|
isShowReset: !0,
|
|
108
108
|
selectedValues: t,
|
|
109
|
-
options:
|
|
110
|
-
onChange: (
|
|
109
|
+
options: d === "category" ? a : i,
|
|
110
|
+
onChange: (l) => o(l),
|
|
111
|
+
selectAll: { enabled: !0 }
|
|
111
112
|
}
|
|
112
113
|
),
|
|
113
114
|
/* @__PURE__ */ e(
|
|
@@ -118,22 +119,22 @@ const V = "_sort_1szg2_1", _ = "_addClass_1szg2_6", x = "_filterWithSave_1szg2_1
|
|
|
118
119
|
isShowReset: !0,
|
|
119
120
|
selectedValues: t,
|
|
120
121
|
options: i,
|
|
121
|
-
onChange: (
|
|
122
|
+
onChange: (l) => o(l)
|
|
122
123
|
}
|
|
123
124
|
)
|
|
124
125
|
] }),
|
|
125
|
-
/* @__PURE__ */
|
|
126
|
+
/* @__PURE__ */ s("div", { children: [
|
|
126
127
|
/* @__PURE__ */ e("h2", { children: "Селект mode option" }),
|
|
127
128
|
/* @__PURE__ */ e(
|
|
128
129
|
c,
|
|
129
130
|
{
|
|
130
131
|
selectedValues: t,
|
|
131
132
|
options: a,
|
|
132
|
-
onChange: (
|
|
133
|
+
onChange: (l) => o(l)
|
|
133
134
|
}
|
|
134
135
|
)
|
|
135
136
|
] }),
|
|
136
|
-
/* @__PURE__ */
|
|
137
|
+
/* @__PURE__ */ s("div", { children: [
|
|
137
138
|
/* @__PURE__ */ e("h2", { children: "Селект mode category" }),
|
|
138
139
|
/* @__PURE__ */ e(
|
|
139
140
|
c,
|
|
@@ -141,24 +142,25 @@ const V = "_sort_1szg2_1", _ = "_addClass_1szg2_6", x = "_filterWithSave_1szg2_1
|
|
|
141
142
|
mode: "category",
|
|
142
143
|
selectedValues: t,
|
|
143
144
|
options: a,
|
|
144
|
-
onChange: (
|
|
145
|
+
onChange: (l) => o(l)
|
|
145
146
|
}
|
|
146
147
|
)
|
|
147
148
|
] }),
|
|
148
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ s("div", { children: [
|
|
149
150
|
/* @__PURE__ */ e("h2", { children: "Селект mode double" }),
|
|
150
151
|
/* @__PURE__ */ e(
|
|
151
152
|
c,
|
|
152
153
|
{
|
|
154
|
+
selectAll: { enabled: !0 },
|
|
153
155
|
selectedValues: t,
|
|
154
156
|
options: a,
|
|
155
157
|
mode: "double",
|
|
156
158
|
clickableOptions: ["Category1", "options1", "options3"],
|
|
157
|
-
onChange: (
|
|
159
|
+
onChange: (l) => o(l)
|
|
158
160
|
}
|
|
159
161
|
)
|
|
160
162
|
] }),
|
|
161
|
-
/* @__PURE__ */
|
|
163
|
+
/* @__PURE__ */ s("div", { children: [
|
|
162
164
|
/* @__PURE__ */ e("h2", { children: "Селект кнопка" }),
|
|
163
165
|
/* @__PURE__ */ e("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ e(
|
|
164
166
|
c,
|
|
@@ -169,7 +171,7 @@ const V = "_sort_1szg2_1", _ = "_addClass_1szg2_6", x = "_filterWithSave_1szg2_1
|
|
|
169
171
|
isListRight: !0,
|
|
170
172
|
selectedValues: t,
|
|
171
173
|
options: i,
|
|
172
|
-
onChange: (
|
|
174
|
+
onChange: (l) => o(l)
|
|
173
175
|
}
|
|
174
176
|
) })
|
|
175
177
|
] })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as p, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as o } from "react";
|
|
3
|
-
import { S as i } from "../../FilterWithSave-
|
|
3
|
+
import { S as i } from "../../FilterWithSave-C18SicWk.js";
|
|
4
4
|
import { FieldInput as l } from "../../components/FieldInput/ui/FieldInput.js";
|
|
5
5
|
import { TabSelect as d } from "../../components/TabSelect/ui/TabSelect.js";
|
|
6
6
|
const m = "_root_idppf_1", _ = "_tabsShort_idppf_7", w = "_tabSelectWrapper_idppf_11", v = "_destinationWrapper_idppf_15", g = "_whiteRow_apart_idppf_22", u = "_row_apart_idppf_26", n = {
|
|
@@ -11,7 +11,7 @@ import "../../components/Flex/ui/Flex.js";
|
|
|
11
11
|
import "../../components/Input/ui/Input.js";
|
|
12
12
|
import "react";
|
|
13
13
|
import "react-dom";
|
|
14
|
-
import "../../FilterWithSave-
|
|
14
|
+
import "../../FilterWithSave-C18SicWk.js";
|
|
15
15
|
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
16
16
|
import "../../index-rKuIKazb.js";
|
|
17
17
|
import { MetroTag as o } from "../../components/MetroTag/ui/MetroTag.js";
|