stone-kit 0.0.1106 → 0.0.1107
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/README.md +30 -0
- package/dist/App.d.ts +2 -0
- package/dist/App.js +10 -0
- package/dist/Option-DmDx_xOt.js +99 -0
- package/dist/PinTrans-D6OZq76b.js +10 -0
- package/dist/Router.d.ts +2 -0
- package/dist/Router.js +103 -0
- package/dist/SmallFilter-C-VKnbkP.js +10 -0
- package/dist/chunk-4WY6JWTD-BeveLKf_.js +1582 -0
- package/dist/components/Button/ui/Button.d.ts +1 -2
- package/dist/components/Button/ui/Button.js +74 -67
- package/dist/components/Button/ui/Button.types.d.ts +7 -5
- package/dist/components/Button/ui/Button.types.js +5 -3
- package/dist/components/CheckBox/CheckBox.d.ts +2 -0
- package/dist/components/CheckBox/CheckBox.js +84 -0
- package/dist/components/CheckBox/CheckBox.types.d.ts +17 -0
- package/dist/components/CheckBox/CheckBox.types.js +1 -0
- package/dist/components/CheckBox/index.d.ts +2 -0
- package/dist/components/CheckBox/index.js +4 -0
- package/dist/components/CheckBoxNew/CheckBox.types.d.ts +16 -0
- package/dist/components/CheckBoxNew/CheckBox.types.js +6 -0
- package/dist/components/CheckBoxNew/CheckBoxNew.d.ts +11 -0
- package/dist/components/CheckBoxNew/CheckBoxNew.js +45 -0
- package/dist/components/CheckboxSelect/index.d.ts +1 -0
- package/dist/components/CheckboxSelect/index.js +4 -0
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.d.ts +18 -0
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +57 -0
- package/dist/components/CommercialLotCard/CommercialLotCard.d.ts +2 -0
- package/dist/components/CommercialLotCard/CommercialLotCard.js +81 -0
- package/dist/components/CommercialLotCard/components/PaymentLink/PaymentLink.d.ts +6 -0
- package/dist/components/CommercialLotCard/components/PaymentLink/PaymentLink.js +21 -0
- package/dist/components/CommercialLotCard/components/Price/Price.d.ts +9 -0
- package/dist/components/CommercialLotCard/components/Price/Price.js +39 -0
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.d.ts +6 -0
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +100 -0
- package/dist/components/CommercialLotCard/components/Tags/Tags.d.ts +7 -0
- package/dist/components/CommercialLotCard/components/Tags/Tags.js +37 -0
- package/dist/components/CommercialLotCard/types/CommercialLotCard.types.d.ts +10 -0
- package/dist/components/CommercialLotCard/types/CommercialLotCard.types.js +1 -0
- package/dist/components/CommercialLotCard/types/LotCard.d.ts +386 -0
- package/dist/components/CommercialLotCard/types/LotCard.js +1 -0
- package/dist/components/CommercialLotCard/utils/formatPrice.d.ts +1 -0
- package/dist/components/CommercialLotCard/utils/formatPrice.js +8 -0
- package/dist/components/CommercialLotCard/utils/getTagsFeatures.d.ts +4 -0
- package/dist/components/CommercialLotCard/utils/getTagsFeatures.js +13 -0
- package/dist/components/DestinationTab/ui/DestinationTab.d.ts +0 -1
- package/dist/components/DestinationTab/ui/DestinationTab.js +41 -41
- package/dist/components/DestinationTab/ui/DestinationTab.types.d.ts +0 -1
- package/dist/components/FavoriteIcon/FavoriteIcon.d.ts +7 -0
- package/dist/components/FavoriteIcon/FavoriteIcon.js +66 -0
- package/dist/components/FavoriteIcon/Heart.d.ts +3 -0
- package/dist/components/FavoriteIcon/Heart.js +24 -0
- package/dist/components/FavoriteIcon/HeartFilled.d.ts +5 -0
- package/dist/components/FavoriteIcon/HeartFilled.js +27 -0
- package/dist/components/FieldInput/ui/FieldInput.d.ts +1 -2
- package/dist/components/FieldInput/ui/FieldInput.js +28 -7
- package/dist/components/FieldInput/ui/FieldInput.types.d.ts +3 -1
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +43 -0
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +56 -0
- package/dist/components/FilterWithSave/ui/FilterWithSave.d.ts +29 -0
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +325 -0
- package/dist/components/Flex/ui/Flex.d.ts +0 -1
- package/dist/components/Flex/ui/Flex.js +1 -1
- package/dist/components/Flex/ui/Flex.types.d.ts +0 -1
- package/dist/components/FormModal/ui/ModalForm.d.ts +60 -0
- package/dist/components/FormModal/ui/ModalForm.js +1518 -0
- package/dist/components/FormModal/utils/reg.d.ts +4 -0
- package/dist/components/FormModal/utils/reg.js +6 -0
- package/dist/components/GroupedInput/ui/GroupedInputs.d.ts +0 -1
- package/dist/components/GroupedInput/ui/GroupedInputs.js +5 -5
- package/dist/components/GroupedInput/ui/GroupedInputs.types.d.ts +0 -1
- package/dist/components/Input/ui/Input.d.ts +28 -0
- package/dist/components/Input/ui/Input.js +3247 -49
- package/dist/components/Input/ui/Input.types.d.ts +0 -23
- package/dist/components/Input/ui/Input.types.js +1 -7
- package/dist/components/Logo/ui/Logo.d.ts +1 -2
- package/dist/components/Logo/ui/Logo.js +58 -33
- package/dist/components/Logo/ui/Logo.types.d.ts +13 -1
- package/dist/components/Logo/ui/Logo.types.js +14 -1
- package/dist/components/LotCard/hooks/useLotCard.d.ts +25 -0
- package/dist/components/LotCard/hooks/useLotCard.js +13 -0
- package/dist/components/LotCard/ui/LotCard.d.ts +1 -2
- package/dist/components/LotCard/ui/LotCard.js +203 -104
- package/dist/components/LotCard/ui/LotCard.types.d.ts +234 -75
- package/dist/components/LotCard/utils/checkBedroomsCount.js +2 -2
- package/dist/components/LotCard/utils/const.d.ts +8 -0
- package/dist/components/LotCard/utils/const.js +11 -0
- package/dist/components/LotCard/utils/formatPrice.d.ts +1 -1
- package/dist/components/LotCard/utils/formatPrice.js +5 -6
- package/dist/components/LotCard/utils/getTagsFeatures.d.ts +4 -0
- package/dist/components/LotCard/utils/getTagsFeatures.js +13 -0
- package/dist/components/LotCard/utils/monthlyPayment.d.ts +1 -0
- package/dist/components/LotCard/utils/monthlyPayment.js +4 -0
- package/dist/components/LotCardSkeleton/index.d.ts +1 -0
- package/dist/components/LotCardSkeleton/index.js +4 -0
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.d.ts +5 -0
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +83 -0
- package/dist/components/MetroLabel/ui/MetroLabel.d.ts +0 -1
- package/dist/components/MetroLabel/ui/MetroLabel.js +19 -19
- package/dist/components/MetroLabel/ui/MetroLabel.types.d.ts +0 -1
- package/dist/components/MetroTag/ui/MetroTag.d.ts +1 -2
- package/dist/components/MetroTag/ui/MetroTag.js +121 -25
- package/dist/components/MetroTag/ui/MetroTag.types.d.ts +21 -6
- package/dist/components/Modal/ui/Modal.d.ts +2 -17
- package/dist/components/Modal/ui/Modal.js +63 -19594
- package/dist/components/Modal/ui/Modal.types.d.ts +21 -0
- package/dist/components/ModalSuccess/ModalSuccess.d.ts +2 -0
- package/dist/components/ModalSuccess/ModalSuccess.js +60 -0
- package/dist/components/ModalSuccess/ModalSuccess.types.d.ts +8 -0
- package/dist/components/ModalSuccess/ModalSuccess.types.js +1 -0
- package/dist/components/ModalSuccess/index.d.ts +1 -0
- package/dist/components/ModalSuccess/index.js +4 -0
- package/dist/components/NewIcon/icons/PinTrans.d.ts +3 -0
- package/dist/components/NewIcon/icons/PinTrans.js +6 -0
- package/dist/components/NewIcon/icons/SmallFilter.d.ts +3 -0
- package/dist/components/NewIcon/icons/SmallFilter.js +6 -0
- package/dist/components/NewIcon/index.d.ts +1 -1
- package/dist/components/NewIcon/index.js +3 -2
- package/dist/components/NewIcon/ui/NewIcon.d.ts +2 -2
- package/dist/components/NewIcon/ui/NewIcon.js +204 -99
- package/dist/components/NewIcon/ui/NewIcon.types.d.ts +0 -1
- package/dist/components/NewIcon/ui/iconTypes.d.ts +3 -0
- package/dist/components/NewIcon/ui/iconTypes.js +60 -0
- package/dist/components/ProjectCardSkeleton/index.d.ts +1 -0
- package/dist/components/ProjectCardSkeleton/index.js +4 -0
- package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.d.ts +1 -0
- package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +32 -0
- package/dist/components/RoundButton/ui/RoundButton.d.ts +1 -2
- package/dist/components/RoundButton/ui/RoundButton.js +56 -45
- package/dist/components/RoundButton/ui/RoundButton.types.d.ts +10 -2
- package/dist/components/RoundButton/ui/RoundButton.types.js +13 -6
- package/dist/components/Select/model/selectMode.d.ts +16 -0
- package/dist/components/Select/model/selectMode.js +64 -0
- package/dist/components/Select/ui/Category.d.ts +13 -0
- package/dist/components/Select/ui/Category.js +79 -0
- package/dist/components/Select/ui/Option.d.ts +15 -0
- package/dist/components/Select/ui/Option.js +7 -0
- package/dist/components/Select/ui/Select.d.ts +1 -3
- package/dist/components/Select/ui/Select.js +196 -79
- package/dist/components/Select/ui/Select.types.d.ts +62 -8
- package/dist/components/SliderNavigation/index.d.ts +0 -1
- package/dist/components/SliderNavigation/ui/SliderNavigation.d.ts +1 -2
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +45 -32
- package/dist/components/SliderNavigation/ui/SliderNavigation.types.d.ts +7 -0
- package/dist/components/SortSelect/hooks/useSortSelect.d.ts +5 -4
- package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
- package/dist/components/SortSelect/ui/SortSelect.d.ts +0 -1
- package/dist/components/SortSelect/ui/SortSelect.js +67 -56
- package/dist/components/SortSelect/ui/SortSelect.types.d.ts +9 -2
- package/dist/components/SummarySelect/index.d.ts +1 -0
- package/dist/components/SummarySelect/index.js +4 -0
- package/dist/components/SummarySelect/ui/SummarySelect.d.ts +15 -0
- package/dist/components/SummarySelect/ui/SummarySelect.js +172 -0
- package/dist/components/Switcher/ui/Switcher.d.ts +1 -2
- package/dist/components/Switcher/ui/Switcher.js +45 -30
- package/dist/components/Switcher/ui/Switcher.types.d.ts +3 -1
- package/dist/components/TabSelect/index.d.ts +1 -0
- package/dist/components/TabSelect/index.js +4 -0
- package/dist/components/TabSelect/ui/TabSelect.d.ts +32 -0
- package/dist/components/TabSelect/ui/TabSelect.js +64 -0
- package/dist/components/TabSelect/ui/TabSelect.types.d.ts +0 -0
- package/dist/components/TabSelect/ui/TabSelect.types.js +1 -0
- package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +4 -4
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +114 -34
- package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +23 -4
- package/dist/components/Tag/ui/Tag.d.ts +1 -2
- package/dist/components/Tag/ui/Tag.js +96 -44
- package/dist/components/Tag/ui/Tag.types.d.ts +22 -2
- package/dist/components/Tag/ui/Tag.types.js +20 -3
- package/dist/components/Text/ui/Text.d.ts +1 -2
- package/dist/components/Text/ui/Text.js +20 -27
- package/dist/components/Text/ui/Text.types.d.ts +0 -1
- package/dist/components/TextArea/TextArea.d.ts +8 -0
- package/dist/components/TextArea/TextArea.js +25 -0
- package/dist/components/ZoomControls/index.d.ts +1 -0
- package/dist/components/ZoomControls/index.js +4 -0
- package/dist/components/ZoomControls/ui/ZoomControls.d.ts +2 -0
- package/dist/components/ZoomControls/ui/ZoomControls.js +33 -0
- package/dist/components/ZoomControls/ui/ZoomControls.types.d.ts +6 -0
- package/dist/components/ZoomControls/ui/ZoomControls.types.js +1 -0
- package/dist/components/mobileButton/ui/MobileButton.d.ts +0 -1
- package/dist/components/mobileButton/ui/MobileButton.js +38 -38
- package/dist/components/mobileButton/ui/MobileButton.types.d.ts +0 -1
- package/dist/index-BJwl9stn.js +33872 -0
- package/dist/index-YnD2EP-S.js +43 -0
- package/dist/layout/Layout.d.ts +5 -0
- package/dist/layout/Layout.js +11 -0
- package/dist/layout/components/Header/Header.d.ts +1 -0
- package/dist/layout/components/Header/Header.js +141 -0
- package/dist/layout/components/Menu.d.ts +1 -0
- package/dist/layout/components/Menu.js +109 -0
- package/dist/main.d.ts +14 -0
- package/dist/main.js +70 -42
- package/dist/pages/ButtonsPage/Buttons.d.ts +1 -0
- package/dist/pages/ButtonsPage/Buttons.js +106 -0
- package/dist/pages/CheckboxPage/CheckboxPage.d.ts +1 -0
- package/dist/pages/CheckboxPage/CheckboxPage.js +224 -0
- package/dist/pages/FormsPage/FormsPage.d.ts +2 -0
- package/dist/pages/FormsPage/FormsPage.js +58 -0
- package/dist/pages/HomePage/HomePage.d.ts +2 -0
- package/dist/pages/HomePage/HomePage.js +7 -0
- package/dist/pages/IconsPage/IconsPage.d.ts +1 -0
- package/dist/pages/IconsPage/IconsPage.js +19 -0
- package/dist/pages/InputPage/InputPage.d.ts +1 -0
- package/dist/pages/InputPage/InputPage.js +13 -0
- package/dist/pages/LogoPage/LogoPage.d.ts +1 -0
- package/dist/pages/LogoPage/LogoPage.js +16 -0
- package/dist/pages/LotsPage/LotsPage.d.ts +1 -0
- package/dist/pages/LotsPage/LotsPage.js +74 -0
- package/dist/pages/LotsPage/const.d.ts +4 -0
- package/dist/pages/LotsPage/const.js +678 -0
- package/dist/pages/ModalsPage/ModalPage.d.ts +2 -0
- package/dist/pages/ModalsPage/ModalPage.js +110 -0
- package/dist/pages/SelectPage/SelectPage.d.ts +1 -0
- package/dist/pages/SelectPage/SelectPage.js +211 -0
- package/dist/pages/SelectPage/const.d.ts +13 -0
- package/dist/pages/SelectPage/const.js +35 -0
- package/dist/pages/TabsPage/TabsPage.d.ts +2 -0
- package/dist/pages/TabsPage/TabsPage.js +168 -0
- package/dist/pages/TagsPage/TagsPage.d.ts +1 -0
- package/dist/pages/TagsPage/TagsPage.js +64 -0
- package/dist/shared/checkLargeOffice.d.ts +2 -0
- package/dist/shared/checkLargeOffice.js +4 -0
- package/dist/shared/deepEqual.d.ts +1 -0
- package/dist/shared/deepEqual.js +16 -0
- package/dist/shared/fmtNumber.d.ts +1 -0
- package/dist/shared/fmtNumber.js +4 -0
- package/dist/shared/mlnRound.d.ts +1 -0
- package/dist/shared/mlnRound.js +8 -0
- package/dist/shared/useClientWidth.d.ts +2 -0
- package/dist/shared/useClientWidth.js +6 -6
- package/dist/stone-kit.css +1 -0
- package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +166 -0
- package/dist/stories/entities/index.js +4 -0
- package/dist/stories/shared/ui/Button/Button.stories.js +118 -0
- package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +71 -0
- package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +45 -0
- package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +114 -0
- package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +89 -0
- package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +31 -0
- package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +44 -0
- package/dist/stories/shared/ui/Flex/Flex.stories.js +74 -0
- package/dist/stories/shared/ui/FormModal/FormModal.stories.js +65 -0
- package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +68 -0
- package/dist/stories/shared/ui/Input/Input.stories.js +82 -0
- package/dist/stories/shared/ui/Logo/Logo.stories.js +75 -0
- package/dist/stories/shared/ui/MetroLabel/MetroLabel.stories.js +91 -0
- package/dist/stories/shared/ui/MetroTag/MetroTag.stories.js +96 -0
- package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +77 -0
- package/dist/stories/shared/ui/Modal/Modal.stories.js +77 -0
- package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +34 -0
- package/dist/stories/shared/ui/NewIcon/NewIcon.stories.js +38 -0
- package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +83 -0
- package/dist/stories/shared/ui/Select/Select.stories.js +81 -0
- package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +82 -0
- package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +87 -0
- package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +85 -0
- package/dist/stories/shared/ui/Switcher/Switcher.stories.js +77 -0
- package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +76 -0
- package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +76 -0
- package/dist/stories/shared/ui/Tag/Tag.stories.js +51 -0
- package/dist/stories/shared/ui/Text/Text.stories.js +22 -0
- package/dist/stories/shared/ui/TextArea/TextArea.stories.js +37 -0
- package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +91 -0
- package/dist/stories/shared/ui/index.js +62 -0
- package/dist/useLotCard-D-gK4J_o.js +186 -0
- package/dist/useSortSelect-IeonkD5d.js +79 -0
- package/package.json +39 -30
- package/dist/index-DIxK0V-G.js +0 -44
- package/dist/style.css +0 -1
- package/dist/useSortSelect-A7A_pNcU.js +0 -76
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ComponentProps } from './Button.types';
|
|
3
|
-
|
|
4
|
-
export declare const Button: ({ size, size_m, size_l, pre, children, post, variant, width, additionalClass, isLoading, ...props }: React.PropsWithChildren<ComponentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const Button: ({ size, size_m, size_l, onCLick, pre, children, post, variant, width, additionalClass, isLoading, ...props }: React.PropsWithChildren<ComponentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,89 +1,96 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import { NewIcon as
|
|
4
|
-
const
|
|
5
|
-
btnCommon:
|
|
1
|
+
import { jsx as n, jsxs as m, Fragment as r } from "react/jsx-runtime";
|
|
2
|
+
import { c as k } from "../../../index-YnD2EP-S.js";
|
|
3
|
+
import { NewIcon as y } from "../../NewIcon/ui/NewIcon.js";
|
|
4
|
+
const w = "_btnCommon_1n16j_1", f = "_btnLoading_1n16j_20", C = "_pre_1n16j_24", N = "_post_1n16j_25", p = "_isHidden_1n16j_29", v = "_blue_1n16j_73", H = "_lightBlue_1n16j_87", S = "_sokolniki_1n16j_102", B = "_black_1n16j_116", L = "_gray_1n16j_130", $ = "_whiteStroke_1n16j_144", x = "_whiteFilled_1n16j_156", F = "_shade_1n16j_170", I = "_transparent_1n16j_176", q = "_volodiyaLight_1n16j_197", A = "_loader_1n16j_203", D = "_LoaderSpin_1n16j_1", e = {
|
|
5
|
+
btnCommon: w,
|
|
6
6
|
btnLoading: f,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
pre: C,
|
|
8
|
+
post: N,
|
|
9
|
+
isHidden: p,
|
|
10
|
+
"auto-width": "_auto-width_1n16j_33",
|
|
11
|
+
"full-width": "_full-width_1n16j_37",
|
|
12
|
+
"tiny-size": "_tiny-size_1n16j_41",
|
|
13
|
+
"small-size": "_small-size_1n16j_49",
|
|
14
|
+
"medium-size": "_medium-size_1n16j_57",
|
|
15
|
+
"large-size": "_large-size_1n16j_65",
|
|
16
|
+
blue: v,
|
|
17
|
+
lightBlue: H,
|
|
18
|
+
sokolniki: S,
|
|
19
|
+
black: B,
|
|
20
|
+
gray: L,
|
|
18
21
|
whiteStroke: $,
|
|
19
22
|
whiteFilled: x,
|
|
20
23
|
shade: F,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
24
|
+
transparent: I,
|
|
25
|
+
volodiyaLight: q,
|
|
26
|
+
loader: A,
|
|
27
|
+
LoaderSpin: D,
|
|
28
|
+
"tiny-size_m": "_tiny-size_m_1n16j_209",
|
|
29
|
+
"small-size_m": "_small-size_m_1n16j_216",
|
|
30
|
+
"medium-size_m": "_medium-size_m_1n16j_223",
|
|
31
|
+
"large-size_m": "_large-size_m_1n16j_230",
|
|
32
|
+
"tiny-size_l": "_tiny-size_l_1n16j_239",
|
|
33
|
+
"small-size_l": "_small-size_l_1n16j_246",
|
|
34
|
+
"medium-size_l": "_medium-size_l_1n16j_253",
|
|
35
|
+
"large-size_l": "_large-size_l_1n16j_260"
|
|
36
|
+
}, s = k.bind(e), K = ({
|
|
37
|
+
size: c = "medium",
|
|
38
|
+
size_m: j,
|
|
39
|
+
size_l: z,
|
|
40
|
+
onCLick: o,
|
|
41
|
+
pre: l = !1,
|
|
42
|
+
children: h = "",
|
|
43
|
+
post: t = !1,
|
|
44
|
+
variant: u = "blue",
|
|
45
|
+
width: b = "auto",
|
|
46
|
+
additionalClass: g = "",
|
|
47
|
+
isLoading: _ = !1,
|
|
48
|
+
...i
|
|
44
49
|
}) => {
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
{ [
|
|
52
|
-
{ [
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
),
|
|
56
|
-
|
|
57
|
-
|
|
50
|
+
const a = s(
|
|
51
|
+
e.btnCommon,
|
|
52
|
+
e[`${c}-size`],
|
|
53
|
+
e[`${j}-size_m`],
|
|
54
|
+
e[`${z}-size_l`],
|
|
55
|
+
e[`${u}`],
|
|
56
|
+
{ [e.btnLoading]: _ },
|
|
57
|
+
{ [e.btnCommonInline]: l || t },
|
|
58
|
+
e[`${b}-width`],
|
|
59
|
+
g
|
|
60
|
+
), d = () => /* @__PURE__ */ m(r, { children: [
|
|
61
|
+
_ && /* @__PURE__ */ n(
|
|
62
|
+
y,
|
|
58
63
|
{
|
|
59
64
|
name: "loader",
|
|
60
65
|
size: "24",
|
|
61
66
|
color: "currentColor",
|
|
62
|
-
additionalClass:
|
|
67
|
+
additionalClass: e.loader
|
|
63
68
|
}
|
|
64
69
|
),
|
|
65
|
-
/* @__PURE__ */
|
|
66
|
-
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
-
|
|
70
|
+
/* @__PURE__ */ m(r, { children: [
|
|
71
|
+
l && /* @__PURE__ */ n("div", { className: s(e.pre, { [e.isHidden]: _ }), children: l }),
|
|
72
|
+
/* @__PURE__ */ n("div", { className: s({ [e.isHidden]: _ }), children: h }),
|
|
73
|
+
t && /* @__PURE__ */ n("div", { className: s(e.post, { [e.isHidden]: _ }), children: t })
|
|
69
74
|
] })
|
|
70
75
|
] });
|
|
71
|
-
return
|
|
76
|
+
return i.as === "link" ? (delete i.as, /* @__PURE__ */ n(
|
|
72
77
|
"a",
|
|
73
78
|
{
|
|
74
|
-
className:
|
|
75
|
-
|
|
76
|
-
|
|
79
|
+
className: a,
|
|
80
|
+
onClick: o,
|
|
81
|
+
...i,
|
|
82
|
+
children: d()
|
|
77
83
|
}
|
|
78
|
-
) : /* @__PURE__ */
|
|
84
|
+
)) : (delete i.as, /* @__PURE__ */ n(
|
|
79
85
|
"button",
|
|
80
86
|
{
|
|
81
|
-
className:
|
|
82
|
-
|
|
83
|
-
|
|
87
|
+
className: a,
|
|
88
|
+
onClick: o,
|
|
89
|
+
...i,
|
|
90
|
+
children: d()
|
|
84
91
|
}
|
|
85
|
-
);
|
|
92
|
+
));
|
|
86
93
|
};
|
|
87
94
|
export {
|
|
88
|
-
|
|
95
|
+
K as Button
|
|
89
96
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type btnWidth = 'auto' | 'full';
|
|
2
|
+
export type btnWidth = 'auto' | 'full';
|
|
4
3
|
export declare const BUTTON_VARIANTS: {
|
|
5
4
|
blue: string;
|
|
6
5
|
gray: string;
|
|
@@ -10,6 +9,8 @@ export declare const BUTTON_VARIANTS: {
|
|
|
10
9
|
whiteFilled: string;
|
|
11
10
|
shade: string;
|
|
12
11
|
volodiyaLight: string;
|
|
12
|
+
lightBlue: string;
|
|
13
|
+
transparent: string;
|
|
13
14
|
};
|
|
14
15
|
export type btnVariant = keyof typeof BUTTON_VARIANTS;
|
|
15
16
|
type btnSizes = 'large' | 'medium' | 'small' | 'tiny';
|
|
@@ -24,11 +25,12 @@ interface ButtonProps {
|
|
|
24
25
|
width?: btnWidth;
|
|
25
26
|
additionalClass?: string;
|
|
26
27
|
isLoading?: boolean;
|
|
27
|
-
as
|
|
28
|
+
as?: 'button' | 'link';
|
|
29
|
+
onCLick?: () => any;
|
|
28
30
|
}
|
|
29
31
|
export type ComponentProps = ButtonProps & ((React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
30
|
-
as
|
|
32
|
+
as?: 'button';
|
|
31
33
|
}) | (React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
32
|
-
as
|
|
34
|
+
as?: 'link';
|
|
33
35
|
} & Required<Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>>));
|
|
34
36
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = {
|
|
2
2
|
blue: "blue",
|
|
3
3
|
gray: "gray",
|
|
4
4
|
whiteStroke: "whiteStroke",
|
|
@@ -6,8 +6,10 @@ const i = {
|
|
|
6
6
|
black: "black",
|
|
7
7
|
whiteFilled: "whiteFilled",
|
|
8
8
|
shade: "shade",
|
|
9
|
-
volodiyaLight: "volodiyaLight"
|
|
9
|
+
volodiyaLight: "volodiyaLight",
|
|
10
|
+
lightBlue: "lightBlue",
|
|
11
|
+
transparent: "transparent"
|
|
10
12
|
};
|
|
11
13
|
export {
|
|
12
|
-
|
|
14
|
+
e as BUTTON_VARIANTS
|
|
13
15
|
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { jsxs as i, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as g } from "react";
|
|
3
|
+
import { NewIcon as n } from "../NewIcon/ui/NewIcon.js";
|
|
4
|
+
const p = "_checkbox_vuhc0_1", $ = "_checkbox__text_vuhc0_5", I = "_checkbox__elem_vuhc0_9", C = "_checkbox__hoverIcon_vuhc0_28", N = "_error_vuhc0_35", j = "_light_vuhc0_41", w = "_dark_vuhc0_44", y = "_isChecked_vuhc0_47", e = {
|
|
5
|
+
checkbox: p,
|
|
6
|
+
checkbox__text: $,
|
|
7
|
+
checkbox__elem: I,
|
|
8
|
+
checkbox__hoverIcon: C,
|
|
9
|
+
error: N,
|
|
10
|
+
light: j,
|
|
11
|
+
dark: w,
|
|
12
|
+
isChecked: y,
|
|
13
|
+
"medium-size": "_medium-size_vuhc0_102",
|
|
14
|
+
"large-size": "_large-size_vuhc0_107",
|
|
15
|
+
"small-size": "_small-size_vuhc0_112"
|
|
16
|
+
}, L = g(
|
|
17
|
+
({
|
|
18
|
+
children: t,
|
|
19
|
+
isChecked: _ = !1,
|
|
20
|
+
error: a = !1,
|
|
21
|
+
modifierClassesStyle: m = [""],
|
|
22
|
+
emitIsChecked: h,
|
|
23
|
+
onClick: l,
|
|
24
|
+
variant: x = "light",
|
|
25
|
+
size_s: k,
|
|
26
|
+
size_m: b,
|
|
27
|
+
size_l: u,
|
|
28
|
+
text: r,
|
|
29
|
+
...v
|
|
30
|
+
}, d) => {
|
|
31
|
+
const z = m.map((f) => e[f]).filter(Boolean).join(" ");
|
|
32
|
+
let o = "", c = "20";
|
|
33
|
+
return u ? (o = e["large-size"], c = "20") : k ? (o = e["small-size"], c = "12") : (o = e["medium-size"], c = "16"), /* @__PURE__ */ i(
|
|
34
|
+
"label",
|
|
35
|
+
{
|
|
36
|
+
className: `
|
|
37
|
+
${e.checkbox}
|
|
38
|
+
${z}
|
|
39
|
+
${_ ? e.isChecked : ""}
|
|
40
|
+
${a ? e.error : ""}
|
|
41
|
+
${e[x] || ""}
|
|
42
|
+
${o}
|
|
43
|
+
`,
|
|
44
|
+
onClick: () => {
|
|
45
|
+
l && l();
|
|
46
|
+
},
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ s(
|
|
49
|
+
"input",
|
|
50
|
+
{
|
|
51
|
+
type: "checkbox",
|
|
52
|
+
ref: d,
|
|
53
|
+
checked: !!_,
|
|
54
|
+
onChange: () => h && h(!_),
|
|
55
|
+
...v
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
/* @__PURE__ */ i("span", { className: e.checkbox__elem, children: [
|
|
59
|
+
_ && /* @__PURE__ */ s(
|
|
60
|
+
n,
|
|
61
|
+
{
|
|
62
|
+
name: "check",
|
|
63
|
+
size: c
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
!_ && /* @__PURE__ */ s(
|
|
67
|
+
n,
|
|
68
|
+
{
|
|
69
|
+
name: "check",
|
|
70
|
+
size: c,
|
|
71
|
+
additionalClass: e.checkbox__hoverIcon
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
] }),
|
|
75
|
+
r && /* @__PURE__ */ s("span", { className: e.checkbox__text, dangerouslySetInnerHTML: { __html: r } }),
|
|
76
|
+
t
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
export {
|
|
83
|
+
L as CheckBox
|
|
84
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
+
export type CheckBoxVariant = 'light' | 'dark';
|
|
3
|
+
export type CheckBoxSize = 'small' | 'medium' | 'large';
|
|
4
|
+
export interface CheckBoxProps {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
isChecked: boolean | undefined;
|
|
7
|
+
error?: boolean;
|
|
8
|
+
modifierClassesStyle?: string[];
|
|
9
|
+
emitIsChecked?: (isChecked: boolean) => void;
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
variant?: CheckBoxVariant;
|
|
12
|
+
size_s?: boolean;
|
|
13
|
+
size_l?: boolean;
|
|
14
|
+
size_m?: boolean;
|
|
15
|
+
text?: string;
|
|
16
|
+
}
|
|
17
|
+
export type CheckBoxComponent = ForwardRefExoticComponent<CheckBoxProps & RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const CHECKBOX_VARIANTS: {
|
|
3
|
+
light: string;
|
|
4
|
+
};
|
|
5
|
+
export type checkBoxVariant = keyof typeof CHECKBOX_VARIANTS;
|
|
6
|
+
type checkBoxSizes = 'medium';
|
|
7
|
+
interface InputProps {
|
|
8
|
+
size_s?: checkBoxSizes;
|
|
9
|
+
size_m?: checkBoxSizes;
|
|
10
|
+
size_l?: checkBoxSizes;
|
|
11
|
+
error?: boolean;
|
|
12
|
+
variant?: checkBoxVariant;
|
|
13
|
+
additionalClass?: string;
|
|
14
|
+
}
|
|
15
|
+
export type ComponentProps = InputProps & React.InputHTMLAttributes<HTMLInputElement>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
text?: string;
|
|
3
|
+
error: boolean;
|
|
4
|
+
emitIsChecked?: (isChecked: boolean) => void;
|
|
5
|
+
isChecked?: boolean;
|
|
6
|
+
modalFontSize?: boolean;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export type Ref = HTMLInputElement;
|
|
10
|
+
export declare const CheckBoxNew: import('react').ForwardRefExoticComponent<Props & import('react').RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsxs as _, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { c as m } from "../../index-YnD2EP-S.js";
|
|
3
|
+
import { forwardRef as h } from "react";
|
|
4
|
+
import { Input as p } from "../Input/ui/Input.js";
|
|
5
|
+
import { NewIcon as d } from "../NewIcon/ui/NewIcon.js";
|
|
6
|
+
const i = "_checkboxLabel_14vcp_1", k = "_labelText_14vcp_36", T = "_labelTextModal_14vcp_44", f = "_error_14vcp_49", v = "_checkIcon_14vcp_58", e = {
|
|
7
|
+
checkboxLabel: i,
|
|
8
|
+
labelText: k,
|
|
9
|
+
labelTextModal: T,
|
|
10
|
+
error: f,
|
|
11
|
+
checkIcon: v
|
|
12
|
+
}, t = m.bind(e), w = h(
|
|
13
|
+
({ text: c, isChecked: l, error: r, children: n, emitIsChecked: a, modalFontSize: s, ...b }, x) => /* @__PURE__ */ _("label", { className: t(e.checkboxLabel, { [e.error]: r }), children: [
|
|
14
|
+
/* @__PURE__ */ o(
|
|
15
|
+
p,
|
|
16
|
+
{
|
|
17
|
+
type: "checkbox",
|
|
18
|
+
...b,
|
|
19
|
+
onChange: () => a && a(!l),
|
|
20
|
+
ref: x
|
|
21
|
+
}
|
|
22
|
+
),
|
|
23
|
+
l && /* @__PURE__ */ o(
|
|
24
|
+
d,
|
|
25
|
+
{
|
|
26
|
+
additionalClass: e.checkIcon,
|
|
27
|
+
color: "#B1B5C3",
|
|
28
|
+
strokeWidth: "1.5",
|
|
29
|
+
name: "check",
|
|
30
|
+
size: "20"
|
|
31
|
+
}
|
|
32
|
+
),
|
|
33
|
+
/* @__PURE__ */ o(
|
|
34
|
+
"div",
|
|
35
|
+
{
|
|
36
|
+
className: t(e.labelText, { [e.labelTextModal]: s }, { [e.error]: r }),
|
|
37
|
+
dangerouslySetInnerHTML: c ? { __html: c } : void 0,
|
|
38
|
+
children: n
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
] })
|
|
42
|
+
);
|
|
43
|
+
export {
|
|
44
|
+
w as CheckBoxNew
|
|
45
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CheckboxSelect } from './ui/CheckboxSelect';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface ICheckboxSelectProps {
|
|
2
|
+
label?: string;
|
|
3
|
+
checkboxes: {
|
|
4
|
+
label: string;
|
|
5
|
+
isSelected: boolean;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
setValue: () => void;
|
|
8
|
+
}[];
|
|
9
|
+
addClassname?: string;
|
|
10
|
+
isNeedClear?: boolean;
|
|
11
|
+
labelSize?: 'medium' | 'large';
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Используйте labelSize='large' вместо isPromotion={true}
|
|
14
|
+
*/
|
|
15
|
+
isPromotion?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const CheckboxSelect: React.FC<ICheckboxSelectProps>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { jsxs as o, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as b } from "../../../index-YnD2EP-S.js";
|
|
3
|
+
const d = "_root_19qpl_1", m = "_nameWrapper_19qpl_8", x = "_large_19qpl_18", k = "_clearBtn_19qpl_25", I = "_checkboxWrapper_19qpl_40", g = "_checkboxItem_19qpl_46", q = "_checkboxItemActive_19qpl_64", v = "_checkboxItemDisabled_19qpl_76", B = "_checkBoxLarge_19qpl_81", e = {
|
|
4
|
+
root: d,
|
|
5
|
+
nameWrapper: m,
|
|
6
|
+
large: x,
|
|
7
|
+
clearBtn: k,
|
|
8
|
+
checkboxWrapper: I,
|
|
9
|
+
checkboxItem: g,
|
|
10
|
+
checkboxItemActive: q,
|
|
11
|
+
checkboxItemDisabled: v,
|
|
12
|
+
checkBoxLarge: B
|
|
13
|
+
}, l = b.bind(e), N = ({
|
|
14
|
+
label: s = "Тип квартиры",
|
|
15
|
+
checkboxes: r,
|
|
16
|
+
addClassname: n,
|
|
17
|
+
isNeedClear: i = !0,
|
|
18
|
+
labelSize: p = "medium",
|
|
19
|
+
isPromotion: h
|
|
20
|
+
}) => {
|
|
21
|
+
const _ = () => {
|
|
22
|
+
r?.forEach((c) => {
|
|
23
|
+
c?.isSelected && c?.setValue();
|
|
24
|
+
});
|
|
25
|
+
}, t = p === "large" || h;
|
|
26
|
+
return /* @__PURE__ */ o("div", { className: l(e.root, n), children: [
|
|
27
|
+
/* @__PURE__ */ o("div", { className: l(e.nameWrapper, { [e.large]: t }), children: [
|
|
28
|
+
/* @__PURE__ */ a("div", { children: s }),
|
|
29
|
+
i && /* @__PURE__ */ a(
|
|
30
|
+
"div",
|
|
31
|
+
{
|
|
32
|
+
className: e.clearBtn,
|
|
33
|
+
onClick: _,
|
|
34
|
+
children: "Очистить"
|
|
35
|
+
}
|
|
36
|
+
)
|
|
37
|
+
] }),
|
|
38
|
+
/* @__PURE__ */ a("div", { className: e.checkboxWrapper, children: r?.map((c) => /* @__PURE__ */ a(
|
|
39
|
+
"button",
|
|
40
|
+
{
|
|
41
|
+
className: l(
|
|
42
|
+
e.checkboxItem,
|
|
43
|
+
{ [e.checkboxItemActive]: c?.isSelected },
|
|
44
|
+
{ [e.checkboxItemDisabled]: c?.disabled },
|
|
45
|
+
{ [e.checkBoxLarge]: t }
|
|
46
|
+
),
|
|
47
|
+
onClick: () => c?.setValue(),
|
|
48
|
+
disabled: c?.disabled,
|
|
49
|
+
children: c?.label
|
|
50
|
+
},
|
|
51
|
+
c?.label
|
|
52
|
+
)) })
|
|
53
|
+
] });
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
N as CheckboxSelect
|
|
57
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ICommercialLotCard } from './types/CommercialLotCard.types';
|
|
2
|
+
export declare const CommercialLotCard: ({ lot, imgNode, onPriceClickHandler, addClassname, isVertical, isFavorite, favoriteClickHandler, }: ICommercialLotCard) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { c as z } from "../../index-YnD2EP-S.js";
|
|
3
|
+
import { fmtNumber as W } from "../../shared/fmtNumber.js";
|
|
4
|
+
import { Price as b } from "./components/Price/Price.js";
|
|
5
|
+
import { Snippets as v } from "./components/Snippets/Snippets.js";
|
|
6
|
+
import { Tags as m } from "./components/Tags/Tags.js";
|
|
7
|
+
import { FavoriteIcon as y } from "../FavoriteIcon/FavoriteIcon.js";
|
|
8
|
+
import { PaymentLink as I } from "./components/PaymentLink/PaymentLink.js";
|
|
9
|
+
const P = "_root_uzpph_1", L = "_lotImageWrapper_uzpph_17", w = "_lotNameContent_uzpph_24", C = "_lotNameWrapper_uzpph_30", k = "_lotName_uzpph_24", x = "_lotNumber_uzpph_45", R = "_content_uzpph_54", S = "_featuresWrapper_uzpph_60", j = "_tags_uzpph_65", F = "_rootRow_uzpph_70", T = "_price_uzpph_105", D = "_paymentLink_uzpph_108", e = {
|
|
10
|
+
root: P,
|
|
11
|
+
lotImageWrapper: L,
|
|
12
|
+
lotNameContent: w,
|
|
13
|
+
lotNameWrapper: C,
|
|
14
|
+
lotName: k,
|
|
15
|
+
lotNumber: x,
|
|
16
|
+
content: R,
|
|
17
|
+
featuresWrapper: S,
|
|
18
|
+
tags: j,
|
|
19
|
+
rootRow: F,
|
|
20
|
+
price: T,
|
|
21
|
+
paymentLink: D
|
|
22
|
+
}, q = z.bind(e), Q = ({
|
|
23
|
+
lot: o,
|
|
24
|
+
imgNode: s,
|
|
25
|
+
onPriceClickHandler: c,
|
|
26
|
+
addClassname: i,
|
|
27
|
+
isVertical: p = !1,
|
|
28
|
+
isFavorite: l,
|
|
29
|
+
favoriteClickHandler: r
|
|
30
|
+
}) => {
|
|
31
|
+
const { interiorPlanImg: _, floorPlanImg: u, area: N, subTypeName: h, number: g } = o || {}, d = h + ", " + W(N) + "м²", f = _ ?? u ?? "";
|
|
32
|
+
return o ? /* @__PURE__ */ a("div", { className: q(e.root, i, { [e.rootRow]: !p }), children: [
|
|
33
|
+
/* @__PURE__ */ a("div", { className: e.lotImageWrapper, children: [
|
|
34
|
+
s || /* @__PURE__ */ t(
|
|
35
|
+
"img",
|
|
36
|
+
{
|
|
37
|
+
loading: "lazy",
|
|
38
|
+
src: f,
|
|
39
|
+
width: 295,
|
|
40
|
+
height: 213,
|
|
41
|
+
alt: "logo_image"
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
r && /* @__PURE__ */ t(
|
|
45
|
+
y,
|
|
46
|
+
{
|
|
47
|
+
handleClickFavorite: (n) => {
|
|
48
|
+
r && r(o), n.preventDefault(), n.stopPropagation();
|
|
49
|
+
},
|
|
50
|
+
isFavorite: l
|
|
51
|
+
}
|
|
52
|
+
)
|
|
53
|
+
] }),
|
|
54
|
+
/* @__PURE__ */ a("div", { className: e.content, children: [
|
|
55
|
+
/* @__PURE__ */ a("div", { className: e.lotNameWrapper, children: [
|
|
56
|
+
/* @__PURE__ */ a("div", { className: e.lotNameContent, children: [
|
|
57
|
+
/* @__PURE__ */ t("p", { className: e.lotName, children: d }),
|
|
58
|
+
/* @__PURE__ */ t("p", { className: e.lotNumber, children: g }),
|
|
59
|
+
/* @__PURE__ */ t(v, { lot: o }),
|
|
60
|
+
/* @__PURE__ */ t(m, { lot: o, classname: e.tags })
|
|
61
|
+
] }),
|
|
62
|
+
/* @__PURE__ */ t(
|
|
63
|
+
b,
|
|
64
|
+
{
|
|
65
|
+
lot: o,
|
|
66
|
+
isVertical: p,
|
|
67
|
+
onPriceClickHandler: c,
|
|
68
|
+
classname: e.price
|
|
69
|
+
}
|
|
70
|
+
)
|
|
71
|
+
] }),
|
|
72
|
+
/* @__PURE__ */ a("div", { className: e.featuresWrapper, children: [
|
|
73
|
+
/* @__PURE__ */ t(m, { lot: o, classname: e.tags }),
|
|
74
|
+
/* @__PURE__ */ t(I, { specialProgram: o.specialProgram, classname: e.paymentLink })
|
|
75
|
+
] })
|
|
76
|
+
] })
|
|
77
|
+
] }) : null;
|
|
78
|
+
};
|
|
79
|
+
export {
|
|
80
|
+
Q as CommercialLotCard
|
|
81
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs as p, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { c as s } from "../../../../index-YnD2EP-S.js";
|
|
3
|
+
import { NewIcon as o } from "../../../NewIcon/ui/NewIcon.js";
|
|
4
|
+
const t = "_paymentWrapper_1ywol_1", m = {
|
|
5
|
+
paymentWrapper: t
|
|
6
|
+
}, y = ({ specialProgram: e, classname: a }) => {
|
|
7
|
+
const n = !!e;
|
|
8
|
+
return /* @__PURE__ */ p("div", { className: s(m.paymentWrapper, a), children: [
|
|
9
|
+
/* @__PURE__ */ r("span", { children: n ? "Узнать подробности" : "Доступно несколько способов оплаты" }),
|
|
10
|
+
/* @__PURE__ */ r(
|
|
11
|
+
o,
|
|
12
|
+
{
|
|
13
|
+
name: "arrowRight",
|
|
14
|
+
size: "20"
|
|
15
|
+
}
|
|
16
|
+
)
|
|
17
|
+
] });
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
y as PaymentLink
|
|
21
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ILot } from '../../types/LotCard';
|
|
2
|
+
interface IPrice {
|
|
3
|
+
lot: ILot;
|
|
4
|
+
isVertical?: boolean;
|
|
5
|
+
onPriceClickHandler?: () => void;
|
|
6
|
+
classname?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const Price: ({ lot, onPriceClickHandler, isVertical, classname }: IPrice) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|