stone-kit 0.0.1008 → 0.0.1010
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 +22 -0
- package/dist/components/Button/ui/Button.js +49 -47
- package/dist/components/ModalSuccess/index.d.ts +1 -0
- package/dist/components/ModalSuccess/index.js +4 -0
- package/dist/components/NewIcon/index.d.ts +1 -1
- package/dist/components/NewIcon/index.js +3 -2
- package/dist/components/TabSelect/ui/TabSelect.js +32 -32
- package/dist/{index-DQgqDqGf.js → index-DvCs2JPX.js} +2927 -3002
- 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/style.css +1 -1
- package/package.json +4 -4
- package/dist/stories/Button.js +0 -23
- package/dist/stories/Button.stories.js +0 -50
- package/dist/stories/Header.js +0 -44
- package/dist/stories/Header.stories.js +0 -28
- package/dist/stories/Page.js +0 -58
- package/dist/stories/Page.stories.js +0 -22
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { l as o } from "../../../index-DvCs2JPX.js";
|
|
3
|
+
import { CommercialLotCard as n } from "../../../components/CommercialLotCard/CommercialLotCard.js";
|
|
4
|
+
const l = {
|
|
5
|
+
id: 1,
|
|
6
|
+
lotUuid: "123-abc",
|
|
7
|
+
subTypeName: "Офис",
|
|
8
|
+
area: "150",
|
|
9
|
+
number: "A-101",
|
|
10
|
+
floor: 5,
|
|
11
|
+
floorsNumber: 10,
|
|
12
|
+
status: 1,
|
|
13
|
+
rentStatus: 1,
|
|
14
|
+
type: 3,
|
|
15
|
+
windowViews: ["На улицу", "Во двор"],
|
|
16
|
+
isCorner: !0,
|
|
17
|
+
isCatering: !1,
|
|
18
|
+
isDecoration: !0,
|
|
19
|
+
isWaterPipes: !0,
|
|
20
|
+
isDetachedBuilding: !1,
|
|
21
|
+
subType: 1,
|
|
22
|
+
additionFeatures: [{ val: "Отдельный вход", slug: "separate-entrance", icoImg: "" }],
|
|
23
|
+
housing: "Корпус 1",
|
|
24
|
+
endFloor: 5,
|
|
25
|
+
project: {
|
|
26
|
+
buildingYear: 2025,
|
|
27
|
+
name: "Project Name",
|
|
28
|
+
directions: [],
|
|
29
|
+
discount: "0",
|
|
30
|
+
id: 0,
|
|
31
|
+
address: "",
|
|
32
|
+
features: null,
|
|
33
|
+
frontFeatures: void 0,
|
|
34
|
+
geo: { lat: "", long: "" },
|
|
35
|
+
logoImg: void 0,
|
|
36
|
+
minimalLotPrice: {},
|
|
37
|
+
retailLotsCount: {},
|
|
38
|
+
salesOffice: void 0,
|
|
39
|
+
shortDesc: "",
|
|
40
|
+
showCatalog: !1,
|
|
41
|
+
showDetailPage: !1,
|
|
42
|
+
showPdfBtn: !1,
|
|
43
|
+
bigLotFeatures: [],
|
|
44
|
+
catalogFeatures: [],
|
|
45
|
+
sort: null,
|
|
46
|
+
isShowPayment: null,
|
|
47
|
+
createdAt: "",
|
|
48
|
+
updatedAt: "",
|
|
49
|
+
metro: [],
|
|
50
|
+
status: "",
|
|
51
|
+
sitPlanImg: ""
|
|
52
|
+
},
|
|
53
|
+
interiorPlanImg: "https://via.placeholder.com/295x213",
|
|
54
|
+
floorPlanImg: "https://via.placeholder.com/295x213",
|
|
55
|
+
name: null,
|
|
56
|
+
buildingQuarter: null,
|
|
57
|
+
hasBestPurchasingConditions: null,
|
|
58
|
+
bestPurchasingConditions: null,
|
|
59
|
+
cornerKitchenLiving: null,
|
|
60
|
+
projectUuid: null,
|
|
61
|
+
discount: null,
|
|
62
|
+
sellingPriceBeforeDiscount: null,
|
|
63
|
+
sellingPrice: null,
|
|
64
|
+
projectId: null,
|
|
65
|
+
showPriceFlg: null,
|
|
66
|
+
sellingPricePerMeter: null,
|
|
67
|
+
rentPricePerMeterPerYear: null,
|
|
68
|
+
rentPricePerMonth: null,
|
|
69
|
+
cardinalDirections: null,
|
|
70
|
+
discountVolume: null,
|
|
71
|
+
discountedPrice: null,
|
|
72
|
+
availableFrom: null,
|
|
73
|
+
handoverKeys: null,
|
|
74
|
+
address: null,
|
|
75
|
+
termsOfPurchase: null,
|
|
76
|
+
typeName: null,
|
|
77
|
+
direction: null,
|
|
78
|
+
typeSizeCode: null,
|
|
79
|
+
entrance: null,
|
|
80
|
+
doorNumber: null,
|
|
81
|
+
kitchenArea: null,
|
|
82
|
+
livingArea: null,
|
|
83
|
+
ceiling: null,
|
|
84
|
+
saleFloorMin: null,
|
|
85
|
+
saleFloorMax: null,
|
|
86
|
+
beginFloor: null,
|
|
87
|
+
mortgageMonthlyPayment: void 0,
|
|
88
|
+
roomsCount: null,
|
|
89
|
+
bedroomsCount: void 0,
|
|
90
|
+
section: null,
|
|
91
|
+
buildStage: null,
|
|
92
|
+
terrace: void 0,
|
|
93
|
+
pdfPresentation: void 0,
|
|
94
|
+
isPhone: null,
|
|
95
|
+
isMortgage: null,
|
|
96
|
+
isGarbageTube: null,
|
|
97
|
+
isPenthouse: void 0,
|
|
98
|
+
isApart: null,
|
|
99
|
+
isDoubleLevel: void 0,
|
|
100
|
+
isRamp: null,
|
|
101
|
+
isCloseToLift: null,
|
|
102
|
+
isOccupied: null,
|
|
103
|
+
isGab: null,
|
|
104
|
+
isFacing: null,
|
|
105
|
+
features: null,
|
|
106
|
+
liftPassenger: null,
|
|
107
|
+
liftService: void 0,
|
|
108
|
+
balcony: null,
|
|
109
|
+
bathroomWithWindow: null,
|
|
110
|
+
dressingRoom: null,
|
|
111
|
+
masterBedroom: null,
|
|
112
|
+
workroom: null,
|
|
113
|
+
objectId: "",
|
|
114
|
+
reservations: void 0,
|
|
115
|
+
businessType: null,
|
|
116
|
+
loggia: void 0,
|
|
117
|
+
condition: null,
|
|
118
|
+
inputType: void 0,
|
|
119
|
+
decoration: void 0,
|
|
120
|
+
layout: null,
|
|
121
|
+
repairType: null,
|
|
122
|
+
slug: "",
|
|
123
|
+
waterPipesCount: void 0,
|
|
124
|
+
workPlacesCount: null,
|
|
125
|
+
combinedWcsCount: null,
|
|
126
|
+
speciality: null,
|
|
127
|
+
showcaseWindows: null,
|
|
128
|
+
windowView: null,
|
|
129
|
+
promo: null,
|
|
130
|
+
promoText: void 0,
|
|
131
|
+
sitPlanImg: null,
|
|
132
|
+
createdAt: void 0,
|
|
133
|
+
updatedAt: void 0,
|
|
134
|
+
firstPaymentSum: void 0,
|
|
135
|
+
childLots: void 0,
|
|
136
|
+
recommended: null,
|
|
137
|
+
parking: void 0,
|
|
138
|
+
azimuthAngle: void 0
|
|
139
|
+
}, s = {
|
|
140
|
+
title: "entities/CommercialLotCard",
|
|
141
|
+
component: n,
|
|
142
|
+
parameters: {
|
|
143
|
+
layout: "centered"
|
|
144
|
+
},
|
|
145
|
+
tags: ["autodocs"]
|
|
146
|
+
}, a = {
|
|
147
|
+
args: {
|
|
148
|
+
lot: l
|
|
149
|
+
}
|
|
150
|
+
}, u = {
|
|
151
|
+
args: {
|
|
152
|
+
lot: l,
|
|
153
|
+
imgNode: /* @__PURE__ */ e("div", { style: { width: 295, height: 213, backgroundColor: "#eee", display: "flex", alignItems: "center", justifyContent: "center" }, children: "Custom Image" })
|
|
154
|
+
}
|
|
155
|
+
}, d = {
|
|
156
|
+
args: {
|
|
157
|
+
lot: l,
|
|
158
|
+
onPriceClickHandler: o()
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
export {
|
|
162
|
+
a as Default,
|
|
163
|
+
u as WithCustomImage,
|
|
164
|
+
d as WithPriceClickHandler,
|
|
165
|
+
s as default
|
|
166
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { l as t } from "../../../../index-DvCs2JPX.js";
|
|
2
|
+
import { Button as a } from "../../../../components/Button/ui/Button.js";
|
|
3
|
+
import { BUTTON_VARIANTS as s } from "../../../../components/Button/ui/Button.types.js";
|
|
4
|
+
const n = {
|
|
5
|
+
title: "shared/ui/Button",
|
|
6
|
+
component: a,
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: "centered"
|
|
9
|
+
},
|
|
10
|
+
tags: ["autodocs"],
|
|
11
|
+
argTypes: {
|
|
12
|
+
variant: {
|
|
13
|
+
control: {
|
|
14
|
+
type: "select",
|
|
15
|
+
options: Object.keys(s)
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
size: {
|
|
19
|
+
control: {
|
|
20
|
+
type: "select",
|
|
21
|
+
options: ["large", "medium", "small", "tiny"]
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
width: {
|
|
25
|
+
control: {
|
|
26
|
+
type: "select",
|
|
27
|
+
options: ["auto", "full"]
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
args: {
|
|
32
|
+
onCLick: t(),
|
|
33
|
+
children: "Button"
|
|
34
|
+
}
|
|
35
|
+
}, i = {
|
|
36
|
+
args: {
|
|
37
|
+
variant: "blue"
|
|
38
|
+
}
|
|
39
|
+
}, l = {
|
|
40
|
+
args: {
|
|
41
|
+
variant: "gray"
|
|
42
|
+
}
|
|
43
|
+
}, c = {
|
|
44
|
+
args: {
|
|
45
|
+
variant: "whiteStroke"
|
|
46
|
+
}
|
|
47
|
+
}, g = {
|
|
48
|
+
args: {
|
|
49
|
+
variant: "sokolniki"
|
|
50
|
+
}
|
|
51
|
+
}, d = {
|
|
52
|
+
args: {
|
|
53
|
+
variant: "black"
|
|
54
|
+
}
|
|
55
|
+
}, m = {
|
|
56
|
+
args: {
|
|
57
|
+
variant: "whiteFilled"
|
|
58
|
+
}
|
|
59
|
+
}, u = {
|
|
60
|
+
args: {
|
|
61
|
+
variant: "shade"
|
|
62
|
+
}
|
|
63
|
+
}, p = {
|
|
64
|
+
args: {
|
|
65
|
+
variant: "volodiyaLight"
|
|
66
|
+
}
|
|
67
|
+
}, h = {
|
|
68
|
+
args: {
|
|
69
|
+
variant: "lightBlue"
|
|
70
|
+
}
|
|
71
|
+
}, y = {
|
|
72
|
+
args: {
|
|
73
|
+
variant: "transparent"
|
|
74
|
+
}
|
|
75
|
+
}, v = {
|
|
76
|
+
args: {
|
|
77
|
+
size: "large"
|
|
78
|
+
}
|
|
79
|
+
}, k = {
|
|
80
|
+
args: {
|
|
81
|
+
size: "medium"
|
|
82
|
+
}
|
|
83
|
+
}, B = {
|
|
84
|
+
args: {
|
|
85
|
+
size: "small"
|
|
86
|
+
}
|
|
87
|
+
}, L = {
|
|
88
|
+
args: {
|
|
89
|
+
size: "tiny"
|
|
90
|
+
}
|
|
91
|
+
}, S = {
|
|
92
|
+
args: {
|
|
93
|
+
pre: "🔥"
|
|
94
|
+
}
|
|
95
|
+
}, T = {
|
|
96
|
+
args: {
|
|
97
|
+
isLoading: !0
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
export {
|
|
101
|
+
d as Black,
|
|
102
|
+
i as Blue,
|
|
103
|
+
l as Gray,
|
|
104
|
+
v as Large,
|
|
105
|
+
h as LightBlue,
|
|
106
|
+
T as Loading,
|
|
107
|
+
k as Medium,
|
|
108
|
+
u as Shade,
|
|
109
|
+
B as Small,
|
|
110
|
+
g as Sokolniki,
|
|
111
|
+
L as Tiny,
|
|
112
|
+
y as Transparent,
|
|
113
|
+
p as VolodiyaLight,
|
|
114
|
+
m as WhiteFilled,
|
|
115
|
+
c as WhiteStroke,
|
|
116
|
+
S as WithIcon,
|
|
117
|
+
n as default
|
|
118
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { l as e } from "../../../../index-DvCs2JPX.js";
|
|
2
|
+
import { CheckBox as s } from "../../../../components/CheckBox/CheckBox.js";
|
|
3
|
+
const r = {
|
|
4
|
+
title: "shared/ui/CheckBox",
|
|
5
|
+
component: s,
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: "centered"
|
|
8
|
+
},
|
|
9
|
+
tags: ["autodocs"],
|
|
10
|
+
argTypes: {
|
|
11
|
+
variant: {
|
|
12
|
+
control: {
|
|
13
|
+
type: "select",
|
|
14
|
+
options: ["light", "dark"]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
args: {
|
|
19
|
+
onClick: e(),
|
|
20
|
+
emitIsChecked: e()
|
|
21
|
+
}
|
|
22
|
+
}, c = {
|
|
23
|
+
args: {
|
|
24
|
+
isChecked: !1
|
|
25
|
+
}
|
|
26
|
+
}, o = {
|
|
27
|
+
args: {
|
|
28
|
+
isChecked: !0
|
|
29
|
+
}
|
|
30
|
+
}, i = {
|
|
31
|
+
args: {
|
|
32
|
+
isChecked: !1,
|
|
33
|
+
text: "Check me"
|
|
34
|
+
}
|
|
35
|
+
}, l = {
|
|
36
|
+
args: {
|
|
37
|
+
isChecked: !1,
|
|
38
|
+
error: !0
|
|
39
|
+
}
|
|
40
|
+
}, d = {
|
|
41
|
+
args: {
|
|
42
|
+
size_s: !0,
|
|
43
|
+
isChecked: !1
|
|
44
|
+
}
|
|
45
|
+
}, h = {
|
|
46
|
+
args: {
|
|
47
|
+
size_m: !0,
|
|
48
|
+
isChecked: !1
|
|
49
|
+
}
|
|
50
|
+
}, k = {
|
|
51
|
+
args: {
|
|
52
|
+
size_l: !0,
|
|
53
|
+
isChecked: !1
|
|
54
|
+
}
|
|
55
|
+
}, n = {
|
|
56
|
+
args: {
|
|
57
|
+
variant: "dark",
|
|
58
|
+
isChecked: !1
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
export {
|
|
62
|
+
o as Checked,
|
|
63
|
+
n as Dark,
|
|
64
|
+
c as Default,
|
|
65
|
+
k as Large,
|
|
66
|
+
h as Medium,
|
|
67
|
+
d as Small,
|
|
68
|
+
l as WithError,
|
|
69
|
+
i as WithText,
|
|
70
|
+
r as default
|
|
71
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { l as e } from "../../../../index-DvCs2JPX.js";
|
|
2
|
+
import { CheckBoxNew as t } from "../../../../components/CheckBoxNew/CheckBoxNew.js";
|
|
3
|
+
const a = {
|
|
4
|
+
title: "shared/ui/CheckBoxNew",
|
|
5
|
+
component: t,
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: "centered"
|
|
8
|
+
},
|
|
9
|
+
tags: ["autodocs"],
|
|
10
|
+
args: {
|
|
11
|
+
emitIsChecked: e()
|
|
12
|
+
}
|
|
13
|
+
}, r = {
|
|
14
|
+
args: {
|
|
15
|
+
isChecked: !1
|
|
16
|
+
}
|
|
17
|
+
}, c = {
|
|
18
|
+
args: {
|
|
19
|
+
isChecked: !0
|
|
20
|
+
}
|
|
21
|
+
}, i = {
|
|
22
|
+
args: {
|
|
23
|
+
isChecked: !1,
|
|
24
|
+
text: "Check me"
|
|
25
|
+
}
|
|
26
|
+
}, d = {
|
|
27
|
+
args: {
|
|
28
|
+
isChecked: !1,
|
|
29
|
+
error: !0
|
|
30
|
+
}
|
|
31
|
+
}, h = {
|
|
32
|
+
args: {
|
|
33
|
+
isChecked: !1,
|
|
34
|
+
modalFontSize: !0,
|
|
35
|
+
text: "Modal font size"
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
export {
|
|
39
|
+
c as Checked,
|
|
40
|
+
r as Default,
|
|
41
|
+
h as ModalFontSize,
|
|
42
|
+
d as WithError,
|
|
43
|
+
i as WithText,
|
|
44
|
+
a as default
|
|
45
|
+
};
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { l as e } from "../../../../index-DvCs2JPX.js";
|
|
2
|
+
import { CheckboxSelect as l } from "../../../../components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
3
|
+
const t = {
|
|
4
|
+
title: "shared/ui/CheckboxSelect",
|
|
5
|
+
component: l,
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: "centered"
|
|
8
|
+
},
|
|
9
|
+
tags: ["autodocs"]
|
|
10
|
+
}, d = {
|
|
11
|
+
args: {
|
|
12
|
+
label: "Тип квартиры",
|
|
13
|
+
checkboxes: [
|
|
14
|
+
{
|
|
15
|
+
label: "1-комн.",
|
|
16
|
+
isSelected: !1,
|
|
17
|
+
disabled: !1,
|
|
18
|
+
setValue: e()
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
label: "2-комн.",
|
|
22
|
+
isSelected: !1,
|
|
23
|
+
disabled: !1,
|
|
24
|
+
setValue: e()
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
label: "3-комн.",
|
|
28
|
+
isSelected: !1,
|
|
29
|
+
disabled: !1,
|
|
30
|
+
setValue: e()
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
}, b = {
|
|
35
|
+
args: {
|
|
36
|
+
label: "Тип квартиры",
|
|
37
|
+
checkboxes: [
|
|
38
|
+
{
|
|
39
|
+
label: "1-комн.",
|
|
40
|
+
isSelected: !0,
|
|
41
|
+
disabled: !1,
|
|
42
|
+
setValue: e()
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: "2-комн.",
|
|
46
|
+
isSelected: !1,
|
|
47
|
+
disabled: !1,
|
|
48
|
+
setValue: e()
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
label: "3-комн.",
|
|
52
|
+
isSelected: !1,
|
|
53
|
+
disabled: !1,
|
|
54
|
+
setValue: e()
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
}, i = {
|
|
59
|
+
args: {
|
|
60
|
+
label: "Тип квартиры",
|
|
61
|
+
checkboxes: [
|
|
62
|
+
{
|
|
63
|
+
label: "1-комн.",
|
|
64
|
+
isSelected: !1,
|
|
65
|
+
disabled: !1,
|
|
66
|
+
setValue: e()
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
label: "2-комн.",
|
|
70
|
+
isSelected: !1,
|
|
71
|
+
disabled: !0,
|
|
72
|
+
setValue: e()
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
label: "3-комн.",
|
|
76
|
+
isSelected: !1,
|
|
77
|
+
disabled: !1,
|
|
78
|
+
setValue: e()
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
}, c = {
|
|
83
|
+
args: {
|
|
84
|
+
label: "Тип квартиры",
|
|
85
|
+
isNeedClear: !1,
|
|
86
|
+
checkboxes: [
|
|
87
|
+
{
|
|
88
|
+
label: "1-комн.",
|
|
89
|
+
isSelected: !1,
|
|
90
|
+
disabled: !1,
|
|
91
|
+
setValue: e()
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
label: "2-комн.",
|
|
95
|
+
isSelected: !1,
|
|
96
|
+
disabled: !1,
|
|
97
|
+
setValue: e()
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
label: "3-комн.",
|
|
101
|
+
isSelected: !1,
|
|
102
|
+
disabled: !1,
|
|
103
|
+
setValue: e()
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
export {
|
|
109
|
+
d as Default,
|
|
110
|
+
i as WithDisabledOption,
|
|
111
|
+
b as WithSelectedValue,
|
|
112
|
+
c as WithoutClearButton,
|
|
113
|
+
t as default
|
|
114
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { l as t } from "../../../../index-DvCs2JPX.js";
|
|
2
|
+
import { DestinationTab as e } from "../../../../components/DestinationTab/ui/DestinationTab.js";
|
|
3
|
+
const a = {
|
|
4
|
+
title: "shared/ui/DestinationTab",
|
|
5
|
+
component: e,
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: "centered"
|
|
8
|
+
},
|
|
9
|
+
tags: ["autodocs"],
|
|
10
|
+
argTypes: {
|
|
11
|
+
variant: {
|
|
12
|
+
control: {
|
|
13
|
+
type: "select",
|
|
14
|
+
options: ["whiteStroke"]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
size: {
|
|
18
|
+
control: {
|
|
19
|
+
type: "select",
|
|
20
|
+
options: ["medium", "large"]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
width: {
|
|
24
|
+
control: {
|
|
25
|
+
type: "select",
|
|
26
|
+
options: ["auto", "full"]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
args: {
|
|
31
|
+
onChange: t()
|
|
32
|
+
}
|
|
33
|
+
}, n = {
|
|
34
|
+
args: {
|
|
35
|
+
destination: {
|
|
36
|
+
destName: "Москва-Сити",
|
|
37
|
+
color: "#FFD700"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}, r = {
|
|
41
|
+
args: {
|
|
42
|
+
destination: {
|
|
43
|
+
destName: "Москва-Сити",
|
|
44
|
+
color: "#FFD700"
|
|
45
|
+
},
|
|
46
|
+
checked: !0
|
|
47
|
+
}
|
|
48
|
+
}, i = {
|
|
49
|
+
args: {
|
|
50
|
+
destination: {
|
|
51
|
+
destName: "Москва-Сити",
|
|
52
|
+
color: "#FFD700"
|
|
53
|
+
},
|
|
54
|
+
routes: [
|
|
55
|
+
{
|
|
56
|
+
type: "M",
|
|
57
|
+
text: "5 мин"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
type: "A",
|
|
61
|
+
text: "10 мин"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
}, l = {
|
|
66
|
+
args: {
|
|
67
|
+
destination: {
|
|
68
|
+
destName: "Москва-Сити",
|
|
69
|
+
color: "#FFD700"
|
|
70
|
+
},
|
|
71
|
+
size: "large"
|
|
72
|
+
}
|
|
73
|
+
}, c = {
|
|
74
|
+
args: {
|
|
75
|
+
destination: {
|
|
76
|
+
destName: "Москва-Сити",
|
|
77
|
+
color: "#FFD700"
|
|
78
|
+
},
|
|
79
|
+
width: "full"
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
export {
|
|
83
|
+
r as Checked,
|
|
84
|
+
n as Default,
|
|
85
|
+
c as FullWidth,
|
|
86
|
+
l as Large,
|
|
87
|
+
i as WithRoutes,
|
|
88
|
+
a as default
|
|
89
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { l as a } from "../../../../index-DvCs2JPX.js";
|
|
3
|
+
import { FieldInput as r } from "../../../../components/FieldInput/ui/FieldInput.js";
|
|
4
|
+
import { Input as t } from "../../../../components/Input/ui/Input.js";
|
|
5
|
+
const i = {
|
|
6
|
+
title: "shared/ui/FieldInput",
|
|
7
|
+
component: r,
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: "centered"
|
|
10
|
+
},
|
|
11
|
+
tags: ["autodocs"],
|
|
12
|
+
args: {
|
|
13
|
+
handleClear: a()
|
|
14
|
+
}
|
|
15
|
+
}, m = {
|
|
16
|
+
args: {
|
|
17
|
+
label: "My Label",
|
|
18
|
+
children: /* @__PURE__ */ e(t, {})
|
|
19
|
+
}
|
|
20
|
+
}, p = {
|
|
21
|
+
args: {
|
|
22
|
+
label: "My Label",
|
|
23
|
+
isShowClear: !0,
|
|
24
|
+
children: /* @__PURE__ */ e(t, {})
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
m as Default,
|
|
29
|
+
p as WithClearButton,
|
|
30
|
+
i as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { l as e } from "../../../../index-DvCs2JPX.js";
|
|
2
|
+
import { F as l } from "../../../../FilterWithSave-RTTlxtU3.js";
|
|
3
|
+
const t = [
|
|
4
|
+
{ value: "1", label: "Option 1" },
|
|
5
|
+
{ value: "2", label: "Option 2" },
|
|
6
|
+
{ value: "3", label: "Option 3" }
|
|
7
|
+
], a = [
|
|
8
|
+
{ value: "2023", state: !1 },
|
|
9
|
+
{ value: "2024", state: !0 },
|
|
10
|
+
{ value: "2025", state: !1 }
|
|
11
|
+
], n = {
|
|
12
|
+
title: "shared/ui/FilterWithSave",
|
|
13
|
+
component: l,
|
|
14
|
+
parameters: {
|
|
15
|
+
layout: "centered"
|
|
16
|
+
},
|
|
17
|
+
tags: ["autodocs"],
|
|
18
|
+
args: {
|
|
19
|
+
onSaveClick: e(),
|
|
20
|
+
onClearClick: e(),
|
|
21
|
+
onTabClick: e(),
|
|
22
|
+
onChange: e(),
|
|
23
|
+
onClickItem: e(),
|
|
24
|
+
onCLickSelect: e(),
|
|
25
|
+
onClick: e()
|
|
26
|
+
}
|
|
27
|
+
}, c = {
|
|
28
|
+
args: {
|
|
29
|
+
selectOptions: t,
|
|
30
|
+
tabs: a
|
|
31
|
+
}
|
|
32
|
+
}, i = {
|
|
33
|
+
args: {
|
|
34
|
+
selectOptions: t,
|
|
35
|
+
tabs: a,
|
|
36
|
+
selectedValues: [t[1]],
|
|
37
|
+
selectedTabs: [{ value: "2024", state: !0 }]
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
c as Default,
|
|
42
|
+
i as WithSelectedValues,
|
|
43
|
+
n as default
|
|
44
|
+
};
|