stone-kit 0.0.877 → 0.0.879
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/{src/pages/ButtonsPage/ButtonState/ButtonState.module.scss.js → ButtonState.module-DtW3aevR.js} +1 -4
- package/dist/FilterWithSave-Bp6rH8Pe.js +2230 -0
- package/dist/Menu-CgCfinVZ.js +513 -0
- package/dist/Option-BVIm7wOW.js +83 -0
- package/dist/{src/components/NewIcon/assets/PinTrans.svg.js → PinTrans-D6OZq76b.js} +4 -4
- package/dist/Router.js +9 -9
- package/dist/{src/components/NewIcon/assets/SmallFilter.svg.js → SmallFilter-C-VKnbkP.js} +3 -3
- package/dist/components/Button/ui/Button.js +73 -44
- package/dist/components/CheckBox/CheckBox.js +46 -35
- package/dist/components/CheckBoxNew/CheckBoxNew.js +23 -19
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +31 -24
- package/dist/components/DestinationTab/ui/DestinationTab.js +48 -35
- package/dist/components/FieldInput/ui/FieldInput.js +10 -7
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +5 -61
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +7 -266
- package/dist/components/Flex/ui/Flex.js +61 -26
- package/dist/components/FormModal/ui/ModalForm.js +14 -289
- package/dist/components/GroupedInput/ui/GroupedInputs.js +6 -5
- package/dist/components/Input/ui/Input.js +3307 -74
- package/dist/components/Logo/ui/Logo.js +31 -19
- package/dist/components/Logo/ui/Logo.types.js +10 -18
- package/dist/components/LotCard/hooks/useLotCard.js +11 -125
- package/dist/components/LotCard/index.js +2 -2
- package/dist/components/LotCard/ui/LotCard.js +9 -150
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +58 -31
- package/dist/components/MetroLabel/ui/MetroLabel.js +24 -19
- package/dist/components/MetroTag/ui/MetroTag.js +72 -59
- package/dist/components/Modal/ui/Modal.js +38 -33
- package/dist/components/ModalSuccess/ModalSuccess.js +35 -26
- package/dist/components/NewIcon/icons/PinTrans.js +3 -3
- package/dist/components/NewIcon/icons/SmallFilter.js +1 -1
- package/dist/components/NewIcon/ui/NewIcon.js +301 -141
- package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +15 -5
- package/dist/components/RoundButton/ui/RoundButton.js +60 -42
- package/dist/components/Select/ui/Category.js +29 -30
- package/dist/components/Select/ui/Option.js +5 -52
- package/dist/components/Select/ui/Select.js +23 -24
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +28 -27
- package/dist/components/SortSelect/hooks/useSortSelect.js +4 -59
- package/dist/components/SortSelect/index.js +1 -1
- package/dist/components/SortSelect/ui/SortSelect.js +9 -114
- package/dist/components/SummarySelect/ui/SummarySelect.js +69 -59
- package/dist/components/Switcher/ui/Switcher.js +24 -13
- package/dist/components/TabSelect/ui/TabSelect.js +34 -28
- package/dist/components/TabSwitcher/index.js +2 -2
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +7 -84
- package/dist/components/Tag/ui/Tag.js +67 -19
- package/dist/components/Text/ui/Text.js +13 -12
- package/dist/components/TextArea/TextArea.js +14 -11
- package/dist/components/ZoomControls/ui/ZoomControls.js +11 -8
- package/dist/components/mobileButton/ui/MobileButton.js +39 -34
- package/dist/index-DmANy9jd.js +890 -0
- package/dist/{node_modules/classnames/index.js → index-rKuIKazb.js} +15 -12
- package/dist/layout/Layout.js +8 -7
- package/dist/layout/components/Header/Header.js +44 -41
- package/dist/layout/components/Menu.js +6 -111
- package/dist/main.js +42 -46
- package/dist/pages/ButtonsPage/ButtonState/ButtonState.js +1 -1
- package/dist/pages/ButtonsPage/Buttons.js +62 -54
- package/dist/pages/CheckboxPage/CheckboxPage.js +51 -47
- package/dist/pages/FormsPage/FormsPage.js +32 -31
- package/dist/pages/HomePage/HomePage.js +4 -3
- package/dist/pages/IconsPage/IconsPage.js +10 -12
- package/dist/pages/InputPage/InputPage.js +12 -17
- package/dist/pages/LogoPage/LogoPage.js +14 -17
- package/dist/pages/LotsPage/LotsPage.js +15 -15
- package/dist/pages/ModalsPage/ModalPage.js +14 -19
- package/dist/pages/SelectPage/SelectPage.js +41 -42
- package/dist/pages/TabsPage/TabsPage.js +51 -49
- package/dist/pages/TagsPage/TagsPage.js +7 -10
- package/dist/stories/Button.js +4 -5
- package/dist/stories/Header.js +3 -4
- package/dist/stories/Page.js +2 -3
- package/dist/style.css +1 -1
- package/dist/useSortSelect-CjZXLFOG.js +80 -0
- package/package.json +4 -3
- package/dist/_virtual/_commonjsHelpers.js +0 -6
- package/dist/_virtual/bind.js +0 -4
- package/dist/_virtual/index.js +0 -4
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/node_modules/@remix-run/router/dist/router.js +0 -431
- package/dist/node_modules/classnames/bind.js +0 -42
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +0 -35
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +0 -31
- package/dist/node_modules/imask/esm/controls/html-mask-element.js +0 -48
- package/dist/node_modules/imask/esm/controls/input-history.js +0 -30
- package/dist/node_modules/imask/esm/controls/input.js +0 -224
- package/dist/node_modules/imask/esm/controls/mask-element.js +0 -43
- package/dist/node_modules/imask/esm/core/action-details.js +0 -51
- package/dist/node_modules/imask/esm/core/change-details.js +0 -36
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js +0 -44
- package/dist/node_modules/imask/esm/core/holder.js +0 -6
- package/dist/node_modules/imask/esm/core/utils.js +0 -80
- package/dist/node_modules/imask/esm/index.js +0 -50
- package/dist/node_modules/imask/esm/masked/base.js +0 -257
- package/dist/node_modules/imask/esm/masked/date.js +0 -118
- package/dist/node_modules/imask/esm/masked/dynamic.js +0 -224
- package/dist/node_modules/imask/esm/masked/enum.js +0 -70
- package/dist/node_modules/imask/esm/masked/factory.js +0 -51
- package/dist/node_modules/imask/esm/masked/function.js +0 -23
- package/dist/node_modules/imask/esm/masked/number.js +0 -215
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +0 -110
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js +0 -102
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +0 -103
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +0 -134
- package/dist/node_modules/imask/esm/masked/pattern.js +0 -339
- package/dist/node_modules/imask/esm/masked/pipe.js +0 -23
- package/dist/node_modules/imask/esm/masked/range.js +0 -82
- package/dist/node_modules/imask/esm/masked/regexp.js +0 -21
- package/dist/node_modules/imask/esm/masked/repeat.js +0 -106
- package/dist/node_modules/object-assign/index.js +0 -55
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -55
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -53
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -330
- package/dist/node_modules/prop-types/index.js +0 -15
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -11
- package/dist/node_modules/prop-types/lib/has.js +0 -7
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -95
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -79
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
- package/dist/node_modules/react-hook-form/dist/index.esm.js +0 -1062
- package/dist/node_modules/react-imask/esm/input.js +0 -25
- package/dist/node_modules/react-imask/esm/mixin.js +0 -131
- package/dist/node_modules/react-router/dist/index.js +0 -486
- package/dist/node_modules/react-router-dom/dist/index.js +0 -424
- package/dist/src/components/Button/ui/Button.module.scss.js +0 -49
- package/dist/src/components/CheckBox/s.module.scss.js +0 -24
- package/dist/src/components/CheckBoxNew/s.module.scss.js +0 -13
- package/dist/src/components/CheckboxSelect/ui/s.module.scss.js +0 -19
- package/dist/src/components/DestinationTab/ui/DestinationTab.module.scss.js +0 -23
- package/dist/src/components/FieldInput/ui/FieldInput.module.scss.js +0 -11
- package/dist/src/components/FilterWithSave/ui/s.module.scss.js +0 -39
- package/dist/src/components/Flex/ui/Flex.module.scss.js +0 -41
- package/dist/src/components/FormModal/ui/ModalForm.module.scss.js +0 -31
- package/dist/src/components/GroupedInput/ui/GroupedInputs.module.scss.js +0 -7
- package/dist/src/components/Input/ui/Input.module.scss.js +0 -43
- package/dist/src/components/Logo/assets/LogoBlack.svg.js +0 -4
- package/dist/src/components/Logo/assets/LogoDom.svg.js +0 -4
- package/dist/src/components/Logo/assets/LogoNewDom.svg.js +0 -4
- package/dist/src/components/Logo/assets/LogoNewOffice.svg.js +0 -4
- package/dist/src/components/Logo/assets/LogoOffice.svg.js +0 -4
- package/dist/src/components/Logo/assets/LogoRealty.svg.js +0 -4
- package/dist/src/components/Logo/assets/LogoValue.svg.js +0 -4
- package/dist/src/components/Logo/assets/LogoWhite.svg.js +0 -4
- package/dist/src/components/Logo/ui/Logo.module.scss.js +0 -29
- package/dist/src/components/LotCard/assets/testLot.webp.js +0 -4
- package/dist/src/components/LotCard/ui/LotCard.module.scss.js +0 -71
- package/dist/src/components/LotCardSkeleton/ui/LotCardSkeleton.module.scss.js +0 -59
- package/dist/src/components/MetroLabel/ui/MetroLabel.module.scss.js +0 -15
- package/dist/src/components/MetroTag/ui/MetroTag.module.scss.js +0 -31
- package/dist/src/components/Modal/ui/Modal.module.scss.js +0 -15
- package/dist/src/components/ModalSuccess/styles.module.scss.js +0 -23
- package/dist/src/components/NewIcon/assets/ArrowLong.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/ArrowShort.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Auto.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Building.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Burger.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/BurgerClose.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Call.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Callback.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Case.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Check.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Circle.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Close.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/DirectionDown.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Download.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Filter.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Food.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Fullscreen.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Heart.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Layers.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/LayersFilled.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Loader.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Lock.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Metro.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Minus.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/MinusCheck.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Moon.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Park.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Pedestrian.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Phone.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/PhoneFilled.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Pin.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Play.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Play2.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Plus.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Redo.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Ruble.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Search.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/SelectChecked.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/SelectUnchecked.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Share.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Sport.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/SquareMeter.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Star.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/StarFilled.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Sun.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Telegram.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/Timer.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/TwoArrows.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/User.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/WhatsApp.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/WithoutDecor.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/arrowRight.svg.js +0 -10
- package/dist/src/components/NewIcon/assets/mail.svg.js +0 -10
- package/dist/src/components/NewIcon/ui/NewIcon.module.scss.js +0 -4
- package/dist/src/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.module.scss.js +0 -25
- package/dist/src/components/RoundButton/ui/RoundButton.module.scss.js +0 -29
- package/dist/src/components/Select/ui/Select.module.scss.js +0 -52
- package/dist/src/components/SliderNavigation/ui/SliderNavigation.module.scss.js +0 -7
- package/dist/src/components/SortSelect/ui/SortSelect.module.scss.js +0 -41
- package/dist/src/components/SummarySelect/ui/SummarySelect.module.scss.js +0 -25
- package/dist/src/components/Switcher/ui/Switcher.module.scss.js +0 -27
- package/dist/src/components/TabSelect/ui/TabSelect.module.scss.js +0 -17
- package/dist/src/components/TabSwitcher/ui/TabSwitcher.module.scss.js +0 -57
- package/dist/src/components/Tag/ui/Tag.module.scss.js +0 -70
- package/dist/src/components/Text/ui/Text.module.scss.js +0 -7
- package/dist/src/components/TextArea/styles.module.scss.js +0 -9
- package/dist/src/components/ZoomControls/ui/ZoomControls.module.scss.js +0 -11
- package/dist/src/components/mobileButton/ui/MobileButton.module.scss.js +0 -12
- package/dist/src/layout/components/Header/s.module.scss.js +0 -19
- package/dist/src/layout/components/Menu.module.scss.js +0 -9
- package/dist/src/layout/style.module.scss.js +0 -7
- package/dist/src/pages/ButtonsPage/ButtonState/ButtonState.js +0 -18
- package/dist/src/pages/ButtonsPage/ButtonsPage.module.scss.js +0 -9
- package/dist/src/pages/CheckboxPage/CheckboxPage.module.scss.js +0 -13
- package/dist/src/pages/FormsPage/FormsPage.module.scss.js +0 -15
- package/dist/src/pages/HomePage/HomePage.module.scss.js +0 -7
- package/dist/src/pages/IconsPage/IconsPage.module.scss.js +0 -9
- package/dist/src/pages/InputPage/InputPage.module.scss.js +0 -4
- package/dist/src/pages/LogoPage/LogoPage.module.scss.js +0 -7
- package/dist/src/pages/LotsPage/LotsPage.module.scss.js +0 -13
- package/dist/src/pages/ModalsPage/ModalPage.module.scss.js +0 -4
- package/dist/src/pages/SelectPage/SelectPage.module.scss.js +0 -11
- package/dist/src/pages/TabsPage/TabsPage.module.scss.js +0 -17
- package/dist/src/pages/TagsPage/TagsPage.module.scss.js +0 -7
- package/dist/src/stories/button.css.js +0 -1
- package/dist/src/stories/header.css.js +0 -1
- package/dist/src/stories/page.css.js +0 -1
|
@@ -0,0 +1,513 @@
|
|
|
1
|
+
import { jsxs as j, jsx as b } from "react/jsx-runtime";
|
|
2
|
+
import * as c from "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
import { c as $, b as ee, N as D, s as S, w as X, u as te, d as F, e as W, D as ne, f as re, g as I, h as oe, i as ie, j as N, k as ae, m as z, l as le } from "./index-DmANy9jd.js";
|
|
5
|
+
import "./components/Button/ui/Button.js";
|
|
6
|
+
import "./components/mobileButton/ui/MobileButton.js";
|
|
7
|
+
import { NewIcon as se } from "./components/NewIcon/ui/NewIcon.js";
|
|
8
|
+
import "./components/DestinationTab/ui/DestinationTab.js";
|
|
9
|
+
import "./components/RoundButton/ui/RoundButton.js";
|
|
10
|
+
import "./components/Tag/ui/Tag.js";
|
|
11
|
+
import "./components/Switcher/ui/Switcher.js";
|
|
12
|
+
import "./components/Text/ui/Text.js";
|
|
13
|
+
import "./components/Flex/ui/Flex.js";
|
|
14
|
+
import "./components/Input/ui/Input.js";
|
|
15
|
+
import "./FilterWithSave-Bp6rH8Pe.js";
|
|
16
|
+
import "./components/GroupedInput/ui/GroupedInputs.js";
|
|
17
|
+
import "./index-rKuIKazb.js";
|
|
18
|
+
import "./components/MetroTag/ui/MetroTag.js";
|
|
19
|
+
import "./components/Select/ui/Select.js";
|
|
20
|
+
import "./components/SliderNavigation/ui/SliderNavigation.js";
|
|
21
|
+
import "./components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
22
|
+
import "./components/TabSelect/ui/TabSelect.js";
|
|
23
|
+
import "./components/CheckBox/CheckBox.js";
|
|
24
|
+
import "./components/CheckBoxNew/CheckBoxNew.js";
|
|
25
|
+
import "./components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
26
|
+
/**
|
|
27
|
+
* React Router DOM v6.26.0
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Remix Software Inc.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
33
|
+
*
|
|
34
|
+
* @license MIT
|
|
35
|
+
*/
|
|
36
|
+
function x() {
|
|
37
|
+
return x = Object.assign ? Object.assign.bind() : function(e) {
|
|
38
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
39
|
+
var r = arguments[n];
|
|
40
|
+
for (var a in r)
|
|
41
|
+
Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
|
|
42
|
+
}
|
|
43
|
+
return e;
|
|
44
|
+
}, x.apply(this, arguments);
|
|
45
|
+
}
|
|
46
|
+
function M(e, n) {
|
|
47
|
+
if (e == null)
|
|
48
|
+
return {};
|
|
49
|
+
var r = {}, a = Object.keys(e), t, o;
|
|
50
|
+
for (o = 0; o < a.length; o++)
|
|
51
|
+
t = a[o], !(n.indexOf(t) >= 0) && (r[t] = e[t]);
|
|
52
|
+
return r;
|
|
53
|
+
}
|
|
54
|
+
const T = "get", L = "application/x-www-form-urlencoded";
|
|
55
|
+
function P(e) {
|
|
56
|
+
return e != null && typeof e.tagName == "string";
|
|
57
|
+
}
|
|
58
|
+
function ue(e) {
|
|
59
|
+
return P(e) && e.tagName.toLowerCase() === "button";
|
|
60
|
+
}
|
|
61
|
+
function ce(e) {
|
|
62
|
+
return P(e) && e.tagName.toLowerCase() === "form";
|
|
63
|
+
}
|
|
64
|
+
function me(e) {
|
|
65
|
+
return P(e) && e.tagName.toLowerCase() === "input";
|
|
66
|
+
}
|
|
67
|
+
function fe(e) {
|
|
68
|
+
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
69
|
+
}
|
|
70
|
+
function de(e, n) {
|
|
71
|
+
return e.button === 0 && // Ignore everything but left clicks
|
|
72
|
+
(!n || n === "_self") && // Let browser handle "target=_blank" etc.
|
|
73
|
+
!fe(e);
|
|
74
|
+
}
|
|
75
|
+
let R = null;
|
|
76
|
+
function pe() {
|
|
77
|
+
if (R === null)
|
|
78
|
+
try {
|
|
79
|
+
new FormData(
|
|
80
|
+
document.createElement("form"),
|
|
81
|
+
// @ts-expect-error if FormData supports the submitter parameter, this will throw
|
|
82
|
+
0
|
|
83
|
+
), R = !1;
|
|
84
|
+
} catch {
|
|
85
|
+
R = !0;
|
|
86
|
+
}
|
|
87
|
+
return R;
|
|
88
|
+
}
|
|
89
|
+
const he = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
|
|
90
|
+
function U(e) {
|
|
91
|
+
return e != null && !he.has(e) ? (process.env.NODE_ENV !== "production" && X(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + L + '"')), null) : e;
|
|
92
|
+
}
|
|
93
|
+
function ve(e, n) {
|
|
94
|
+
let r, a, t, o, i;
|
|
95
|
+
if (ce(e)) {
|
|
96
|
+
let s = e.getAttribute("action");
|
|
97
|
+
a = s ? S(s, n) : null, r = e.getAttribute("method") || T, t = U(e.getAttribute("enctype")) || L, o = new FormData(e);
|
|
98
|
+
} else if (ue(e) || me(e) && (e.type === "submit" || e.type === "image")) {
|
|
99
|
+
let s = e.form;
|
|
100
|
+
if (s == null)
|
|
101
|
+
throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
|
|
102
|
+
let u = e.getAttribute("formaction") || s.getAttribute("action");
|
|
103
|
+
if (a = u ? S(u, n) : null, r = e.getAttribute("formmethod") || s.getAttribute("method") || T, t = U(e.getAttribute("formenctype")) || U(s.getAttribute("enctype")) || L, o = new FormData(s, e), !pe()) {
|
|
104
|
+
let {
|
|
105
|
+
name: l,
|
|
106
|
+
type: f,
|
|
107
|
+
value: h
|
|
108
|
+
} = e;
|
|
109
|
+
if (f === "image") {
|
|
110
|
+
let v = l ? l + "." : "";
|
|
111
|
+
o.append(v + "x", "0"), o.append(v + "y", "0");
|
|
112
|
+
} else
|
|
113
|
+
l && o.append(l, h);
|
|
114
|
+
}
|
|
115
|
+
} else {
|
|
116
|
+
if (P(e))
|
|
117
|
+
throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
|
|
118
|
+
r = T, a = null, t = L, i = e;
|
|
119
|
+
}
|
|
120
|
+
return o && t === "text/plain" && (i = o, o = void 0), {
|
|
121
|
+
action: a,
|
|
122
|
+
method: r.toLowerCase(),
|
|
123
|
+
encType: t,
|
|
124
|
+
formData: o,
|
|
125
|
+
body: i
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
const be = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset", "unstable_viewTransition"], we = ["aria-current", "caseSensitive", "className", "end", "style", "to", "unstable_viewTransition", "children"], ye = ["fetcherKey", "navigate", "reloadDocument", "replace", "state", "method", "action", "onSubmit", "relative", "preventScrollReset", "unstable_viewTransition"], ge = "6";
|
|
129
|
+
try {
|
|
130
|
+
window.__reactRouterVersion = ge;
|
|
131
|
+
} catch {
|
|
132
|
+
}
|
|
133
|
+
const Y = /* @__PURE__ */ c.createContext({
|
|
134
|
+
isTransitioning: !1
|
|
135
|
+
});
|
|
136
|
+
process.env.NODE_ENV !== "production" && (Y.displayName = "ViewTransition");
|
|
137
|
+
const Ee = /* @__PURE__ */ c.createContext(/* @__PURE__ */ new Map());
|
|
138
|
+
process.env.NODE_ENV !== "production" && (Ee.displayName = "Fetchers");
|
|
139
|
+
const Se = "startTransition", H = c[Se];
|
|
140
|
+
function lt(e) {
|
|
141
|
+
let {
|
|
142
|
+
basename: n,
|
|
143
|
+
children: r,
|
|
144
|
+
future: a,
|
|
145
|
+
window: t
|
|
146
|
+
} = e, o = c.useRef();
|
|
147
|
+
o.current == null && (o.current = $({
|
|
148
|
+
window: t,
|
|
149
|
+
v5Compat: !0
|
|
150
|
+
}));
|
|
151
|
+
let i = o.current, [s, u] = c.useState({
|
|
152
|
+
action: i.action,
|
|
153
|
+
location: i.location
|
|
154
|
+
}), {
|
|
155
|
+
v7_startTransition: l
|
|
156
|
+
} = a || {}, f = c.useCallback((h) => {
|
|
157
|
+
l && H ? H(() => u(h)) : u(h);
|
|
158
|
+
}, [u, l]);
|
|
159
|
+
return c.useLayoutEffect(() => i.listen(f), [i, f]), /* @__PURE__ */ c.createElement(ee, {
|
|
160
|
+
basename: n,
|
|
161
|
+
children: r,
|
|
162
|
+
location: s.location,
|
|
163
|
+
navigationType: s.action,
|
|
164
|
+
navigator: i,
|
|
165
|
+
future: a
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
process.env.NODE_ENV;
|
|
169
|
+
const Ne = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", xe = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, B = /* @__PURE__ */ c.forwardRef(function(n, r) {
|
|
170
|
+
let {
|
|
171
|
+
onClick: a,
|
|
172
|
+
relative: t,
|
|
173
|
+
reloadDocument: o,
|
|
174
|
+
replace: i,
|
|
175
|
+
state: s,
|
|
176
|
+
target: u,
|
|
177
|
+
to: l,
|
|
178
|
+
preventScrollReset: f,
|
|
179
|
+
unstable_viewTransition: h
|
|
180
|
+
} = n, v = M(n, be), {
|
|
181
|
+
basename: C
|
|
182
|
+
} = c.useContext(D), w, y = !1;
|
|
183
|
+
if (typeof l == "string" && xe.test(l) && (w = l, Ne))
|
|
184
|
+
try {
|
|
185
|
+
let p = new URL(window.location.href), d = l.startsWith("//") ? new URL(p.protocol + l) : new URL(l), _ = S(d.pathname, C);
|
|
186
|
+
d.origin === p.origin && _ != null ? l = _ + d.search + d.hash : y = !0;
|
|
187
|
+
} catch {
|
|
188
|
+
process.env.NODE_ENV !== "production" && X(!1, '<Link to="' + l + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
|
|
189
|
+
}
|
|
190
|
+
let g = te(l, {
|
|
191
|
+
relative: t
|
|
192
|
+
}), E = Te(l, {
|
|
193
|
+
replace: i,
|
|
194
|
+
state: s,
|
|
195
|
+
target: u,
|
|
196
|
+
preventScrollReset: f,
|
|
197
|
+
relative: t,
|
|
198
|
+
unstable_viewTransition: h
|
|
199
|
+
});
|
|
200
|
+
function m(p) {
|
|
201
|
+
a && a(p), p.defaultPrevented || E(p);
|
|
202
|
+
}
|
|
203
|
+
return (
|
|
204
|
+
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
|
205
|
+
/* @__PURE__ */ c.createElement("a", x({}, v, {
|
|
206
|
+
href: w || g,
|
|
207
|
+
onClick: y || o ? a : m,
|
|
208
|
+
ref: r,
|
|
209
|
+
target: u
|
|
210
|
+
}))
|
|
211
|
+
);
|
|
212
|
+
});
|
|
213
|
+
process.env.NODE_ENV !== "production" && (B.displayName = "Link");
|
|
214
|
+
const Ce = /* @__PURE__ */ c.forwardRef(function(n, r) {
|
|
215
|
+
let {
|
|
216
|
+
"aria-current": a = "page",
|
|
217
|
+
caseSensitive: t = !1,
|
|
218
|
+
className: o = "",
|
|
219
|
+
end: i = !1,
|
|
220
|
+
style: s,
|
|
221
|
+
to: u,
|
|
222
|
+
unstable_viewTransition: l,
|
|
223
|
+
children: f
|
|
224
|
+
} = n, h = M(n, we), v = F(u, {
|
|
225
|
+
relative: h.relative
|
|
226
|
+
}), C = W(), w = c.useContext(ne), {
|
|
227
|
+
navigator: y,
|
|
228
|
+
basename: g
|
|
229
|
+
} = c.useContext(D), E = w != null && // Conditional usage is OK here because the usage of a data router is static
|
|
230
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
231
|
+
Oe(v) && l === !0, m = y.encodeLocation ? y.encodeLocation(v).pathname : v.pathname, p = C.pathname, d = w && w.navigation && w.navigation.location ? w.navigation.location.pathname : null;
|
|
232
|
+
t || (p = p.toLowerCase(), d = d ? d.toLowerCase() : null, m = m.toLowerCase()), d && g && (d = S(d, g) || d);
|
|
233
|
+
const _ = m !== "/" && m.endsWith("/") ? m.length - 1 : m.length;
|
|
234
|
+
let O = p === m || !i && p.startsWith(m) && p.charAt(_) === "/", K = d != null && (d === m || !i && d.startsWith(m) && d.charAt(m.length) === "/"), V = {
|
|
235
|
+
isActive: O,
|
|
236
|
+
isPending: K,
|
|
237
|
+
isTransitioning: E
|
|
238
|
+
}, Q = O ? a : void 0, A;
|
|
239
|
+
typeof o == "function" ? A = o(V) : A = [o, O ? "active" : null, K ? "pending" : null, E ? "transitioning" : null].filter(Boolean).join(" ");
|
|
240
|
+
let Z = typeof s == "function" ? s(V) : s;
|
|
241
|
+
return /* @__PURE__ */ c.createElement(B, x({}, h, {
|
|
242
|
+
"aria-current": Q,
|
|
243
|
+
className: A,
|
|
244
|
+
ref: r,
|
|
245
|
+
style: Z,
|
|
246
|
+
to: u,
|
|
247
|
+
unstable_viewTransition: l
|
|
248
|
+
}), typeof f == "function" ? f(V) : f);
|
|
249
|
+
});
|
|
250
|
+
process.env.NODE_ENV !== "production" && (Ce.displayName = "NavLink");
|
|
251
|
+
const _e = /* @__PURE__ */ c.forwardRef((e, n) => {
|
|
252
|
+
let {
|
|
253
|
+
fetcherKey: r,
|
|
254
|
+
navigate: a,
|
|
255
|
+
reloadDocument: t,
|
|
256
|
+
replace: o,
|
|
257
|
+
state: i,
|
|
258
|
+
method: s = T,
|
|
259
|
+
action: u,
|
|
260
|
+
onSubmit: l,
|
|
261
|
+
relative: f,
|
|
262
|
+
preventScrollReset: h,
|
|
263
|
+
unstable_viewTransition: v
|
|
264
|
+
} = e, C = M(e, ye), w = Fe(), y = Pe(u, {
|
|
265
|
+
relative: f
|
|
266
|
+
}), g = s.toLowerCase() === "get" ? "get" : "post", E = (m) => {
|
|
267
|
+
if (l && l(m), m.defaultPrevented)
|
|
268
|
+
return;
|
|
269
|
+
m.preventDefault();
|
|
270
|
+
let p = m.nativeEvent.submitter, d = (p == null ? void 0 : p.getAttribute("formmethod")) || s;
|
|
271
|
+
w(p || m.currentTarget, {
|
|
272
|
+
fetcherKey: r,
|
|
273
|
+
method: d,
|
|
274
|
+
navigate: a,
|
|
275
|
+
replace: o,
|
|
276
|
+
state: i,
|
|
277
|
+
relative: f,
|
|
278
|
+
preventScrollReset: h,
|
|
279
|
+
unstable_viewTransition: v
|
|
280
|
+
});
|
|
281
|
+
};
|
|
282
|
+
return /* @__PURE__ */ c.createElement("form", x({
|
|
283
|
+
ref: n,
|
|
284
|
+
method: g,
|
|
285
|
+
action: y,
|
|
286
|
+
onSubmit: t ? l : E
|
|
287
|
+
}, C));
|
|
288
|
+
});
|
|
289
|
+
process.env.NODE_ENV !== "production" && (_e.displayName = "Form");
|
|
290
|
+
process.env.NODE_ENV;
|
|
291
|
+
var k;
|
|
292
|
+
(function(e) {
|
|
293
|
+
e.UseScrollRestoration = "useScrollRestoration", e.UseSubmit = "useSubmit", e.UseSubmitFetcher = "useSubmitFetcher", e.UseFetcher = "useFetcher", e.useViewTransitionState = "useViewTransitionState";
|
|
294
|
+
})(k || (k = {}));
|
|
295
|
+
var q;
|
|
296
|
+
(function(e) {
|
|
297
|
+
e.UseFetcher = "useFetcher", e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
|
|
298
|
+
})(q || (q = {}));
|
|
299
|
+
function Re(e) {
|
|
300
|
+
return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
|
|
301
|
+
}
|
|
302
|
+
function J(e) {
|
|
303
|
+
let n = c.useContext(le);
|
|
304
|
+
return n || (process.env.NODE_ENV !== "production" ? N(!1, Re(e)) : N(!1)), n;
|
|
305
|
+
}
|
|
306
|
+
function Te(e, n) {
|
|
307
|
+
let {
|
|
308
|
+
target: r,
|
|
309
|
+
replace: a,
|
|
310
|
+
state: t,
|
|
311
|
+
preventScrollReset: o,
|
|
312
|
+
relative: i,
|
|
313
|
+
unstable_viewTransition: s
|
|
314
|
+
} = n === void 0 ? {} : n, u = re(), l = W(), f = F(e, {
|
|
315
|
+
relative: i
|
|
316
|
+
});
|
|
317
|
+
return c.useCallback((h) => {
|
|
318
|
+
if (de(h, r)) {
|
|
319
|
+
h.preventDefault();
|
|
320
|
+
let v = a !== void 0 ? a : I(l) === I(f);
|
|
321
|
+
u(e, {
|
|
322
|
+
replace: v,
|
|
323
|
+
state: t,
|
|
324
|
+
preventScrollReset: o,
|
|
325
|
+
relative: i,
|
|
326
|
+
unstable_viewTransition: s
|
|
327
|
+
});
|
|
328
|
+
}
|
|
329
|
+
}, [l, u, f, a, t, r, e, o, i, s]);
|
|
330
|
+
}
|
|
331
|
+
function Le() {
|
|
332
|
+
if (typeof document > "u")
|
|
333
|
+
throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");
|
|
334
|
+
}
|
|
335
|
+
let ke = 0, De = () => "__" + String(++ke) + "__";
|
|
336
|
+
function Fe() {
|
|
337
|
+
let {
|
|
338
|
+
router: e
|
|
339
|
+
} = J(k.UseSubmit), {
|
|
340
|
+
basename: n
|
|
341
|
+
} = c.useContext(D), r = oe();
|
|
342
|
+
return c.useCallback(function(a, t) {
|
|
343
|
+
t === void 0 && (t = {}), Le();
|
|
344
|
+
let {
|
|
345
|
+
action: o,
|
|
346
|
+
method: i,
|
|
347
|
+
encType: s,
|
|
348
|
+
formData: u,
|
|
349
|
+
body: l
|
|
350
|
+
} = ve(a, n);
|
|
351
|
+
if (t.navigate === !1) {
|
|
352
|
+
let f = t.fetcherKey || De();
|
|
353
|
+
e.fetch(f, r, t.action || o, {
|
|
354
|
+
preventScrollReset: t.preventScrollReset,
|
|
355
|
+
formData: u,
|
|
356
|
+
body: l,
|
|
357
|
+
formMethod: t.method || i,
|
|
358
|
+
formEncType: t.encType || s,
|
|
359
|
+
unstable_flushSync: t.unstable_flushSync
|
|
360
|
+
});
|
|
361
|
+
} else
|
|
362
|
+
e.navigate(t.action || o, {
|
|
363
|
+
preventScrollReset: t.preventScrollReset,
|
|
364
|
+
formData: u,
|
|
365
|
+
body: l,
|
|
366
|
+
formMethod: t.method || i,
|
|
367
|
+
formEncType: t.encType || s,
|
|
368
|
+
replace: t.replace,
|
|
369
|
+
state: t.state,
|
|
370
|
+
fromRouteId: r,
|
|
371
|
+
unstable_flushSync: t.unstable_flushSync,
|
|
372
|
+
unstable_viewTransition: t.unstable_viewTransition
|
|
373
|
+
});
|
|
374
|
+
}, [e, n, r]);
|
|
375
|
+
}
|
|
376
|
+
function Pe(e, n) {
|
|
377
|
+
let {
|
|
378
|
+
relative: r
|
|
379
|
+
} = n === void 0 ? {} : n, {
|
|
380
|
+
basename: a
|
|
381
|
+
} = c.useContext(D), t = c.useContext(ie);
|
|
382
|
+
t || (process.env.NODE_ENV !== "production" ? N(!1, "useFormAction must be used inside a RouteContext") : N(!1));
|
|
383
|
+
let [o] = t.matches.slice(-1), i = x({}, F(e || ".", {
|
|
384
|
+
relative: r
|
|
385
|
+
})), s = W();
|
|
386
|
+
if (e == null) {
|
|
387
|
+
i.search = s.search;
|
|
388
|
+
let u = new URLSearchParams(i.search);
|
|
389
|
+
u.has("index") && u.get("index") === "" && (u.delete("index"), i.search = u.toString() ? "?" + u.toString() : "");
|
|
390
|
+
}
|
|
391
|
+
return (!e || e === ".") && o.route.index && (i.search = i.search ? i.search.replace(/^\?/, "?index&") : "?index"), a !== "/" && (i.pathname = i.pathname === "/" ? a : ae([a, i.pathname])), I(i);
|
|
392
|
+
}
|
|
393
|
+
function Oe(e, n) {
|
|
394
|
+
n === void 0 && (n = {});
|
|
395
|
+
let r = c.useContext(Y);
|
|
396
|
+
r == null && (process.env.NODE_ENV !== "production" ? N(!1, "`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?") : N(!1));
|
|
397
|
+
let {
|
|
398
|
+
basename: a
|
|
399
|
+
} = J(k.useViewTransitionState), t = F(e, {
|
|
400
|
+
relative: n.relative
|
|
401
|
+
});
|
|
402
|
+
if (!r.isTransitioning)
|
|
403
|
+
return !1;
|
|
404
|
+
let o = S(r.currentLocation.pathname, a) || r.currentLocation.pathname, i = S(r.nextLocation.pathname, a) || r.nextLocation.pathname;
|
|
405
|
+
return z(t.pathname, i) != null || z(t.pathname, o) != null;
|
|
406
|
+
}
|
|
407
|
+
const Ve = "_root_9577c_1", Ae = "_linkWrap_9577c_8", G = {
|
|
408
|
+
root: Ve,
|
|
409
|
+
linkWrap: Ae
|
|
410
|
+
}, st = () => {
|
|
411
|
+
const e = ({ to: n, title: r }) => /* @__PURE__ */ j(
|
|
412
|
+
B,
|
|
413
|
+
{
|
|
414
|
+
to: n,
|
|
415
|
+
className: G.linkWrap,
|
|
416
|
+
children: [
|
|
417
|
+
r,
|
|
418
|
+
/* @__PURE__ */ b(
|
|
419
|
+
se,
|
|
420
|
+
{
|
|
421
|
+
size: "24",
|
|
422
|
+
name: "play2",
|
|
423
|
+
deg: "90",
|
|
424
|
+
color: "white"
|
|
425
|
+
}
|
|
426
|
+
)
|
|
427
|
+
]
|
|
428
|
+
}
|
|
429
|
+
);
|
|
430
|
+
return /* @__PURE__ */ j("div", { className: G.root, children: [
|
|
431
|
+
/* @__PURE__ */ b(
|
|
432
|
+
e,
|
|
433
|
+
{
|
|
434
|
+
to: "/buttons",
|
|
435
|
+
title: "КНОПКИ"
|
|
436
|
+
}
|
|
437
|
+
),
|
|
438
|
+
/* @__PURE__ */ b(
|
|
439
|
+
e,
|
|
440
|
+
{
|
|
441
|
+
to: "/modals",
|
|
442
|
+
title: "МОДАЛКИ"
|
|
443
|
+
}
|
|
444
|
+
),
|
|
445
|
+
/* @__PURE__ */ b(
|
|
446
|
+
e,
|
|
447
|
+
{
|
|
448
|
+
to: "/tabs",
|
|
449
|
+
title: "ТАБЫ"
|
|
450
|
+
}
|
|
451
|
+
),
|
|
452
|
+
/* @__PURE__ */ b(
|
|
453
|
+
e,
|
|
454
|
+
{
|
|
455
|
+
to: "/icons",
|
|
456
|
+
title: "ИКОНКИ"
|
|
457
|
+
}
|
|
458
|
+
),
|
|
459
|
+
/* @__PURE__ */ b(
|
|
460
|
+
e,
|
|
461
|
+
{
|
|
462
|
+
to: "/lots",
|
|
463
|
+
title: "ЛОТЫ"
|
|
464
|
+
}
|
|
465
|
+
),
|
|
466
|
+
/* @__PURE__ */ b(
|
|
467
|
+
e,
|
|
468
|
+
{
|
|
469
|
+
to: "/tags",
|
|
470
|
+
title: "ТЭГИ"
|
|
471
|
+
}
|
|
472
|
+
),
|
|
473
|
+
/* @__PURE__ */ b(
|
|
474
|
+
e,
|
|
475
|
+
{
|
|
476
|
+
to: "/select",
|
|
477
|
+
title: "СЕЛЕКТ"
|
|
478
|
+
}
|
|
479
|
+
),
|
|
480
|
+
/* @__PURE__ */ b(
|
|
481
|
+
e,
|
|
482
|
+
{
|
|
483
|
+
to: "/forms",
|
|
484
|
+
title: "ФОРМЫ"
|
|
485
|
+
}
|
|
486
|
+
),
|
|
487
|
+
/* @__PURE__ */ b(
|
|
488
|
+
e,
|
|
489
|
+
{
|
|
490
|
+
to: "/logo",
|
|
491
|
+
title: "ЛОГО"
|
|
492
|
+
}
|
|
493
|
+
),
|
|
494
|
+
/* @__PURE__ */ b(
|
|
495
|
+
e,
|
|
496
|
+
{
|
|
497
|
+
to: "/input",
|
|
498
|
+
title: "ИНПУТЫ"
|
|
499
|
+
}
|
|
500
|
+
),
|
|
501
|
+
/* @__PURE__ */ b(
|
|
502
|
+
e,
|
|
503
|
+
{
|
|
504
|
+
to: "/checkbox",
|
|
505
|
+
title: "ЧЕКБОКСЫ"
|
|
506
|
+
}
|
|
507
|
+
)
|
|
508
|
+
] });
|
|
509
|
+
};
|
|
510
|
+
export {
|
|
511
|
+
lt as B,
|
|
512
|
+
st as M
|
|
513
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { jsxs as u, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { NewIcon as c } from "./components/NewIcon/ui/NewIcon.js";
|
|
3
|
+
import { c as z } from "./index-rKuIKazb.js";
|
|
4
|
+
const g = "_multiSelectWrapper_1sbxa_1", O = "_selectedOptions_1sbxa_8", C = "_selectedOptionsBtn_1sbxa_24", h = "_selectedOptionsOpened_1sbxa_49", f = "_selectedOptionsNotEmpty_1sbxa_53", k = "_selectOptionsDisabled_1sbxa_58", v = "_optionsList_1sbxa_65", y = "_lastList_1sbxa_81", D = "_listRight_1sbxa_86", B = "_inputWrapper_1sbxa_90", L = "_option_1sbxa_65", N = "_category_1sbxa_112", S = "_leftSide_1sbxa_118", W = "_optionCategory_1sbxa_123", w = "_optionDisabled_1sbxa_129", A = "_optionClickable_1sbxa_133", E = "_icon_1sbxa_137", R = "_iconArrow_1sbxa_143", j = "_iconBtn_1sbxa_149", s = {
|
|
5
|
+
multiSelectWrapper: g,
|
|
6
|
+
selectedOptions: O,
|
|
7
|
+
selectedOptionsBtn: C,
|
|
8
|
+
"small-size": "_small-size_1sbxa_28",
|
|
9
|
+
"medium-size": "_medium-size_1sbxa_35",
|
|
10
|
+
"large-size": "_large-size_1sbxa_42",
|
|
11
|
+
selectedOptionsOpened: h,
|
|
12
|
+
selectedOptionsNotEmpty: f,
|
|
13
|
+
selectOptionsDisabled: k,
|
|
14
|
+
optionsList: v,
|
|
15
|
+
lastList: y,
|
|
16
|
+
listRight: D,
|
|
17
|
+
inputWrapper: B,
|
|
18
|
+
option: L,
|
|
19
|
+
category: N,
|
|
20
|
+
leftSide: S,
|
|
21
|
+
optionCategory: W,
|
|
22
|
+
optionDisabled: w,
|
|
23
|
+
optionClickable: A,
|
|
24
|
+
icon: E,
|
|
25
|
+
iconArrow: R,
|
|
26
|
+
iconBtn: j,
|
|
27
|
+
"small-size_m": "_small-size_m_1sbxa_162",
|
|
28
|
+
"medium-size_m": "_medium-size_m_1sbxa_168",
|
|
29
|
+
"large-size_m": "_large-size_m_1sbxa_174",
|
|
30
|
+
"small-size_l": "_small-size_l_1sbxa_189",
|
|
31
|
+
"medium-size_l": "_medium-size_l_1sbxa_195",
|
|
32
|
+
"large-size_l": "_large-size_l_1sbxa_201"
|
|
33
|
+
}, U = z.bind(s), G = ({
|
|
34
|
+
option: e,
|
|
35
|
+
selectedOptions: p,
|
|
36
|
+
disabledOptions: r,
|
|
37
|
+
clickableOptions: t,
|
|
38
|
+
handleOptionClick: d,
|
|
39
|
+
isOptionCategory: i,
|
|
40
|
+
sizeIcon: n,
|
|
41
|
+
isDisabledNotClickable: m,
|
|
42
|
+
addClassName: b = ""
|
|
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__ */ u(
|
|
46
|
+
"div",
|
|
47
|
+
{
|
|
48
|
+
className: U(
|
|
49
|
+
s.option,
|
|
50
|
+
{
|
|
51
|
+
[s.optionDisabled]: a(),
|
|
52
|
+
[s.optionCategory]: i,
|
|
53
|
+
[s.optionClickable]: x
|
|
54
|
+
},
|
|
55
|
+
b
|
|
56
|
+
),
|
|
57
|
+
onClick: () => {
|
|
58
|
+
a() && !_ || d(e);
|
|
59
|
+
},
|
|
60
|
+
children: [
|
|
61
|
+
i && /* @__PURE__ */ l(
|
|
62
|
+
c,
|
|
63
|
+
{
|
|
64
|
+
size: n ?? "20",
|
|
65
|
+
name: _ ? "selectChecked" : "selectUnchecked"
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
/* @__PURE__ */ l("div", { children: e.label }),
|
|
69
|
+
!i && /* @__PURE__ */ l(
|
|
70
|
+
c,
|
|
71
|
+
{
|
|
72
|
+
size: n ?? "20",
|
|
73
|
+
name: _ ? "selectChecked" : "selectUnchecked"
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
};
|
|
80
|
+
export {
|
|
81
|
+
G as O,
|
|
82
|
+
s
|
|
83
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
const
|
|
2
|
+
import { forwardRef as n } from "react";
|
|
3
|
+
const l = ({
|
|
4
4
|
title: t,
|
|
5
5
|
titleId: r,
|
|
6
6
|
...a
|
|
7
|
-
}, o) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: o, "aria-labelledby": r, ...a }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M10.6667 6.66665C10.6667 8.13941 9.47284 9.33331 8.00008 9.33331C6.52732 9.33331 5.33341 8.13941 5.33341 6.66665C5.33341 5.19389 6.52732 3.99998 8.00008 3.99998C9.47284 3.99998 10.6667 5.19389 10.6667 6.66665Z", stroke: "#141416" }), /* @__PURE__ */ e.createElement("path", { d: "M13.3334 6.66665C13.3334 9.61217 9.33341 14.6666 8.00008 14.6666C6.66675 14.6666 2.66675 9.61217 2.66675 6.66665C2.66675 3.72113 5.05456 1.33331 8.00008 1.33331C10.9456 1.33331 13.3334 3.72113 13.3334 6.66665Z", stroke: "#141416" })), m = l
|
|
7
|
+
}, o) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: o, "aria-labelledby": r, ...a }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M10.6667 6.66665C10.6667 8.13941 9.47284 9.33331 8.00008 9.33331C6.52732 9.33331 5.33341 8.13941 5.33341 6.66665C5.33341 5.19389 6.52732 3.99998 8.00008 3.99998C9.47284 3.99998 10.6667 5.19389 10.6667 6.66665Z", stroke: "#141416" }), /* @__PURE__ */ e.createElement("path", { d: "M13.3334 6.66665C13.3334 9.61217 9.33341 14.6666 8.00008 14.6666C6.66675 14.6666 2.66675 9.61217 2.66675 6.66665C2.66675 3.72113 5.05456 1.33331 8.00008 1.33331C10.9456 1.33331 13.3334 3.72113 13.3334 6.66665Z", stroke: "#141416" })), m = n(l);
|
|
8
8
|
export {
|
|
9
|
-
m as
|
|
9
|
+
m as F
|
|
10
10
|
};
|
package/dist/Router.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import m from "./pages/HomePage/HomePage.js";
|
|
3
|
-
import { ButtonsPage as
|
|
4
|
-
import
|
|
3
|
+
import { ButtonsPage as a } from "./pages/ButtonsPage/Buttons.js";
|
|
4
|
+
import r from "./pages/ModalsPage/ModalPage.js";
|
|
5
5
|
import p from "./pages/TabsPage/TabsPage.js";
|
|
6
|
-
import { IconsPage as
|
|
7
|
-
import { LotsPage as
|
|
6
|
+
import { IconsPage as s } from "./pages/IconsPage/IconsPage.js";
|
|
7
|
+
import { LotsPage as n } from "./pages/LotsPage/LotsPage.js";
|
|
8
8
|
import { TagsPage as l } from "./pages/TagsPage/TagsPage.js";
|
|
9
9
|
import { SelectPage as i } from "./pages/SelectPage/SelectPage.js";
|
|
10
10
|
import f from "./pages/FormsPage/FormsPage.js";
|
|
11
11
|
import { LogoPage as g } from "./pages/LogoPage/LogoPage.js";
|
|
12
12
|
import { InputPage as h } from "./pages/InputPage/InputPage.js";
|
|
13
13
|
import { CheckBoxPage as P } from "./pages/CheckboxPage/CheckboxPage.js";
|
|
14
|
-
import {
|
|
14
|
+
import { R as c, a as t } from "./index-DmANy9jd.js";
|
|
15
15
|
const H = () => /* @__PURE__ */ o(c, { children: [
|
|
16
16
|
/* @__PURE__ */ e(
|
|
17
17
|
t,
|
|
@@ -24,14 +24,14 @@ const H = () => /* @__PURE__ */ o(c, { children: [
|
|
|
24
24
|
t,
|
|
25
25
|
{
|
|
26
26
|
path: "/buttons",
|
|
27
|
-
element: /* @__PURE__ */ e(
|
|
27
|
+
element: /* @__PURE__ */ e(a, {})
|
|
28
28
|
}
|
|
29
29
|
),
|
|
30
30
|
/* @__PURE__ */ e(
|
|
31
31
|
t,
|
|
32
32
|
{
|
|
33
33
|
path: "/modals",
|
|
34
|
-
element: /* @__PURE__ */ e(
|
|
34
|
+
element: /* @__PURE__ */ e(r, {})
|
|
35
35
|
}
|
|
36
36
|
),
|
|
37
37
|
/* @__PURE__ */ e(
|
|
@@ -45,14 +45,14 @@ const H = () => /* @__PURE__ */ o(c, { children: [
|
|
|
45
45
|
t,
|
|
46
46
|
{
|
|
47
47
|
path: "/icons",
|
|
48
|
-
element: /* @__PURE__ */ e(
|
|
48
|
+
element: /* @__PURE__ */ e(s, {})
|
|
49
49
|
}
|
|
50
50
|
),
|
|
51
51
|
/* @__PURE__ */ e(
|
|
52
52
|
t,
|
|
53
53
|
{
|
|
54
54
|
path: "/lots",
|
|
55
|
-
element: /* @__PURE__ */ e(
|
|
55
|
+
element: /* @__PURE__ */ e(n, {})
|
|
56
56
|
}
|
|
57
57
|
),
|
|
58
58
|
/* @__PURE__ */ e(
|
|
@@ -3,8 +3,8 @@ import { forwardRef as l } from "react";
|
|
|
3
3
|
const n = ({
|
|
4
4
|
title: t,
|
|
5
5
|
titleId: r,
|
|
6
|
-
...
|
|
7
|
-
},
|
|
6
|
+
...o
|
|
7
|
+
}, a) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": r, ...o }, t ? /* @__PURE__ */ e.createElement("title", { id: r }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M2.66667 5.33331H10.6667M10.6667 5.33331C10.6667 6.43788 11.5621 7.33331 12.6667 7.33331C13.7712 7.33331 14.6667 6.43788 14.6667 5.33331C14.6667 4.22874 13.7712 3.33331 12.6667 3.33331C11.5621 3.33331 10.6667 4.22874 10.6667 5.33331ZM6 10.6666H13.3333M6 10.6666C6 11.7712 5.10457 12.6666 4 12.6666C2.89543 12.6666 2 11.7712 2 10.6666C2 9.56208 2.89543 8.66665 4 8.66665C5.10457 8.66665 6 9.56208 6 10.6666Z", stroke: "white", strokeLinecap: "round" })), m = l(n);
|
|
8
8
|
export {
|
|
9
|
-
m as
|
|
9
|
+
m as F
|
|
10
10
|
};
|