stone-kit 0.0.1032 → 0.0.1033
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 +4 -4
- package/dist/Option-D-8xnCui.js +94 -0
- package/dist/Router.js +1 -1
- package/dist/chunk-4WY6JWTD-BeveLKf_.js +1582 -0
- package/dist/components/Button/ui/Button.js +1 -1
- package/dist/components/CheckBoxNew/CheckBoxNew.js +1 -1
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.d.ts +4 -0
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +20 -19
- package/dist/components/CommercialLotCard/CommercialLotCard.d.ts +1 -1
- package/dist/components/CommercialLotCard/CommercialLotCard.js +62 -41
- package/dist/components/CommercialLotCard/components/Price/Price.js +1 -1
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +1 -1
- package/dist/components/CommercialLotCard/types/CommercialLotCard.types.d.ts +2 -0
- package/dist/components/DestinationTab/ui/DestinationTab.js +1 -1
- package/dist/components/FieldInput/ui/FieldInput.d.ts +1 -1
- package/dist/components/FieldInput/ui/FieldInput.js +21 -12
- package/dist/components/FieldInput/ui/FieldInput.types.d.ts +1 -0
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +1 -1
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +2 -7
- package/dist/components/Flex/ui/Flex.js +1 -1
- package/dist/components/FormModal/ui/ModalForm.d.ts +10 -1
- package/dist/components/FormModal/ui/ModalForm.js +803 -719
- package/dist/components/GroupedInput/ui/GroupedInputs.js +1 -1
- package/dist/components/Input/ui/Input.js +1 -22
- package/dist/components/Logo/ui/Logo.js +1 -1
- package/dist/components/LotCard/hooks/useLotCard.js +2 -2
- package/dist/components/LotCard/ui/LotCard.d.ts +1 -1
- package/dist/components/LotCard/ui/LotCard.js +114 -94
- package/dist/components/LotCard/ui/LotCard.types.d.ts +2 -0
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +1 -1
- package/dist/components/MetroLabel/ui/MetroLabel.js +1 -1
- package/dist/components/MetroTag/ui/MetroTag.js +1 -1
- package/dist/components/NewIcon/ui/NewIcon.js +119 -114
- package/dist/components/RoundButton/ui/RoundButton.js +1 -1
- package/dist/components/RoundButton/ui/RoundButton.types.d.ts +1 -0
- package/dist/components/Select/ui/Category.js +2 -2
- package/dist/components/Select/ui/Option.d.ts +2 -1
- package/dist/components/Select/ui/Option.js +2 -2
- package/dist/components/Select/ui/Select.d.ts +1 -1
- package/dist/components/Select/ui/Select.js +88 -82
- package/dist/components/Select/ui/Select.types.d.ts +5 -0
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +1 -1
- package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
- package/dist/components/SortSelect/ui/SortSelect.js +2 -2
- package/dist/components/SummarySelect/ui/SummarySelect.d.ts +1 -0
- package/dist/components/SummarySelect/ui/SummarySelect.js +60 -57
- package/dist/components/Switcher/ui/Switcher.js +1 -1
- package/dist/components/TabSelect/ui/TabSelect.js +1 -1
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +91 -90
- package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +1 -0
- package/dist/components/Tag/ui/Tag.js +1 -1
- package/dist/components/Text/ui/Text.js +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/mobileButton/ui/MobileButton.js +1 -1
- package/dist/{index-3E04UaC2.js → index-BJwl9stn.js} +785 -784
- package/dist/{index-B2JRaoNz.js → index-YnD2EP-S.js} +0 -5
- package/dist/layout/components/Header/Header.js +1 -1
- package/dist/layout/components/Menu.js +107 -4
- package/dist/pages/FormsPage/FormsPage.js +1 -0
- package/dist/pages/TabsPage/TabsPage.js +56 -42
- package/dist/stone-kit.css +1 -1
- package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +1 -1
- package/dist/stories/shared/ui/Button/Button.stories.js +1 -1
- package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +1 -1
- package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +1 -1
- package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +1 -1
- package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +1 -1
- package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +1 -1
- package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +1 -1
- package/dist/stories/shared/ui/FormModal/FormModal.stories.js +1 -1
- package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +1 -1
- package/dist/stories/shared/ui/Logo/Logo.stories.js +1 -1
- package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +1 -1
- package/dist/stories/shared/ui/Modal/Modal.stories.js +1 -1
- package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +1 -1
- package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +1 -1
- package/dist/stories/shared/ui/Select/Select.stories.js +1 -1
- package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +1 -1
- package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +1 -1
- package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +1 -1
- package/dist/stories/shared/ui/Switcher/Switcher.stories.js +1 -1
- package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +1 -1
- package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +1 -1
- package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +1 -1
- package/dist/useLotCard-I7_rgnqj.js +187 -0
- package/dist/{useSortSelect-B8HOGdOt.js → useSortSelect-IeonkD5d.js} +1 -1
- package/package.json +5 -5
- package/dist/Menu-CdJTzN7T.js +0 -494
- package/dist/Option-rFBMQAPk.js +0 -87
- package/dist/index-CBdtKu-u.js +0 -891
- package/dist/useLotCard-DG9doKCX.js +0 -186
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as m, Fragment as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as k } from "../../../index-
|
|
2
|
+
import { c as k } from "../../../index-YnD2EP-S.js";
|
|
3
3
|
import { NewIcon as y } from "../../NewIcon/ui/NewIcon.js";
|
|
4
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
5
|
btnCommon: w,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as _, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../index-
|
|
2
|
+
import { c as m } from "../../index-YnD2EP-S.js";
|
|
3
3
|
import { forwardRef as h } from "react";
|
|
4
4
|
import { Input as p } from "../Input/ui/Input.js";
|
|
5
5
|
import { NewIcon as d } from "../NewIcon/ui/NewIcon.js";
|
|
@@ -8,6 +8,10 @@ interface ICheckboxSelectProps {
|
|
|
8
8
|
}[];
|
|
9
9
|
addClassname?: string;
|
|
10
10
|
isNeedClear?: boolean;
|
|
11
|
+
labelSize?: 'medium' | 'large';
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Используйте labelSize='large' вместо isPromotion={true}
|
|
14
|
+
*/
|
|
11
15
|
isPromotion?: boolean;
|
|
12
16
|
}
|
|
13
17
|
export declare const CheckboxSelect: React.FC<ICheckboxSelectProps>;
|
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
import { jsxs as o, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
root:
|
|
5
|
-
nameWrapper:
|
|
6
|
-
large:
|
|
7
|
-
clearBtn:
|
|
8
|
-
checkboxWrapper:
|
|
9
|
-
checkboxItem:
|
|
10
|
-
checkboxItemActive:
|
|
11
|
-
checkboxItemDisabled:
|
|
12
|
-
checkBoxLarge:
|
|
13
|
-
}, l =
|
|
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
14
|
label: s = "Тип квартиры",
|
|
15
15
|
checkboxes: r,
|
|
16
16
|
addClassname: n,
|
|
17
|
-
isNeedClear:
|
|
18
|
-
|
|
17
|
+
isNeedClear: i = !0,
|
|
18
|
+
labelSize: p = "medium",
|
|
19
|
+
isPromotion: h
|
|
19
20
|
}) => {
|
|
20
|
-
const
|
|
21
|
+
const _ = () => {
|
|
21
22
|
r?.forEach((c) => {
|
|
22
23
|
c?.isSelected && c?.setValue();
|
|
23
24
|
});
|
|
24
|
-
};
|
|
25
|
+
}, t = p === "large" || h;
|
|
25
26
|
return /* @__PURE__ */ o("div", { className: l(e.root, n), children: [
|
|
26
27
|
/* @__PURE__ */ o("div", { className: l(e.nameWrapper, { [e.large]: t }), children: [
|
|
27
28
|
/* @__PURE__ */ a("div", { children: s }),
|
|
28
|
-
|
|
29
|
+
i && /* @__PURE__ */ a(
|
|
29
30
|
"div",
|
|
30
31
|
{
|
|
31
32
|
className: e.clearBtn,
|
|
32
|
-
onClick:
|
|
33
|
+
onClick: _,
|
|
33
34
|
children: "Очистить"
|
|
34
35
|
}
|
|
35
36
|
)
|
|
@@ -52,5 +53,5 @@ const _ = "_root_19qpl_1", b = "_nameWrapper_19qpl_8", d = "_large_19qpl_18", x
|
|
|
52
53
|
] });
|
|
53
54
|
};
|
|
54
55
|
export {
|
|
55
|
-
|
|
56
|
+
N as CheckboxSelect
|
|
56
57
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ICommercialLotCard } from './types/CommercialLotCard.types';
|
|
2
|
-
export declare const CommercialLotCard: ({ lot, imgNode, onPriceClickHandler, addClassname, isVertical, }: ICommercialLotCard) => import("react/jsx-runtime").JSX.Element | null;
|
|
2
|
+
export declare const CommercialLotCard: ({ lot, imgNode, onPriceClickHandler, addClassname, isVertical, isFavorite, favoriteClickHandler, }: ICommercialLotCard) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,52 +1,73 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { fmtNumber as
|
|
4
|
-
import { Price as
|
|
5
|
-
import { Snippets as
|
|
6
|
-
import { Tags as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsxs as a, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { c as u } from "../../index-YnD2EP-S.js";
|
|
3
|
+
import { fmtNumber as g } from "../../shared/fmtNumber.js";
|
|
4
|
+
import { Price as z } from "./components/Price/Price.js";
|
|
5
|
+
import { Snippets as W } from "./components/Snippets/Snippets.js";
|
|
6
|
+
import { Tags as y } from "./components/Tags/Tags.js";
|
|
7
|
+
import { RoundButton as b } from "../RoundButton/ui/RoundButton.js";
|
|
8
|
+
const v = "_root_hyzjj_1", I = "_lotImageWrapper_hyzjj_17", w = "_favoriteBtn_hyzjj_24", B = "_lotNameWrapper_hyzjj_30", R = "_lotName_hyzjj_30", x = "_lotNumber_hyzjj_45", P = "_priceWrapper_hyzjj_54", C = "_rootRow_hyzjj_59", r = {
|
|
9
|
+
root: v,
|
|
10
|
+
lotImageWrapper: I,
|
|
11
|
+
favoriteBtn: w,
|
|
12
|
+
lotNameWrapper: B,
|
|
13
|
+
lotName: R,
|
|
14
|
+
lotNumber: x,
|
|
15
|
+
priceWrapper: P,
|
|
16
|
+
rootRow: C
|
|
17
|
+
}, F = u.bind(r), D = ({
|
|
16
18
|
lot: e,
|
|
17
|
-
imgNode:
|
|
18
|
-
onPriceClickHandler:
|
|
19
|
-
addClassname:
|
|
20
|
-
isVertical:
|
|
19
|
+
imgNode: i,
|
|
20
|
+
onPriceClickHandler: s,
|
|
21
|
+
addClassname: l,
|
|
22
|
+
isVertical: t = !1,
|
|
23
|
+
isFavorite: p,
|
|
24
|
+
favoriteClickHandler: m
|
|
21
25
|
}) => {
|
|
22
|
-
const { interiorPlanImg:
|
|
23
|
-
return e ? /* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
26
|
+
const { interiorPlanImg: n, floorPlanImg: c, area: _, subTypeName: N, number: d } = e || {}, h = N + ", " + g(_) + "м²", j = n ?? c ?? "";
|
|
27
|
+
return e ? /* @__PURE__ */ a("div", { className: F(r.root, l, { [r.rootRow]: !t }), children: [
|
|
28
|
+
/* @__PURE__ */ a("div", { className: r.lotImageWrapper, children: [
|
|
29
|
+
i || /* @__PURE__ */ o(
|
|
30
|
+
"img",
|
|
31
|
+
{
|
|
32
|
+
loading: "lazy",
|
|
33
|
+
src: j,
|
|
34
|
+
width: 295,
|
|
35
|
+
height: 213,
|
|
36
|
+
alt: "logo_image"
|
|
37
|
+
}
|
|
38
|
+
),
|
|
39
|
+
/* @__PURE__ */ o(
|
|
40
|
+
b,
|
|
41
|
+
{
|
|
42
|
+
iconName: p ? "heartFilled" : "heart",
|
|
43
|
+
size: "medium",
|
|
44
|
+
size_m: "small",
|
|
45
|
+
size_l: "medium",
|
|
46
|
+
variant: "fullGray",
|
|
47
|
+
color: "#015FF9",
|
|
48
|
+
additionalClass: r.favoriteBtn,
|
|
49
|
+
onClick: (f) => {
|
|
50
|
+
m && m(e), f.stopPropagation();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
] }),
|
|
55
|
+
/* @__PURE__ */ a("div", { className: r.lotNameWrapper, children: [
|
|
56
|
+
/* @__PURE__ */ o("p", { className: r.lotName, children: h }),
|
|
57
|
+
/* @__PURE__ */ o("p", { className: r.lotNumber, children: d }),
|
|
58
|
+
/* @__PURE__ */ o(W, { lot: e }),
|
|
59
|
+
/* @__PURE__ */ o(y, { lot: e })
|
|
39
60
|
] }),
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
|
|
61
|
+
/* @__PURE__ */ o("div", { className: r.priceWrapper, children: /* @__PURE__ */ o(
|
|
62
|
+
z,
|
|
42
63
|
{
|
|
43
64
|
lot: e,
|
|
44
|
-
isVertical:
|
|
45
|
-
onPriceClickHandler:
|
|
65
|
+
isVertical: t,
|
|
66
|
+
onPriceClickHandler: s
|
|
46
67
|
}
|
|
47
68
|
) })
|
|
48
69
|
] }) : null;
|
|
49
70
|
};
|
|
50
71
|
export {
|
|
51
|
-
|
|
72
|
+
D as CommercialLotCard
|
|
52
73
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as o, jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { c as P } from "../../../../index-
|
|
2
|
+
import { c as P } from "../../../../index-YnD2EP-S.js";
|
|
3
3
|
import { formatPrice as g } from "../../utils/formatPrice.js";
|
|
4
4
|
import { NewIcon as y } from "../../../NewIcon/ui/NewIcon.js";
|
|
5
5
|
const N = "_root_z3d8u_1", w = "_price_z3d8u_7", z = "_paymentWrapper_z3d8u_19", b = "_rootVertical_z3d8u_36", r = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as f, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useState as A } from "react";
|
|
3
3
|
import { getTagsFeatures as B } from "../../utils/getTagsFeatures.js";
|
|
4
|
-
import { c as I } from "../../../../index-
|
|
4
|
+
import { c as I } from "../../../../index-YnD2EP-S.js";
|
|
5
5
|
import { useClientWidth as k } from "../../../../shared/useClientWidth.js";
|
|
6
6
|
import { NewIcon as C } from "../../../NewIcon/ui/NewIcon.js";
|
|
7
7
|
const M = "_snippet_1vgdm_1", W = "_snippetLast_1vgdm_9", j = "_snippets_1vgdm_25", D = "_retailSnippets_1vgdm_30", E = "_shownSnippets_1vgdm_35", F = "_addSnippets_1vgdm_64", T = "_addSnippetsActive_1vgdm_80", V = "_addSnippetsList_1vgdm_85", y = "_closeSnippetBtn_1vgdm_129", t = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as z } from "../../../index-
|
|
2
|
+
import { c as z } from "../../../index-YnD2EP-S.js";
|
|
3
3
|
const N = "_destination_1c7de_1", x = "_destinationName_1c7de_40", w = "_routeText_1c7de_45", g = "_whiteStroke_1c7de_65", k = "_routeWrapper_1c7de_78", e = {
|
|
4
4
|
destination: N,
|
|
5
5
|
"auto-width": "_auto-width_1c7de_29",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ComponentProps } from './FieldInput.types';
|
|
3
|
-
export declare const FieldInput: ({ label, handleClear, isShowClear, children }: React.PropsWithChildren<ComponentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const FieldInput: ({ label, handleClear, isShowClear, children, labelSize, }: React.PropsWithChildren<ComponentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,22 +1,31 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as t } from "../../../index-YnD2EP-S.js";
|
|
3
|
+
const i = "_fieldInputWrapper_1l9b5_1", m = "_clearBtn_1l9b5_9", _ = "_nameWrapper_1l9b5_24", d = "_label_1l9b5_32", o = "_large_1l9b5_40", e = {
|
|
4
|
+
fieldInputWrapper: i,
|
|
5
|
+
clearBtn: m,
|
|
6
|
+
nameWrapper: _,
|
|
7
|
+
label: d,
|
|
8
|
+
large: o
|
|
9
|
+
}, u = ({
|
|
10
|
+
label: r,
|
|
11
|
+
handleClear: n,
|
|
12
|
+
isShowClear: p,
|
|
13
|
+
children: s,
|
|
14
|
+
labelSize: c = "medium"
|
|
15
|
+
}) => /* @__PURE__ */ l("div", { className: e.fieldInputWrapper, children: [
|
|
16
|
+
/* @__PURE__ */ l("div", { className: t(e.nameWrapper, { [e.large]: c === "large" }), children: [
|
|
17
|
+
/* @__PURE__ */ a("label", { className: e.label, children: r }),
|
|
18
|
+
p && /* @__PURE__ */ a(
|
|
10
19
|
"div",
|
|
11
20
|
{
|
|
12
21
|
className: e.clearBtn,
|
|
13
|
-
onClick:
|
|
22
|
+
onClick: n,
|
|
14
23
|
children: "Очистить"
|
|
15
24
|
}
|
|
16
25
|
)
|
|
17
26
|
] }),
|
|
18
|
-
|
|
27
|
+
s
|
|
19
28
|
] });
|
|
20
29
|
export {
|
|
21
|
-
|
|
30
|
+
u as FieldInput
|
|
22
31
|
};
|
|
@@ -38,6 +38,6 @@ export declare const useFilterWithSave: ({ selectedTabs, selectedValues, onClick
|
|
|
38
38
|
value: string;
|
|
39
39
|
state: boolean;
|
|
40
40
|
}[]>>;
|
|
41
|
-
containerRef: import('react').
|
|
41
|
+
containerRef: import('react').RefObject<HTMLDivElement | null>;
|
|
42
42
|
};
|
|
43
43
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as d, Fragment as I, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { O as M } from "../../../Option-
|
|
3
|
-
import { g as D } from "../../../index-
|
|
2
|
+
import { O as M } from "../../../Option-D-8xnCui.js";
|
|
3
|
+
import { g as D } from "../../../index-YnD2EP-S.js";
|
|
4
4
|
import { useFilterWithSave as P } from "../hooks/useFilterWithSave.js";
|
|
5
5
|
import { NewIcon as S } from "../../NewIcon/ui/NewIcon.js";
|
|
6
6
|
import { TabSwitcher as _ } from "../../TabSwitcher/ui/TabSwitcher.js";
|
|
@@ -26,11 +26,6 @@ const G = "_root_1v1y9_1", H = "_filterWithSaveModal_1v1y9_15", J = "_modalAddBo
|
|
|
26
26
|
desktopWrapperOpen: le
|
|
27
27
|
};
|
|
28
28
|
var N = { exports: {} };
|
|
29
|
-
/*!
|
|
30
|
-
Copyright (c) 2018 Jed Watson.
|
|
31
|
-
Licensed under the MIT License (MIT), see
|
|
32
|
-
http://jedwatson.github.io/classnames
|
|
33
|
-
*/
|
|
34
29
|
var A;
|
|
35
30
|
function oe() {
|
|
36
31
|
return A || (A = 1, (function(v) {
|
|
@@ -36,9 +36,11 @@ interface IModalFormProps {
|
|
|
36
36
|
domNode: HTMLElement | null;
|
|
37
37
|
key?: string | null | undefined;
|
|
38
38
|
};
|
|
39
|
+
policiesMap: Record<DocumentSlug, string>;
|
|
39
40
|
emitCheckBox?: () => void;
|
|
40
41
|
emitAdvCheckBox?: () => void;
|
|
41
42
|
}
|
|
43
|
+
type DocumentSlug = string;
|
|
42
44
|
type IFormPageInputs = {
|
|
43
45
|
phone: string;
|
|
44
46
|
name: string;
|
|
@@ -46,6 +48,13 @@ type IFormPageInputs = {
|
|
|
46
48
|
personalCheckBox: boolean;
|
|
47
49
|
advCheckBox?: boolean;
|
|
48
50
|
textarea?: string;
|
|
51
|
+
'policy-slug': string;
|
|
49
52
|
};
|
|
50
|
-
export declare
|
|
53
|
+
export declare enum POLICY_TYPE {
|
|
54
|
+
PRIVACY_POLICY = "privacy-policy",
|
|
55
|
+
PERSONAL_DATA = "personal-data",
|
|
56
|
+
MAILING = "mailing",
|
|
57
|
+
STONE_VALUE = "stone-value"
|
|
58
|
+
}
|
|
59
|
+
export declare const ModalForm: ({ isFormOpen, setIsFormOpen, isNews, title, isEmail, isPhone, isTextArea, telegramLink, isRequiredPhone, isRequiredEmail, isRequiredPhoneOrEmail, textAreaPlaceholder, subTitle, submitHandler, modalWidth, rowsTextArea, advCheckBox, isAdvCheckBox, addTitleClassName, createPortalObj, telegramClickHandler, blurHandler, handlerButton, block_name, policiesMap, emitCheckBox, emitAdvCheckBox, }: IModalFormProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
51
60
|
export {};
|