krl-alfred 2.17.18 → 2.17.20
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/components/CategoryMenu/CategoryMenu.styled.js +1 -1
- package/dist/components/CategoryMenu/stories/CategoryMenu.stories.d.ts +8 -66
- package/dist/components/Icon/iconList/ArrowDown.js +1 -1
- package/dist/components/OptionMenu/stories/OptionMenu.stories.d.ts +5 -28
- package/dist/components/ProductCardHorizontal/ProductCardHorizontal.js +1 -1
- package/dist/components/SearchBox/SearchBox.styled.js +1 -1
- package/dist/components/StepSlider/StepSlider.js +9 -1
- package/dist/components/StepSlider/StepSlider.styled.js +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.js +3 -3
- package/dist/components/Tooltip/props.d.ts +1 -0
- package/dist/components/Tooltip/props.js +1 -0
- package/dist/jsons/categories.d.ts +8 -66
- package/dist/jsons/categories.js +227 -257
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ exports.SubMenu = exports.CategoryItemButtonTitle = exports.CategoryItemButtonBa
|
|
|
31
31
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
32
32
|
exports.CategoryMenuWrapper = styled_components_1.default.ul(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding:0;\n margin: 12.5px auto;\n max-width: 1050px;\n a {\n text-decoration:none;\n &:not([href]){\n cursor: initial;\n *{\n cursor: initial;\n }\n }\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding:0;\n margin: 12.5px auto;\n max-width: 1050px;\n a {\n text-decoration:none;\n &:not([href]){\n cursor: initial;\n *{\n cursor: initial;\n }\n }\n }\n"])));
|
|
33
33
|
var hoverAndActive = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n color: var(--dark);\n &:before{\n border-color: var(--grey-10);\n box-shadow: 0 6px 30px 0 var(--box-shadow-color);\n color: var(--dark);\n }\n"], ["\n color: var(--dark);\n &:before{\n border-color: var(--grey-10);\n box-shadow: 0 6px 30px 0 var(--box-shadow-color);\n color: var(--dark);\n }\n"])));
|
|
34
|
-
exports.CategoryItem = styled_components_1.default.li(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: block;\n position: relative;\n margin: 0;\n padding-bottom: 8px;\n padding-top: 8px;\n &:not(:last-child):not(:nth-last-child(2)){\n path, circle, rect {\n color : var(--dark-opacity-75);\n }\n }\n &:hover{\n &:not(:last-child):not(:nth-last-child(2)){\n path , circle, rect {\n color : var(--dark);\n }\n }\n > ul{\n opacity: 1;\n visibility: visible;\n transform: translateY(0);\n transition-delay: 0.3s;\n }\n .componentWrapper {\n > span{\n ", "\n }\n }\n }\n &:last-child , &:nth-last-child(2){\n ul{\n left: auto;\n right: 0;\n }\n }\n ", "\n ", "\n"], ["\n display: block;\n position: relative;\n margin: 0;\n padding-bottom: 8px;\n padding-top: 8px;\n &:not(:last-child):not(:nth-last-child(2)){\n path, circle, rect {\n color : var(--dark-opacity-75);\n }\n }\n &:hover{\n &:not(:last-child):not(:nth-last-child(2)){\n path , circle, rect {\n color : var(--dark);\n }\n }\n > ul{\n opacity: 1;\n visibility: visible;\n transform: translateY(0);\n transition-delay: 0.3s;\n }\n .componentWrapper {\n > span{\n ", "\n }\n }\n }\n &:last-child , &:nth-last-child(2){\n ul{\n left: auto;\n right: 0;\n }\n }\n ", "\n ", "\n"])), hoverAndActive, function (props) { return props.$isActiveCategory ? "\n .componentWrapper > span{\n ".concat(hoverAndActive, "\n }\n ") : ""; }, function (props) { return props.$hasCustomItem ? "\n display: flex;\n align-items: center;\n justify-content: center;\n &:before{\n content: '';\n background-color:var(--grey-10);\n height: 39px;\n width: 2px;\n display: block;\n vertical-align: middle;\n border-radius: 8px;\n margin-right: 15px;\n }\n " : ""; });
|
|
34
|
+
exports.CategoryItem = styled_components_1.default.li(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: block;\n position: relative;\n margin: 0;\n padding-bottom: 8px;\n padding-top: 8px;\n &:not(:last-child):not(:nth-last-child(2)){\n path, circle, rect {\n color : var(--dark-opacity-75);\n }\n }\n &:hover{\n &:not(:last-child):not(:nth-last-child(2)){\n path , circle, rect {\n color : var(--dark);\n }\n }\n > ul{\n opacity: 1;\n visibility: visible;\n transform: translateY(0);\n transition-delay: 0.3s;\n }\n .componentWrapper {\n > span{\n ", "\n }\n }\n }\n &:last-child , &:nth-last-child(2){\n ul{\n left: auto;\n right: 0;\n }\n }\n ", "\n ", "\n"], ["\n display: block;\n position: relative;\n margin: 0;\n padding-bottom: 8px;\n padding-top: 8px;\n &:not(:last-child):not(:nth-last-child(2)){\n path, circle, rect {\n color : var(--dark-opacity-75);\n }\n }\n &:hover{\n &:not(:last-child):not(:nth-last-child(2)){\n path , circle, rect {\n color : var(--dark);\n }\n }\n > ul{\n opacity: 1;\n visibility: visible;\n transform: translateY(0);\n transition-delay: 0.3s;\n }\n .componentWrapper {\n > span{\n ", "\n }\n }\n }\n &:last-child , &:nth-last-child(2){\n ul{\n left: auto;\n right: 0;\n }\n }\n ", "\n ", "\n"])), hoverAndActive, function (props) { return props.$isActiveCategory ? "\n .componentWrapper > span{\n ".concat(hoverAndActive, "\n }\n ") : ""; }, function (props) { return props.$hasCustomItem ? "\n display: flex;\n align-items: center;\n justify-content: center;\n &:before{\n content: '';\n background-color:var(--grey-10);\n height: 39px;\n width: 2px;\n display: block;\n vertical-align: middle;\n border-radius: 8px;\n margin-right: 15px;\n margin-left: 15px;\n }\n " : ""; });
|
|
35
35
|
exports.CategoryItemButtonInner = styled_components_1.default.span(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n text-decoration: none;\n padding: 12px 16px;\n color: var(--dark-opacity-75);\n margin: 0;\n transition: all 0.2s ease-in-out;\n text-align: center;\n outline: none;\n display: block;\n position: relative;\n border: 0;\n background: transparent;\n outline: 0;\n width: 100%;\n font-family:inherit;\n cursor:pointer;\n box-sizing: border-box;\n &:before{\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n border: 1px solid transparent;\n color: var(--dark-opacity-75);\n background-color: transparent;\n border-radius: 0.5rem;\n z-index: -1;\n transition: all 0.2s ease-in-out;\n }\n"], ["\n text-decoration: none;\n padding: 12px 16px;\n color: var(--dark-opacity-75);\n margin: 0;\n transition: all 0.2s ease-in-out;\n text-align: center;\n outline: none;\n display: block;\n position: relative;\n border: 0;\n background: transparent;\n outline: 0;\n width: 100%;\n font-family:inherit;\n cursor:pointer;\n box-sizing: border-box;\n &:before{\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n border: 1px solid transparent;\n color: var(--dark-opacity-75);\n background-color: transparent;\n border-radius: 0.5rem;\n z-index: -1;\n transition: all 0.2s ease-in-out;\n }\n"])));
|
|
36
36
|
exports.CategoryItemButtonIcon = styled_components_1.default.span(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n @keyframes tada_category {\n 0% {\n transform: scaleX(1)\n }\n\n 10%,20% {\n transform: rotate(-2deg)\n }\n\n 30%,50%,70%,90% {\n transform: rotate(2deg)\n }\n\n 40%,60%,80% {\n transform: rotate(-2deg)\n }\n\n to {\n transform: scaleX(1)\n }\n }\n\n ", "\n height: 24px;\n display:flex;\n position: relative;\n align-items: center;\n justify-content: center;\n"], ["\n @keyframes tada_category {\n 0% {\n transform: scaleX(1)\n }\n\n 10%,20% {\n transform: rotate(-2deg)\n }\n\n 30%,50%,70%,90% {\n transform: rotate(2deg)\n }\n\n 40%,60%,80% {\n transform: rotate(-2deg)\n }\n\n to {\n transform: scaleX(1)\n }\n }\n\n ", "\n height: 24px;\n display:flex;\n position: relative;\n align-items: center;\n justify-content: center;\n"])), function (props) { return props.$hasAnimation ? "\n animation: tada_category 1.5s infinite;\n animation-iteration-count: 10;\n " : ""; });
|
|
37
37
|
exports.CategoryItemButtonBadge = styled_components_1.default.span(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n font: var(--caption-bold-10-12);\n line-height: 17px;\n border-radius: 3px;\n background-color: var(--primary);\n color: white;\n padding: 0 0.5rem;\n display: inline-block;\n margin-top: 2px;\n"], ["\n font: var(--caption-bold-10-12);\n line-height: 17px;\n border-radius: 3px;\n background-color: var(--primary);\n color: white;\n padding: 0 0.5rem;\n display: inline-block;\n margin-top: 2px;\n"])));
|
|
@@ -24,22 +24,6 @@ export declare const Default: {
|
|
|
24
24
|
args: {
|
|
25
25
|
subMenuRowLength: number;
|
|
26
26
|
data: ({
|
|
27
|
-
id: number;
|
|
28
|
-
parentId: number;
|
|
29
|
-
name: string;
|
|
30
|
-
filterName: any;
|
|
31
|
-
isShowHeader: boolean;
|
|
32
|
-
slug: string;
|
|
33
|
-
productCount: number;
|
|
34
|
-
headerMediaUrl: any;
|
|
35
|
-
medias: any[];
|
|
36
|
-
icon: string;
|
|
37
|
-
children: any[];
|
|
38
|
-
isActive: boolean;
|
|
39
|
-
component?: undefined;
|
|
40
|
-
badgeText?: undefined;
|
|
41
|
-
hasCustomItem?: undefined;
|
|
42
|
-
} | {
|
|
43
27
|
id: number;
|
|
44
28
|
parentId: number;
|
|
45
29
|
name: string;
|
|
@@ -50,7 +34,7 @@ export declare const Default: {
|
|
|
50
34
|
headerMediaUrl: string;
|
|
51
35
|
medias: any[];
|
|
52
36
|
icon: string;
|
|
53
|
-
children:
|
|
37
|
+
children: {
|
|
54
38
|
id: number;
|
|
55
39
|
parentId: number;
|
|
56
40
|
name: string;
|
|
@@ -58,37 +42,13 @@ export declare const Default: {
|
|
|
58
42
|
isShowHeader: boolean;
|
|
59
43
|
slug: string;
|
|
60
44
|
productCount: number;
|
|
61
|
-
headerMediaUrl:
|
|
45
|
+
headerMediaUrl: string;
|
|
62
46
|
medias: any[];
|
|
63
|
-
children:
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
filterName: any;
|
|
68
|
-
isShowHeader: boolean;
|
|
69
|
-
slug: string;
|
|
70
|
-
productCount: number;
|
|
71
|
-
headerMediaUrl: any;
|
|
72
|
-
medias: any[];
|
|
73
|
-
children: any[];
|
|
74
|
-
}[];
|
|
75
|
-
isSeeAll?: undefined;
|
|
76
|
-
} | {
|
|
77
|
-
id: number;
|
|
78
|
-
name: string;
|
|
79
|
-
isSeeAll: boolean;
|
|
80
|
-
slug: string;
|
|
81
|
-
parentId?: undefined;
|
|
82
|
-
filterName?: undefined;
|
|
83
|
-
isShowHeader?: undefined;
|
|
84
|
-
productCount?: undefined;
|
|
85
|
-
headerMediaUrl?: undefined;
|
|
86
|
-
medias?: undefined;
|
|
87
|
-
children?: undefined;
|
|
88
|
-
})[];
|
|
89
|
-
isActive?: undefined;
|
|
47
|
+
children: any[];
|
|
48
|
+
parent: any[];
|
|
49
|
+
}[];
|
|
50
|
+
parent: any[];
|
|
90
51
|
component?: undefined;
|
|
91
|
-
badgeText?: undefined;
|
|
92
52
|
hasCustomItem?: undefined;
|
|
93
53
|
} | {
|
|
94
54
|
id: number;
|
|
@@ -116,24 +76,7 @@ export declare const Default: {
|
|
|
116
76
|
medias: any[];
|
|
117
77
|
children: any[];
|
|
118
78
|
}[];
|
|
119
|
-
|
|
120
|
-
badgeText?: undefined;
|
|
121
|
-
hasCustomItem?: undefined;
|
|
122
|
-
} | {
|
|
123
|
-
id: number;
|
|
124
|
-
parentId: number;
|
|
125
|
-
name: string;
|
|
126
|
-
filterName: any;
|
|
127
|
-
isShowHeader: boolean;
|
|
128
|
-
slug: string;
|
|
129
|
-
productCount: number;
|
|
130
|
-
headerMediaUrl: any;
|
|
131
|
-
medias: any[];
|
|
132
|
-
icon: string;
|
|
133
|
-
children: any[];
|
|
134
|
-
badgeText: string;
|
|
135
|
-
isActive?: undefined;
|
|
136
|
-
component?: undefined;
|
|
79
|
+
parent?: undefined;
|
|
137
80
|
hasCustomItem?: undefined;
|
|
138
81
|
} | {
|
|
139
82
|
id: number;
|
|
@@ -148,9 +91,8 @@ export declare const Default: {
|
|
|
148
91
|
icon: string;
|
|
149
92
|
children: any[];
|
|
150
93
|
hasCustomItem: boolean;
|
|
151
|
-
|
|
94
|
+
parent?: undefined;
|
|
152
95
|
component?: undefined;
|
|
153
|
-
badgeText?: undefined;
|
|
154
96
|
})[];
|
|
155
97
|
};
|
|
156
98
|
};
|
|
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
38
38
|
var React = __importStar(require("react"));
|
|
39
|
-
var SvgArrowDown = function (props) { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M12.
|
|
39
|
+
var SvgArrowDown = function (props) { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M12.0001 19.5V4.5", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), (0, jsx_runtime_1.jsx)("path", { d: "M18.0245 13.4512L12.0005 19.5012L5.9755 13.4512", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" })] }))); };
|
|
40
40
|
exports.default = SvgArrowDown;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Default: {
|
|
9
9
|
args: {
|
|
10
|
-
data: any[] |
|
|
10
|
+
data: any[] | {
|
|
11
11
|
id: number;
|
|
12
12
|
parentId: number;
|
|
13
13
|
name: string;
|
|
@@ -15,34 +15,11 @@ export declare const Default: {
|
|
|
15
15
|
isShowHeader: boolean;
|
|
16
16
|
slug: string;
|
|
17
17
|
productCount: number;
|
|
18
|
-
headerMediaUrl:
|
|
18
|
+
headerMediaUrl: string;
|
|
19
19
|
medias: any[];
|
|
20
|
-
children:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
name: string;
|
|
24
|
-
filterName: any;
|
|
25
|
-
isShowHeader: boolean;
|
|
26
|
-
slug: string;
|
|
27
|
-
productCount: number;
|
|
28
|
-
headerMediaUrl: any;
|
|
29
|
-
medias: any[];
|
|
30
|
-
children: any[];
|
|
31
|
-
}[];
|
|
32
|
-
isSeeAll?: undefined;
|
|
33
|
-
} | {
|
|
34
|
-
id: number;
|
|
35
|
-
name: string;
|
|
36
|
-
isSeeAll: boolean;
|
|
37
|
-
slug: string;
|
|
38
|
-
parentId?: undefined;
|
|
39
|
-
filterName?: undefined;
|
|
40
|
-
isShowHeader?: undefined;
|
|
41
|
-
productCount?: undefined;
|
|
42
|
-
headerMediaUrl?: undefined;
|
|
43
|
-
medias?: undefined;
|
|
44
|
-
children?: undefined;
|
|
45
|
-
})[] | {
|
|
20
|
+
children: any[];
|
|
21
|
+
parent: any[];
|
|
22
|
+
}[] | {
|
|
46
23
|
id: number;
|
|
47
24
|
parentId: number;
|
|
48
25
|
name: string;
|
|
@@ -24,6 +24,6 @@ var ProductCardHorizontal = function (_a) {
|
|
|
24
24
|
var item = _a.item, children = _a.children;
|
|
25
25
|
return item.component ? ((0, jsx_runtime_1.jsx)(item.component, { children: children })) : ((0, jsx_runtime_1.jsx)("a", __assign({ href: item.slug }, { children: children })));
|
|
26
26
|
};
|
|
27
|
-
return (hasLoading ? ((0, jsx_runtime_1.jsx)(ProductCardHorizontal_styled_1.ProductCardHorizontalStyled, __assign({ "$size": size, "$hasLoading": hasLoading }, { children: (0, jsx_runtime_1.jsx)("a", { children: (0, jsx_runtime_1.jsxs)("div", __assign({ className: "horizontalWrapper" }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: "img" }, { children: ["x", (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: size === "small" ? "71px" : "142px", height: size === "small" ? "50px" : "77px", hasInset: true })] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: "text" }, { children: [(0, jsx_runtime_1.jsxs)("strong", __assign({ className: "title" }, { children: ["x", (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "400px", height: size === "small" ? "15px" : "19px", hasInset: true })] })), (0, jsx_runtime_1.jsxs)("p", __assign({ className: "description" }, { children: ["x", (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "300px", height: "17px", hasInset: true })] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: "priceContent" }, { children: (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "150px", height: size === "small" ? "
|
|
27
|
+
return (hasLoading ? ((0, jsx_runtime_1.jsx)(ProductCardHorizontal_styled_1.ProductCardHorizontalStyled, __assign({ "$size": size, "$hasLoading": hasLoading }, { children: (0, jsx_runtime_1.jsx)("a", { children: (0, jsx_runtime_1.jsxs)("div", __assign({ className: "horizontalWrapper" }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: "img" }, { children: ["x", (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: size === "small" ? "71px" : "142px", height: size === "small" ? "50px" : "77px", hasInset: true })] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: "text" }, { children: [(0, jsx_runtime_1.jsxs)("strong", __assign({ className: "title" }, { children: ["x", (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "400px", height: size === "small" ? "15px" : "19px", hasInset: true })] })), (0, jsx_runtime_1.jsxs)("p", __assign({ className: "description" }, { children: ["x", (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "300px", height: "17px", hasInset: true })] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: "priceContent", style: { marginTop: 4 } }, { children: (0, jsx_runtime_1.jsx)(SkeletonLoader_1.default, { width: "150px", height: size === "small" ? "13px" : "17px" }) }))] }))] })) }) }))) : ((0, jsx_runtime_1.jsx)(ProductCardHorizontal_styled_1.ProductCardHorizontalStyled, __assign({ "$size": size, onClick: onClick }, { children: (0, jsx_runtime_1.jsx)(LinkComponent, __assign({ item: { component: component, slug: slug } }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ className: "horizontalWrapper" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: "img" }, { children: image })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: "text" }, { children: [(0, jsx_runtime_1.jsx)("strong", __assign({ className: "title" }, { children: title })), (0, jsx_runtime_1.jsx)("p", __assign({ className: "description" }, { children: description })), price && period && ((0, jsx_runtime_1.jsxs)("div", __assign({ className: "priceContent" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: "price" }, { children: price })), (0, jsx_runtime_1.jsx)("div", __assign({ className: "period" }, { children: "/".concat(period) }))] })))] }))] })) })) }))));
|
|
28
28
|
};
|
|
29
29
|
exports.default = ProductCardHorizontal;
|
|
@@ -31,6 +31,6 @@ exports.LoadingStyled = exports.SearchBoxStyled = void 0;
|
|
|
31
31
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
32
32
|
var devices_1 = require("../../constants/devices");
|
|
33
33
|
var disabledStyles = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n opacity: 0.6;\n pointer-events: none;\n cursor: not-allowed;\n"], ["\n opacity: 0.6;\n pointer-events: none;\n cursor: not-allowed;\n"])));
|
|
34
|
-
exports.SearchBoxStyled = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n\n .shadowBox {\n height: 48px;\n position: absolute;\n width: calc(100% - 10px);\n left: 50%;\n transform: translateX(-50%);\n border-radius: 0.5rem;\n box-shadow: ", ";\n display: ", ";\n @media only screen and ", " {\n box-shadow: 0 0 16px 0 var(--icon-shadow-color);\n }\n }\n\n .inputWrapper {\n position: relative;\n z-index: 5;\n border-radius: 0.5rem;\n input {\n box-sizing: border-box;\n width: 100%;\n height: 48px;\n background: white;\n border-radius: 0.5rem;\n border: 1px solid var(--dark-opacity-10);\n padding: 8px 54px 8px 24px;\n color: var(--dark);\n font: var(--body-medium-14-17);\n line-height: normal;\n outline: none;\n transition: all 0.2s ease;\n\n &::placeholder {\n color: var(--dark-opacity-50);\n }\n\n &:disabled {\n ", ";\n background-color: var(--dark-opacity-5);\n }\n }\n\n .icon {\n position: absolute;\n right: 1rem;\n top: 50%;\n transform: translateY(-50%);\n width: 32px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: transparent;\n border: 0;\n outline: none;\n cursor: pointer;\n padding: 0;\n color: var(--primary);\n &:hover{\n color: var(--primary-hover);\n }\n }\n }\n\n .resultList {\n padding: 0;\n border-radius: 0.5rem;\n background: white;\n box-sizing: border-box;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n z-index: 4;\n display: grid;\n row-gap: 1.5rem;\n &:before{\n content: \"\";\n height: calc(100% + 48px);\n position: absolute;\n width: calc(100% - 10px);\n left: 50%;\n bottom: 0;\n transform: translateX(-50%);\n border-radius: inherit;\n box-shadow: ", ";\n user-select: none;\n pointer-events: none;\n @media only screen and ", " {\n box-shadow: 0 0 16px 0 var(--icon-shadow-color);\n }\n }\n\n .resultListInner {\n position: relative;\n overflow: hidden;\n border-radius: inherit;\n border: 1px solid var(--dark-opacity-10);\n\n [data-simplebar] {\n height: auto !important;\n max-height: 408px !important;\n padding: 1.5rem !important;\n position: relative;\n z-index: 1;\n background-color: white;\n\n .simplebar-track.simplebar-vertical {\n width: 9px !important;\n }\n }\n\n .productCard {\n border-radius: 0.5rem;\n transition: all 0.2s ease;\n outline: none;\n\n &:is(.selected) {\n background: var(--dark-opacity-3);\n }\n\n &:focus-visible {\n box-shadow: 0 0 0 2px var(--primary-opacity-20);\n }\n }\n\n ", "\n\n @media only screen and ", " {\n row-gap: 0.5rem;\n max-height:
|
|
34
|
+
exports.SearchBoxStyled = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n\n .shadowBox {\n height: 48px;\n position: absolute;\n width: calc(100% - 10px);\n left: 50%;\n transform: translateX(-50%);\n border-radius: 0.5rem;\n box-shadow: ", ";\n display: ", ";\n @media only screen and ", " {\n box-shadow: 0 0 16px 0 var(--icon-shadow-color);\n }\n }\n\n .inputWrapper {\n position: relative;\n z-index: 5;\n border-radius: 0.5rem;\n input {\n box-sizing: border-box;\n width: 100%;\n height: 48px;\n background: white;\n border-radius: 0.5rem;\n border: 1px solid var(--dark-opacity-10);\n padding: 8px 54px 8px 24px;\n color: var(--dark);\n font: var(--body-medium-14-17);\n line-height: normal;\n outline: none;\n transition: all 0.2s ease;\n\n &::placeholder {\n color: var(--dark-opacity-50);\n }\n\n &:disabled {\n ", ";\n background-color: var(--dark-opacity-5);\n }\n }\n\n .icon {\n position: absolute;\n right: 1rem;\n top: 50%;\n transform: translateY(-50%);\n width: 32px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: transparent;\n border: 0;\n outline: none;\n cursor: pointer;\n padding: 0;\n color: var(--primary);\n &:hover{\n color: var(--primary-hover);\n }\n }\n }\n\n .resultList {\n padding: 0;\n border-radius: 0.5rem;\n background: white;\n box-sizing: border-box;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n z-index: 4;\n display: grid;\n row-gap: 1.5rem;\n &:before{\n content: \"\";\n height: calc(100% + 48px);\n position: absolute;\n width: calc(100% - 10px);\n left: 50%;\n bottom: 0;\n transform: translateX(-50%);\n border-radius: inherit;\n box-shadow: ", ";\n user-select: none;\n pointer-events: none;\n @media only screen and ", " {\n box-shadow: 0 0 16px 0 var(--icon-shadow-color);\n }\n }\n\n .resultListInner {\n position: relative;\n overflow: hidden;\n border-radius: inherit;\n border: 1px solid var(--dark-opacity-10);\n\n [data-simplebar] {\n height: auto !important;\n max-height: 408px !important;\n padding: 1.5rem !important;\n position: relative;\n z-index: 1;\n background-color: white;\n\n .simplebar-track.simplebar-vertical {\n width: 9px !important;\n }\n }\n\n .productCard {\n border-radius: 0.5rem;\n transition: all 0.2s ease;\n outline: none;\n\n &:is(.selected) {\n background: var(--dark-opacity-3);\n }\n\n &:focus-visible {\n box-shadow: 0 0 0 2px var(--primary-opacity-20);\n }\n }\n\n ", "\n\n @media only screen and ", " {\n row-gap: 0.5rem;\n max-height: 256px;\n [data-simplebar] {\n max-height: 256px !important;\n }\n }\n }\n }\n\n ", "\n"], ["\n position: relative;\n width: 100%;\n\n .shadowBox {\n height: 48px;\n position: absolute;\n width: calc(100% - 10px);\n left: 50%;\n transform: translateX(-50%);\n border-radius: 0.5rem;\n box-shadow: ", ";\n display: ", ";\n @media only screen and ", " {\n box-shadow: 0 0 16px 0 var(--icon-shadow-color);\n }\n }\n\n .inputWrapper {\n position: relative;\n z-index: 5;\n border-radius: 0.5rem;\n input {\n box-sizing: border-box;\n width: 100%;\n height: 48px;\n background: white;\n border-radius: 0.5rem;\n border: 1px solid var(--dark-opacity-10);\n padding: 8px 54px 8px 24px;\n color: var(--dark);\n font: var(--body-medium-14-17);\n line-height: normal;\n outline: none;\n transition: all 0.2s ease;\n\n &::placeholder {\n color: var(--dark-opacity-50);\n }\n\n &:disabled {\n ", ";\n background-color: var(--dark-opacity-5);\n }\n }\n\n .icon {\n position: absolute;\n right: 1rem;\n top: 50%;\n transform: translateY(-50%);\n width: 32px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: transparent;\n border: 0;\n outline: none;\n cursor: pointer;\n padding: 0;\n color: var(--primary);\n &:hover{\n color: var(--primary-hover);\n }\n }\n }\n\n .resultList {\n padding: 0;\n border-radius: 0.5rem;\n background: white;\n box-sizing: border-box;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n z-index: 4;\n display: grid;\n row-gap: 1.5rem;\n &:before{\n content: \"\";\n height: calc(100% + 48px);\n position: absolute;\n width: calc(100% - 10px);\n left: 50%;\n bottom: 0;\n transform: translateX(-50%);\n border-radius: inherit;\n box-shadow: ", ";\n user-select: none;\n pointer-events: none;\n @media only screen and ", " {\n box-shadow: 0 0 16px 0 var(--icon-shadow-color);\n }\n }\n\n .resultListInner {\n position: relative;\n overflow: hidden;\n border-radius: inherit;\n border: 1px solid var(--dark-opacity-10);\n\n [data-simplebar] {\n height: auto !important;\n max-height: 408px !important;\n padding: 1.5rem !important;\n position: relative;\n z-index: 1;\n background-color: white;\n\n .simplebar-track.simplebar-vertical {\n width: 9px !important;\n }\n }\n\n .productCard {\n border-radius: 0.5rem;\n transition: all 0.2s ease;\n outline: none;\n\n &:is(.selected) {\n background: var(--dark-opacity-3);\n }\n\n &:focus-visible {\n box-shadow: 0 0 0 2px var(--primary-opacity-20);\n }\n }\n\n ", "\n\n @media only screen and ", " {\n row-gap: 0.5rem;\n max-height: 256px;\n [data-simplebar] {\n max-height: 256px !important;\n }\n }\n }\n }\n\n ", "\n"])), function (props) { return props.$size === "small" ? "0 0 16px 0 var(--icon-shadow-color)" : "0 6px 30px 0 var(--icon-shadow-color)"; }, function (props) { return props.$showResultList ? "none" : "block"; }, devices_1.devices.xl, disabledStyles, function (props) { return props.$size === "small" ? "0 0 16px 0 var(--icon-shadow-color)" : "0 6px 30px 0 var(--icon-shadow-color)"; }, devices_1.devices.xl, function (props) { return props.$size === "small" && (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n row-gap: 0.5rem;\n max-height: 256px;\n [data-simplebar] {\n max-height: 256px !important;\n }\n "], ["\n row-gap: 0.5rem;\n max-height: 256px;\n [data-simplebar] {\n max-height: 256px !important;\n }\n "]))); }, devices_1.devices.xl, function (props) { return props.$disabled && disabledStyles; });
|
|
35
35
|
exports.LoadingStyled = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n"], ["\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n"])));
|
|
36
36
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
|
@@ -19,7 +19,7 @@ var StepSlider = function (_a) {
|
|
|
19
19
|
var _b = (0, react_1.useState)(selectedValue), internalValue = _b[0], setInternalValue = _b[1];
|
|
20
20
|
var _c = (0, react_1.useState)({}), indicatorStyle = _c[0], setIndicatorStyle = _c[1];
|
|
21
21
|
var sliderRef = (0, react_1.useRef)(null);
|
|
22
|
-
|
|
22
|
+
var handleSetPosition = function () {
|
|
23
23
|
if (sliderRef.current) {
|
|
24
24
|
var selectedIndex = options.findIndex(function (option) { return option.value === internalValue; });
|
|
25
25
|
var selectedOptionElement = sliderRef.current.children[selectedIndex + 1];
|
|
@@ -29,7 +29,15 @@ var StepSlider = function (_a) {
|
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
+
};
|
|
33
|
+
(0, react_1.useEffect)(function () {
|
|
34
|
+
handleSetPosition();
|
|
32
35
|
}, [internalValue, options]);
|
|
36
|
+
(0, react_1.useEffect)(function () {
|
|
37
|
+
setTimeout(function () {
|
|
38
|
+
handleSetPosition();
|
|
39
|
+
}, 50);
|
|
40
|
+
}, []);
|
|
33
41
|
var handleClick = function (value) {
|
|
34
42
|
setInternalValue(value);
|
|
35
43
|
if (onChange) {
|
|
@@ -12,5 +12,5 @@ var styled_components_1 = __importDefault(require("styled-components"));
|
|
|
12
12
|
exports.Container = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .top {\n display: flex;\n margin-bottom: 1rem;\n font: var(--caption-bold-12-15);\n\n &.justify-between {\n justify-content: space-between;\n }\n\n label {\n margin: 0;\n color: var(--dark-opacity-50);\n display: block;\n }\n }\n"], ["\n .top {\n display: flex;\n margin-bottom: 1rem;\n font: var(--caption-bold-12-15);\n\n &.justify-between {\n justify-content: space-between;\n }\n\n label {\n margin: 0;\n color: var(--dark-opacity-50);\n display: block;\n }\n }\n"])));
|
|
13
13
|
exports.StepSliderStyled = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n position: relative;\n background-color: white;\n border-radius: 0.5rem;\n border: 1px solid var(--grey-10);\n height: 48px;\n padding: 0 1.5rem;\n box-shadow: 0 6px 30px 0 var(--box-shadow-color);\n margin-bottom: 0.5rem;\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: center;\n position: relative;\n background-color: white;\n border-radius: 0.5rem;\n border: 1px solid var(--grey-10);\n height: 48px;\n padding: 0 1.5rem;\n box-shadow: 0 6px 30px 0 var(--box-shadow-color);\n margin-bottom: 0.5rem;\n"])));
|
|
14
14
|
exports.IndicatorStyled = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n top: 50%;\n transform: translateY(-50%) translateX(-16px);\n background-color: white;\n border-radius: 6px;\n transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);\n z-index: 0;\n width: 64px !important;\n height: 64px;\n box-shadow: 0 6px 30px 0 var(--box-shadow-color);\n"], ["\n position: absolute;\n top: 50%;\n transform: translateY(-50%) translateX(-16px);\n background-color: white;\n border-radius: 6px;\n transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);\n z-index: 0;\n width: 64px !important;\n height: 64px;\n box-shadow: 0 6px 30px 0 var(--box-shadow-color);\n"])));
|
|
15
|
-
exports.StepOptionStyled = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n text-align: center;\n padding: 8px 0;\n border-radius: 6px;\n cursor: pointer;\n color: var(--grey-50);\n background-color: transparent;\n transition: color 0.3s ease;\n z-index: 1;\n font: var(--
|
|
15
|
+
exports.StepOptionStyled = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n text-align: center;\n padding: 8px 0;\n border-radius: 6px;\n cursor: pointer;\n color: var(--grey-50);\n background-color: transparent;\n transition: color 0.3s ease;\n z-index: 1;\n font: var(--body-semi-bold-14-17);\n min-width: 34px;\n span {\n display: block;\n text-align: center;\n font: var(--body-semi-bold-14-17);\n color: var(--grey-50);\n b {\n display: block;\n font: var(--headline-extra-bold-18-22);\n color: var(--dark);\n }\n }\n"], ["\n text-align: center;\n padding: 8px 0;\n border-radius: 6px;\n cursor: pointer;\n color: var(--grey-50);\n background-color: transparent;\n transition: color 0.3s ease;\n z-index: 1;\n font: var(--body-semi-bold-14-17);\n min-width: 34px;\n span {\n display: block;\n text-align: center;\n font: var(--body-semi-bold-14-17);\n color: var(--grey-50);\n b {\n display: block;\n font: var(--headline-extra-bold-18-22);\n color: var(--dark);\n }\n }\n"])));
|
|
16
16
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TooltipProps } from "./props";
|
|
2
|
-
declare const Tooltip: ({ iconWidth, iconHeight, children, title, popupWidth, hasClickAction, hasCloseOnOutsideClick, isOpen, position, popupSize, popupLeft, popupRight, }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Tooltip: ({ iconWidth, iconHeight, children, title, popupWidth, hasClickAction, hasCloseOnOutsideClick, isOpen, position, popupSize, popupLeft, popupRight, id, }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Tooltip;
|
|
@@ -21,13 +21,13 @@ var Tooltip_styled_1 = require("./Tooltip.styled");
|
|
|
21
21
|
var Icon_1 = __importDefault(require("../Icon/Icon"));
|
|
22
22
|
var useOnClickOutside_1 = __importDefault(require("../../hooks/useOnClickOutside"));
|
|
23
23
|
var Tooltip = function (_a) {
|
|
24
|
-
var _b = _a.iconWidth, iconWidth = _b === void 0 ? props_1.TooltipDefault.iconWidth : _b, _c = _a.iconHeight, iconHeight = _c === void 0 ? props_1.TooltipDefault.iconHeight : _c, _d = _a.children, children = _d === void 0 ? props_1.TooltipDefault.children : _d, _e = _a.title, title = _e === void 0 ? props_1.TooltipDefault.title : _e, _f = _a.popupWidth, popupWidth = _f === void 0 ? props_1.TooltipDefault.popupWidth : _f, _g = _a.hasClickAction, hasClickAction = _g === void 0 ? props_1.TooltipDefault.hasClickAction : _g, _h = _a.hasCloseOnOutsideClick, hasCloseOnOutsideClick = _h === void 0 ? props_1.TooltipDefault.hasCloseOnOutsideClick : _h, _j = _a.isOpen, isOpen = _j === void 0 ? props_1.TooltipDefault.isOpen : _j, _k = _a.position, position = _k === void 0 ? props_1.TooltipDefault.position : _k, _l = _a.popupSize, popupSize = _l === void 0 ? props_1.TooltipDefault.popupSize : _l, _m = _a.popupLeft, popupLeft = _m === void 0 ? props_1.TooltipDefault.popupLeft : _m, _o = _a.popupRight, popupRight = _o === void 0 ? props_1.TooltipDefault.popupRight : _o;
|
|
25
|
-
var
|
|
24
|
+
var _b = _a.iconWidth, iconWidth = _b === void 0 ? props_1.TooltipDefault.iconWidth : _b, _c = _a.iconHeight, iconHeight = _c === void 0 ? props_1.TooltipDefault.iconHeight : _c, _d = _a.children, children = _d === void 0 ? props_1.TooltipDefault.children : _d, _e = _a.title, title = _e === void 0 ? props_1.TooltipDefault.title : _e, _f = _a.popupWidth, popupWidth = _f === void 0 ? props_1.TooltipDefault.popupWidth : _f, _g = _a.hasClickAction, hasClickAction = _g === void 0 ? props_1.TooltipDefault.hasClickAction : _g, _h = _a.hasCloseOnOutsideClick, hasCloseOnOutsideClick = _h === void 0 ? props_1.TooltipDefault.hasCloseOnOutsideClick : _h, _j = _a.isOpen, isOpen = _j === void 0 ? props_1.TooltipDefault.isOpen : _j, _k = _a.position, position = _k === void 0 ? props_1.TooltipDefault.position : _k, _l = _a.popupSize, popupSize = _l === void 0 ? props_1.TooltipDefault.popupSize : _l, _m = _a.popupLeft, popupLeft = _m === void 0 ? props_1.TooltipDefault.popupLeft : _m, _o = _a.popupRight, popupRight = _o === void 0 ? props_1.TooltipDefault.popupRight : _o, _p = _a.id, id = _p === void 0 ? props_1.TooltipDefault.id : _p;
|
|
25
|
+
var _q = (0, react_1.useState)(isOpen), isOpenTooltip = _q[0], setIsOpenTooltip = _q[1];
|
|
26
26
|
(0, react_1.useEffect)(function () {
|
|
27
27
|
setIsOpenTooltip(isOpen);
|
|
28
28
|
}, [isOpen]);
|
|
29
29
|
var tooltipRef = (0, react_1.useRef)();
|
|
30
30
|
(0, useOnClickOutside_1.default)(tooltipRef, function () { return setIsOpenTooltip(false); }, hasCloseOnOutsideClick);
|
|
31
|
-
return ((0, jsx_runtime_1.jsxs)(Tooltip_styled_1.TooltipStyled, __assign({ ref: tooltipRef, "$hasClickAction": hasClickAction }, { children: [(0, jsx_runtime_1.jsx)(Tooltip_styled_1.Selector, __assign({ "$isOpen": isOpenTooltip, "$position": position, "$hasClickAction": hasClickAction, onClick: function () { return setIsOpenTooltip(!isOpenTooltip); } }, { children: (0, jsx_runtime_1.jsx)(Icon_1.default, { name: iconWidth === "16px" ? "InfoSquareSmall" : "InfoSquare", width: iconWidth, height: iconHeight }) })), (0, jsx_runtime_1.jsxs)(Tooltip_styled_1.Popup, __assign({ "$popupSize": popupSize, "$position": position, "$popupWidth": popupWidth, "$isOpen": isOpenTooltip, "$hasClickAction": hasClickAction, "$popupLeft": popupLeft, "$popupRight": popupRight }, { children: [title && (0, jsx_runtime_1.jsx)(Tooltip_styled_1.Title, { children: title }), children] }))] })));
|
|
31
|
+
return ((0, jsx_runtime_1.jsxs)(Tooltip_styled_1.TooltipStyled, __assign({ id: id, ref: tooltipRef, "$hasClickAction": hasClickAction }, { children: [(0, jsx_runtime_1.jsx)(Tooltip_styled_1.Selector, __assign({ "$isOpen": isOpenTooltip, "$position": position, "$hasClickAction": hasClickAction, onClick: function () { return setIsOpenTooltip(!isOpenTooltip); } }, { children: (0, jsx_runtime_1.jsx)(Icon_1.default, { name: iconWidth === "16px" ? "InfoSquareSmall" : "InfoSquare", width: iconWidth, height: iconHeight }) })), (0, jsx_runtime_1.jsxs)(Tooltip_styled_1.Popup, __assign({ "$popupSize": popupSize, "$position": position, "$popupWidth": popupWidth, "$isOpen": isOpenTooltip, "$hasClickAction": hasClickAction, "$popupLeft": popupLeft, "$popupRight": popupRight, className: "customPopup" }, { children: [title && (0, jsx_runtime_1.jsx)(Tooltip_styled_1.Title, { children: title }), children] }))] })));
|
|
32
32
|
};
|
|
33
33
|
exports.default = Tooltip;
|
|
@@ -1,20 +1,4 @@
|
|
|
1
1
|
declare const _default: ({
|
|
2
|
-
id: number;
|
|
3
|
-
parentId: number;
|
|
4
|
-
name: string;
|
|
5
|
-
filterName: any;
|
|
6
|
-
isShowHeader: boolean;
|
|
7
|
-
slug: string;
|
|
8
|
-
productCount: number;
|
|
9
|
-
headerMediaUrl: any;
|
|
10
|
-
medias: any[];
|
|
11
|
-
icon: string;
|
|
12
|
-
children: any[];
|
|
13
|
-
isActive: boolean;
|
|
14
|
-
component?: undefined;
|
|
15
|
-
badgeText?: undefined;
|
|
16
|
-
hasCustomItem?: undefined;
|
|
17
|
-
} | {
|
|
18
2
|
id: number;
|
|
19
3
|
parentId: number;
|
|
20
4
|
name: string;
|
|
@@ -25,7 +9,7 @@ declare const _default: ({
|
|
|
25
9
|
headerMediaUrl: string;
|
|
26
10
|
medias: any[];
|
|
27
11
|
icon: string;
|
|
28
|
-
children:
|
|
12
|
+
children: {
|
|
29
13
|
id: number;
|
|
30
14
|
parentId: number;
|
|
31
15
|
name: string;
|
|
@@ -33,37 +17,13 @@ declare const _default: ({
|
|
|
33
17
|
isShowHeader: boolean;
|
|
34
18
|
slug: string;
|
|
35
19
|
productCount: number;
|
|
36
|
-
headerMediaUrl:
|
|
20
|
+
headerMediaUrl: string;
|
|
37
21
|
medias: any[];
|
|
38
|
-
children:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
filterName: any;
|
|
43
|
-
isShowHeader: boolean;
|
|
44
|
-
slug: string;
|
|
45
|
-
productCount: number;
|
|
46
|
-
headerMediaUrl: any;
|
|
47
|
-
medias: any[];
|
|
48
|
-
children: any[];
|
|
49
|
-
}[];
|
|
50
|
-
isSeeAll?: undefined;
|
|
51
|
-
} | {
|
|
52
|
-
id: number;
|
|
53
|
-
name: string;
|
|
54
|
-
isSeeAll: boolean;
|
|
55
|
-
slug: string;
|
|
56
|
-
parentId?: undefined;
|
|
57
|
-
filterName?: undefined;
|
|
58
|
-
isShowHeader?: undefined;
|
|
59
|
-
productCount?: undefined;
|
|
60
|
-
headerMediaUrl?: undefined;
|
|
61
|
-
medias?: undefined;
|
|
62
|
-
children?: undefined;
|
|
63
|
-
})[];
|
|
64
|
-
isActive?: undefined;
|
|
22
|
+
children: any[];
|
|
23
|
+
parent: any[];
|
|
24
|
+
}[];
|
|
25
|
+
parent: any[];
|
|
65
26
|
component?: undefined;
|
|
66
|
-
badgeText?: undefined;
|
|
67
27
|
hasCustomItem?: undefined;
|
|
68
28
|
} | {
|
|
69
29
|
id: number;
|
|
@@ -91,24 +51,7 @@ declare const _default: ({
|
|
|
91
51
|
medias: any[];
|
|
92
52
|
children: any[];
|
|
93
53
|
}[];
|
|
94
|
-
|
|
95
|
-
badgeText?: undefined;
|
|
96
|
-
hasCustomItem?: undefined;
|
|
97
|
-
} | {
|
|
98
|
-
id: number;
|
|
99
|
-
parentId: number;
|
|
100
|
-
name: string;
|
|
101
|
-
filterName: any;
|
|
102
|
-
isShowHeader: boolean;
|
|
103
|
-
slug: string;
|
|
104
|
-
productCount: number;
|
|
105
|
-
headerMediaUrl: any;
|
|
106
|
-
medias: any[];
|
|
107
|
-
icon: string;
|
|
108
|
-
children: any[];
|
|
109
|
-
badgeText: string;
|
|
110
|
-
isActive?: undefined;
|
|
111
|
-
component?: undefined;
|
|
54
|
+
parent?: undefined;
|
|
112
55
|
hasCustomItem?: undefined;
|
|
113
56
|
} | {
|
|
114
57
|
id: number;
|
|
@@ -123,8 +66,7 @@ declare const _default: ({
|
|
|
123
66
|
icon: string;
|
|
124
67
|
children: any[];
|
|
125
68
|
hasCustomItem: boolean;
|
|
126
|
-
|
|
69
|
+
parent?: undefined;
|
|
127
70
|
component?: undefined;
|
|
128
|
-
badgeText?: undefined;
|
|
129
71
|
})[];
|
|
130
72
|
export default _default;
|
package/dist/jsons/categories.js
CHANGED
|
@@ -3,503 +3,473 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
exports.default = [
|
|
5
5
|
{
|
|
6
|
-
"id":
|
|
6
|
+
"id": 1,
|
|
7
7
|
"parentId": 0,
|
|
8
8
|
"name": "Tüm Ürünler",
|
|
9
9
|
"filterName": null,
|
|
10
10
|
"isShowHeader": true,
|
|
11
|
-
"slug": "
|
|
11
|
+
"slug": "tum-urunler",
|
|
12
12
|
"productCount": 0,
|
|
13
|
-
"headerMediaUrl":
|
|
13
|
+
"headerMediaUrl": "https://kiralarsin.s3.eu-central-1.amazonaws.com/categories/tumurunler.jpg",
|
|
14
14
|
"medias": [],
|
|
15
|
-
"icon": "NewYear",
|
|
16
15
|
"children": [],
|
|
17
|
-
"
|
|
16
|
+
"parent": [],
|
|
17
|
+
"icon": "Discovery",
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
"id":
|
|
20
|
+
"id": 22,
|
|
21
21
|
"parentId": 0,
|
|
22
22
|
"name": "Kişisel Bakım",
|
|
23
23
|
"filterName": null,
|
|
24
24
|
"isShowHeader": true,
|
|
25
|
-
"slug": "
|
|
25
|
+
"slug": "kisisel-bakim",
|
|
26
26
|
"productCount": 0,
|
|
27
|
-
"headerMediaUrl": "https://kiralarsin
|
|
27
|
+
"headerMediaUrl": "https://kiralarsin.s3.eu-central-1.amazonaws.com/categories/kisiselbakim.jpg",
|
|
28
28
|
"medias": [],
|
|
29
29
|
"icon": "Heart",
|
|
30
30
|
"children": [
|
|
31
31
|
{
|
|
32
|
-
"id":
|
|
33
|
-
"parentId":
|
|
34
|
-
"name": "Akıllı Tartı",
|
|
35
|
-
"filterName": null,
|
|
36
|
-
"isShowHeader": true,
|
|
37
|
-
"slug": "https://www.kiralarsin.com/akilli-tarti",
|
|
38
|
-
"productCount": 0,
|
|
39
|
-
"headerMediaUrl": null,
|
|
40
|
-
"medias": [],
|
|
41
|
-
"children": [
|
|
42
|
-
{
|
|
43
|
-
"id": 79,
|
|
44
|
-
"parentId": 50,
|
|
45
|
-
"name": "deneme kategori",
|
|
46
|
-
"filterName": null,
|
|
47
|
-
"isShowHeader": true,
|
|
48
|
-
"slug": "https://www.kiralarsin.com/deneme",
|
|
49
|
-
"productCount": 0,
|
|
50
|
-
"headerMediaUrl": null,
|
|
51
|
-
"medias": [],
|
|
52
|
-
"children": []
|
|
53
|
-
}
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"id": 56,
|
|
58
|
-
"parentId": 31,
|
|
32
|
+
"id": 46,
|
|
33
|
+
"parentId": 22,
|
|
59
34
|
"name": "Epilasyon",
|
|
60
35
|
"filterName": null,
|
|
61
36
|
"isShowHeader": true,
|
|
62
|
-
"slug": "
|
|
37
|
+
"slug": "epilasyon",
|
|
63
38
|
"productCount": 0,
|
|
64
39
|
"headerMediaUrl": null,
|
|
65
40
|
"medias": [],
|
|
66
|
-
"children": []
|
|
41
|
+
"children": [],
|
|
42
|
+
"parent": []
|
|
67
43
|
},
|
|
68
44
|
{
|
|
69
|
-
"id":
|
|
70
|
-
"parentId":
|
|
45
|
+
"id": 55,
|
|
46
|
+
"parentId": 22,
|
|
71
47
|
"name": "Masaj Aleti",
|
|
72
48
|
"filterName": null,
|
|
73
49
|
"isShowHeader": true,
|
|
74
|
-
"slug": "
|
|
50
|
+
"slug": "masaj-aleti",
|
|
75
51
|
"productCount": 0,
|
|
76
52
|
"headerMediaUrl": null,
|
|
77
53
|
"medias": [],
|
|
78
|
-
"children": []
|
|
54
|
+
"children": [],
|
|
55
|
+
"parent": []
|
|
79
56
|
},
|
|
80
57
|
{
|
|
81
|
-
"id":
|
|
82
|
-
"parentId":
|
|
58
|
+
"id": 62,
|
|
59
|
+
"parentId": 22,
|
|
83
60
|
"name": "Saç ve Cilt",
|
|
84
61
|
"filterName": null,
|
|
85
62
|
"isShowHeader": true,
|
|
86
|
-
"slug": "
|
|
63
|
+
"slug": "sac-ve-cilt",
|
|
87
64
|
"productCount": 0,
|
|
88
65
|
"headerMediaUrl": null,
|
|
89
66
|
"medias": [],
|
|
90
|
-
"children": []
|
|
67
|
+
"children": [],
|
|
68
|
+
"parent": []
|
|
91
69
|
},
|
|
92
70
|
{
|
|
93
|
-
"id":
|
|
94
|
-
"parentId":
|
|
71
|
+
"id": 63,
|
|
72
|
+
"parentId": 22,
|
|
95
73
|
"name": "Sağlık",
|
|
96
74
|
"filterName": null,
|
|
97
75
|
"isShowHeader": true,
|
|
98
|
-
"slug": "
|
|
76
|
+
"slug": "saglik",
|
|
99
77
|
"productCount": 0,
|
|
100
78
|
"headerMediaUrl": null,
|
|
101
79
|
"medias": [],
|
|
102
|
-
"children": []
|
|
80
|
+
"children": [],
|
|
81
|
+
"parent": []
|
|
103
82
|
},
|
|
104
83
|
{
|
|
105
|
-
"id":
|
|
106
|
-
"parentId":
|
|
84
|
+
"id": 67,
|
|
85
|
+
"parentId": 22,
|
|
107
86
|
"name": "Spor",
|
|
108
87
|
"filterName": null,
|
|
109
88
|
"isShowHeader": true,
|
|
110
|
-
"slug": "
|
|
89
|
+
"slug": "spor",
|
|
111
90
|
"productCount": 0,
|
|
112
91
|
"headerMediaUrl": null,
|
|
113
92
|
"medias": [],
|
|
114
|
-
"children": []
|
|
115
|
-
|
|
116
|
-
{
|
|
117
|
-
"id": 99999901,
|
|
118
|
-
"name": "Tümünü gör",
|
|
119
|
-
"isSeeAll": true,
|
|
120
|
-
"slug": "https://www.kiralarsin.com/kisisel-bakim"
|
|
93
|
+
"children": [],
|
|
94
|
+
"parent": []
|
|
121
95
|
}
|
|
122
|
-
]
|
|
96
|
+
],
|
|
97
|
+
"parent": []
|
|
123
98
|
},
|
|
124
99
|
{
|
|
125
|
-
"id":
|
|
100
|
+
"id": 23,
|
|
126
101
|
"parentId": 0,
|
|
127
|
-
"name": "Hobi
|
|
102
|
+
"name": "Hobi ve Oyun",
|
|
128
103
|
"filterName": null,
|
|
129
104
|
"isShowHeader": true,
|
|
130
|
-
"slug": "
|
|
105
|
+
"slug": "hobi-oyun",
|
|
131
106
|
"productCount": 0,
|
|
132
|
-
"headerMediaUrl":
|
|
107
|
+
"headerMediaUrl": "https://kiralarsin.s3.eu-central-1.amazonaws.com/categories/hobiveoyun.jpg",
|
|
133
108
|
"medias": [],
|
|
134
109
|
"icon": "Game",
|
|
135
110
|
"children": [
|
|
136
111
|
{
|
|
137
|
-
"id":
|
|
138
|
-
"parentId":
|
|
112
|
+
"id": 30,
|
|
113
|
+
"parentId": 23,
|
|
139
114
|
"name": "Hoparlör",
|
|
140
115
|
"filterName": null,
|
|
141
116
|
"isShowHeader": true,
|
|
142
|
-
"slug": "
|
|
117
|
+
"slug": "hoparlor",
|
|
143
118
|
"productCount": 0,
|
|
144
119
|
"headerMediaUrl": null,
|
|
145
120
|
"medias": [],
|
|
146
|
-
"children": []
|
|
121
|
+
"children": [],
|
|
122
|
+
"parent": []
|
|
147
123
|
},
|
|
148
124
|
{
|
|
149
|
-
"id":
|
|
150
|
-
"parentId":
|
|
125
|
+
"id": 33,
|
|
126
|
+
"parentId": 23,
|
|
151
127
|
"name": "Konsollar ve Oyunlar",
|
|
152
128
|
"filterName": null,
|
|
153
129
|
"isShowHeader": true,
|
|
154
|
-
"slug": "
|
|
130
|
+
"slug": "konsollar-ve-oyunlar",
|
|
155
131
|
"productCount": 0,
|
|
156
132
|
"headerMediaUrl": null,
|
|
157
133
|
"medias": [],
|
|
158
|
-
"children": []
|
|
134
|
+
"children": [],
|
|
135
|
+
"parent": []
|
|
159
136
|
},
|
|
160
137
|
{
|
|
161
|
-
"id":
|
|
162
|
-
"parentId":
|
|
138
|
+
"id": 34,
|
|
139
|
+
"parentId": 23,
|
|
163
140
|
"name": "VR Gözlükler",
|
|
164
141
|
"filterName": null,
|
|
165
142
|
"isShowHeader": true,
|
|
166
|
-
"slug": "
|
|
143
|
+
"slug": "vr-gozlukler",
|
|
167
144
|
"productCount": 0,
|
|
168
145
|
"headerMediaUrl": null,
|
|
169
146
|
"medias": [],
|
|
170
|
-
"children": []
|
|
147
|
+
"children": [],
|
|
148
|
+
"parent": []
|
|
171
149
|
},
|
|
172
150
|
{
|
|
173
|
-
"id":
|
|
174
|
-
"parentId":
|
|
151
|
+
"id": 35,
|
|
152
|
+
"parentId": 23,
|
|
175
153
|
"name": "E-kitap Okuyucu",
|
|
176
154
|
"filterName": null,
|
|
177
155
|
"isShowHeader": true,
|
|
178
|
-
"slug": "
|
|
156
|
+
"slug": "e-kitap-okuyucu",
|
|
179
157
|
"productCount": 0,
|
|
180
158
|
"headerMediaUrl": null,
|
|
181
159
|
"medias": [],
|
|
182
|
-
"children": []
|
|
160
|
+
"children": [],
|
|
161
|
+
"parent": []
|
|
183
162
|
},
|
|
184
163
|
{
|
|
185
|
-
"id":
|
|
186
|
-
"parentId":
|
|
164
|
+
"id": 36,
|
|
165
|
+
"parentId": 23,
|
|
187
166
|
"name": "Kamera",
|
|
188
167
|
"filterName": null,
|
|
189
168
|
"isShowHeader": true,
|
|
190
|
-
"slug": "
|
|
169
|
+
"slug": "kamera",
|
|
191
170
|
"productCount": 0,
|
|
192
171
|
"headerMediaUrl": null,
|
|
193
172
|
"medias": [],
|
|
194
|
-
"children": []
|
|
173
|
+
"children": [],
|
|
174
|
+
"parent": []
|
|
195
175
|
},
|
|
196
176
|
{
|
|
197
|
-
"id":
|
|
198
|
-
"parentId":
|
|
199
|
-
"name": "
|
|
177
|
+
"id": 49,
|
|
178
|
+
"parentId": 23,
|
|
179
|
+
"name": "Kamera Aksesuarları",
|
|
200
180
|
"filterName": null,
|
|
201
181
|
"isShowHeader": true,
|
|
202
|
-
"slug": "
|
|
182
|
+
"slug": "kamera-aksesuarlari",
|
|
203
183
|
"productCount": 0,
|
|
204
184
|
"headerMediaUrl": null,
|
|
205
185
|
"medias": [],
|
|
206
|
-
"children": []
|
|
186
|
+
"children": [],
|
|
187
|
+
"parent": []
|
|
207
188
|
},
|
|
208
189
|
{
|
|
209
|
-
"id":
|
|
210
|
-
"parentId":
|
|
211
|
-
"name": "
|
|
190
|
+
"id": 59,
|
|
191
|
+
"parentId": 23,
|
|
192
|
+
"name": "Müzik",
|
|
212
193
|
"filterName": null,
|
|
213
194
|
"isShowHeader": true,
|
|
214
|
-
"slug": "
|
|
195
|
+
"slug": "muzik",
|
|
215
196
|
"productCount": 0,
|
|
216
197
|
"headerMediaUrl": null,
|
|
217
198
|
"medias": [],
|
|
218
|
-
"children": []
|
|
199
|
+
"children": [],
|
|
200
|
+
"parent": []
|
|
219
201
|
},
|
|
220
202
|
{
|
|
221
|
-
"id":
|
|
222
|
-
"parentId":
|
|
223
|
-
"name": "
|
|
203
|
+
"id": 65,
|
|
204
|
+
"parentId": 23,
|
|
205
|
+
"name": "Ses Kayıt ve Mikrofon",
|
|
224
206
|
"filterName": null,
|
|
225
207
|
"isShowHeader": true,
|
|
226
|
-
"slug": "
|
|
208
|
+
"slug": "ses-kayit-ve-mikrofon",
|
|
227
209
|
"productCount": 0,
|
|
228
210
|
"headerMediaUrl": null,
|
|
229
211
|
"medias": [],
|
|
230
|
-
"children": []
|
|
231
|
-
|
|
212
|
+
"children": [],
|
|
213
|
+
"parent": []
|
|
214
|
+
}
|
|
215
|
+
],
|
|
216
|
+
"parent": []
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"id": 25,
|
|
220
|
+
"parentId": 0,
|
|
221
|
+
"name": "Akıllı Ev",
|
|
222
|
+
"filterName": null,
|
|
223
|
+
"isShowHeader": true,
|
|
224
|
+
"slug": "akilli-ev",
|
|
225
|
+
"productCount": 0,
|
|
226
|
+
"headerMediaUrl": "https://kiralarsin.s3.eu-central-1.amazonaws.com/categories/akilliev.jpg",
|
|
227
|
+
"medias": [],
|
|
228
|
+
"icon": "House",
|
|
229
|
+
"children": [
|
|
232
230
|
{
|
|
233
|
-
"id":
|
|
234
|
-
"parentId":
|
|
235
|
-
"name": "
|
|
231
|
+
"id": 32,
|
|
232
|
+
"parentId": 25,
|
|
233
|
+
"name": "Süpürgeler",
|
|
236
234
|
"filterName": null,
|
|
237
235
|
"isShowHeader": true,
|
|
238
|
-
"slug": "
|
|
236
|
+
"slug": "supurgeler",
|
|
239
237
|
"productCount": 0,
|
|
240
238
|
"headerMediaUrl": null,
|
|
241
239
|
"medias": [],
|
|
242
|
-
"children": []
|
|
240
|
+
"children": [],
|
|
241
|
+
"parent": []
|
|
243
242
|
},
|
|
244
243
|
{
|
|
245
|
-
"id":
|
|
246
|
-
"parentId":
|
|
247
|
-
"name": "
|
|
244
|
+
"id": 39,
|
|
245
|
+
"parentId": 25,
|
|
246
|
+
"name": "Akıllı Alarm",
|
|
248
247
|
"filterName": null,
|
|
249
248
|
"isShowHeader": true,
|
|
250
|
-
"slug": "
|
|
249
|
+
"slug": "akilli-alarm",
|
|
251
250
|
"productCount": 0,
|
|
252
251
|
"headerMediaUrl": null,
|
|
253
252
|
"medias": [],
|
|
254
|
-
"children": []
|
|
253
|
+
"children": [],
|
|
254
|
+
"parent": []
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
|
-
"id":
|
|
258
|
-
"parentId":
|
|
259
|
-
"name": "
|
|
257
|
+
"id": 47,
|
|
258
|
+
"parentId": 25,
|
|
259
|
+
"name": "Ev Sineması",
|
|
260
260
|
"filterName": null,
|
|
261
261
|
"isShowHeader": true,
|
|
262
|
-
"slug": "
|
|
262
|
+
"slug": "ev-sinemasi",
|
|
263
263
|
"productCount": 0,
|
|
264
264
|
"headerMediaUrl": null,
|
|
265
265
|
"medias": [],
|
|
266
|
-
"children": []
|
|
266
|
+
"children": [],
|
|
267
|
+
"parent": []
|
|
267
268
|
},
|
|
268
269
|
{
|
|
269
|
-
"id":
|
|
270
|
-
"parentId":
|
|
271
|
-
"name": "
|
|
270
|
+
"id": 48,
|
|
271
|
+
"parentId": 25,
|
|
272
|
+
"name": "Hava Temizleyici",
|
|
272
273
|
"filterName": null,
|
|
273
274
|
"isShowHeader": true,
|
|
274
|
-
"slug": "
|
|
275
|
+
"slug": "hava-temizleyici",
|
|
275
276
|
"productCount": 0,
|
|
276
277
|
"headerMediaUrl": null,
|
|
277
278
|
"medias": [],
|
|
278
|
-
"children": []
|
|
279
|
+
"children": [],
|
|
280
|
+
"parent": []
|
|
279
281
|
},
|
|
280
282
|
{
|
|
281
|
-
"id":
|
|
282
|
-
"parentId":
|
|
283
|
-
"name": "
|
|
283
|
+
"id": 50,
|
|
284
|
+
"parentId": 25,
|
|
285
|
+
"name": "Kırışıklık Giderici Ütü",
|
|
284
286
|
"filterName": null,
|
|
285
287
|
"isShowHeader": true,
|
|
286
|
-
"slug": "
|
|
288
|
+
"slug": "kirisiklik-giderici-utu",
|
|
287
289
|
"productCount": 0,
|
|
288
290
|
"headerMediaUrl": null,
|
|
289
291
|
"medias": [],
|
|
290
|
-
"children": []
|
|
292
|
+
"children": [],
|
|
293
|
+
"parent": []
|
|
291
294
|
},
|
|
292
295
|
{
|
|
293
|
-
"id":
|
|
294
|
-
"parentId":
|
|
295
|
-
"name": "
|
|
296
|
+
"id": 56,
|
|
297
|
+
"parentId": 25,
|
|
298
|
+
"name": "Matkap ve Vidalayıcılar",
|
|
296
299
|
"filterName": null,
|
|
297
300
|
"isShowHeader": true,
|
|
298
|
-
"slug": "
|
|
301
|
+
"slug": "matkap-ve-vidalayicilar",
|
|
299
302
|
"productCount": 0,
|
|
300
303
|
"headerMediaUrl": null,
|
|
301
304
|
"medias": [],
|
|
302
|
-
"children": []
|
|
305
|
+
"children": [],
|
|
306
|
+
"parent": []
|
|
303
307
|
},
|
|
304
308
|
{
|
|
305
|
-
"id":
|
|
306
|
-
"parentId":
|
|
307
|
-
"name": "
|
|
309
|
+
"id": 58,
|
|
310
|
+
"parentId": 25,
|
|
311
|
+
"name": "Mutfak Aletleri",
|
|
308
312
|
"filterName": null,
|
|
309
313
|
"isShowHeader": true,
|
|
310
|
-
"slug": "
|
|
314
|
+
"slug": "mutfak-aletleri",
|
|
311
315
|
"productCount": 0,
|
|
312
316
|
"headerMediaUrl": null,
|
|
313
317
|
"medias": [],
|
|
314
|
-
"children": []
|
|
315
|
-
|
|
316
|
-
{
|
|
317
|
-
"id": 99999902,
|
|
318
|
-
"name": "Tümünü gör",
|
|
319
|
-
"isSeeAll": true,
|
|
320
|
-
"slug": "https://www.kiralarsin.com/hobi-oyun"
|
|
318
|
+
"children": [],
|
|
319
|
+
"parent": []
|
|
321
320
|
}
|
|
322
|
-
]
|
|
321
|
+
],
|
|
322
|
+
"parent": []
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
|
-
"id":
|
|
325
|
+
"id": 27,
|
|
326
326
|
"parentId": 0,
|
|
327
|
-
"name": "
|
|
327
|
+
"name": "Bebek ve Çocuk",
|
|
328
328
|
"filterName": null,
|
|
329
329
|
"isShowHeader": true,
|
|
330
|
-
"slug": "
|
|
330
|
+
"slug": "bebek-ve-cocuk",
|
|
331
331
|
"productCount": 0,
|
|
332
|
-
"headerMediaUrl":
|
|
332
|
+
"headerMediaUrl": "https://kiralarsin.s3.eu-central-1.amazonaws.com/categories/bebekvecocuk.jpg",
|
|
333
333
|
"medias": [],
|
|
334
|
-
"icon": "
|
|
334
|
+
"icon": "Baby",
|
|
335
335
|
"children": [
|
|
336
336
|
{
|
|
337
|
-
"id":
|
|
338
|
-
"parentId":
|
|
339
|
-
"name": "
|
|
337
|
+
"id": 42,
|
|
338
|
+
"parentId": 27,
|
|
339
|
+
"name": "Bebek Bakımı",
|
|
340
340
|
"filterName": null,
|
|
341
341
|
"isShowHeader": true,
|
|
342
|
-
"slug": "
|
|
342
|
+
"slug": "bebek-bakimi",
|
|
343
343
|
"productCount": 0,
|
|
344
344
|
"headerMediaUrl": null,
|
|
345
345
|
"medias": [],
|
|
346
|
-
"children": []
|
|
346
|
+
"children": [],
|
|
347
|
+
"parent": []
|
|
347
348
|
}
|
|
348
|
-
]
|
|
349
|
+
],
|
|
350
|
+
"parent": []
|
|
349
351
|
},
|
|
350
352
|
{
|
|
351
|
-
"id":
|
|
353
|
+
"id": 76,
|
|
352
354
|
"parentId": 0,
|
|
353
|
-
"name": "
|
|
355
|
+
"name": "Telefon",
|
|
354
356
|
"filterName": null,
|
|
355
357
|
"isShowHeader": true,
|
|
356
|
-
"slug": "
|
|
358
|
+
"slug": "telefon",
|
|
357
359
|
"productCount": 0,
|
|
358
|
-
"headerMediaUrl":
|
|
360
|
+
"headerMediaUrl": "https://kiralarsin.s3.eu-central-1.amazonaws.com/categories/telefon.jpg",
|
|
359
361
|
"medias": [],
|
|
360
|
-
"icon": "
|
|
362
|
+
"icon": "Call",
|
|
361
363
|
"children": [
|
|
362
364
|
{
|
|
363
|
-
"id":
|
|
364
|
-
"parentId":
|
|
365
|
-
"name": "
|
|
365
|
+
"id": 77,
|
|
366
|
+
"parentId": 76,
|
|
367
|
+
"name": "Cep Telefonu",
|
|
366
368
|
"filterName": null,
|
|
367
369
|
"isShowHeader": true,
|
|
368
|
-
"slug": "
|
|
370
|
+
"slug": "cep-telefonu",
|
|
369
371
|
"productCount": 0,
|
|
370
|
-
"headerMediaUrl":
|
|
372
|
+
"headerMediaUrl": "https://kiralarsin.s3.eu-central-1.amazonaws.com/categories/telefon.jpg",
|
|
371
373
|
"medias": [],
|
|
372
|
-
"children": []
|
|
373
|
-
|
|
374
|
+
"children": [],
|
|
375
|
+
"parent": []
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
"parent": []
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"id": 28,
|
|
382
|
+
"parentId": 0,
|
|
383
|
+
"name": "Tablet ve Laptop",
|
|
384
|
+
"filterName": null,
|
|
385
|
+
"isShowHeader": true,
|
|
386
|
+
"slug": "tablet-laptop",
|
|
387
|
+
"productCount": 0,
|
|
388
|
+
"headerMediaUrl": "https://kiralarsin.s3.eu-central-1.amazonaws.com/categories/tabletvelaptop.jpg",
|
|
389
|
+
"medias": [],
|
|
390
|
+
"icon": "Laptop",
|
|
391
|
+
"children": [
|
|
374
392
|
{
|
|
375
|
-
"id":
|
|
376
|
-
"parentId":
|
|
377
|
-
"name": "
|
|
393
|
+
"id": 53,
|
|
394
|
+
"parentId": 28,
|
|
395
|
+
"name": "Laptop",
|
|
378
396
|
"filterName": null,
|
|
379
397
|
"isShowHeader": true,
|
|
380
|
-
"slug": "
|
|
398
|
+
"slug": "laptop",
|
|
381
399
|
"productCount": 0,
|
|
382
400
|
"headerMediaUrl": null,
|
|
383
401
|
"medias": [],
|
|
384
|
-
"children": []
|
|
402
|
+
"children": [],
|
|
403
|
+
"parent": []
|
|
385
404
|
},
|
|
386
405
|
{
|
|
387
|
-
"id":
|
|
388
|
-
"parentId":
|
|
389
|
-
"name": "
|
|
406
|
+
"id": 54,
|
|
407
|
+
"parentId": 28,
|
|
408
|
+
"name": "Laptop Aksesuarları",
|
|
390
409
|
"filterName": null,
|
|
391
410
|
"isShowHeader": true,
|
|
392
|
-
"slug": "
|
|
411
|
+
"slug": "laptop-aksesuarlari",
|
|
393
412
|
"productCount": 0,
|
|
394
413
|
"headerMediaUrl": null,
|
|
395
414
|
"medias": [],
|
|
396
|
-
"children": []
|
|
415
|
+
"children": [],
|
|
416
|
+
"parent": []
|
|
397
417
|
},
|
|
398
418
|
{
|
|
399
419
|
"id": 57,
|
|
400
|
-
"parentId":
|
|
401
|
-
"name": "
|
|
420
|
+
"parentId": 28,
|
|
421
|
+
"name": "Monitör",
|
|
402
422
|
"filterName": null,
|
|
403
423
|
"isShowHeader": true,
|
|
404
|
-
"slug": "
|
|
424
|
+
"slug": "monitor",
|
|
405
425
|
"productCount": 0,
|
|
406
426
|
"headerMediaUrl": null,
|
|
407
427
|
"medias": [],
|
|
408
|
-
"children": []
|
|
409
|
-
|
|
410
|
-
{
|
|
411
|
-
"id": 58,
|
|
412
|
-
"parentId": 35,
|
|
413
|
-
"name": "Hava Temizleyici",
|
|
414
|
-
"filterName": null,
|
|
415
|
-
"isShowHeader": true,
|
|
416
|
-
"slug": "https://www.kiralarsin.com/hava-temizleyici",
|
|
417
|
-
"productCount": 0,
|
|
418
|
-
"headerMediaUrl": null,
|
|
419
|
-
"medias": [],
|
|
420
|
-
"children": []
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
"id": 60,
|
|
424
|
-
"parentId": 35,
|
|
425
|
-
"name": "Kırışıklık Giderici Ütü",
|
|
426
|
-
"filterName": null,
|
|
427
|
-
"isShowHeader": true,
|
|
428
|
-
"slug": "https://www.kiralarsin.com/kirisiklik-giderici-utu",
|
|
429
|
-
"productCount": 0,
|
|
430
|
-
"headerMediaUrl": null,
|
|
431
|
-
"medias": [],
|
|
432
|
-
"children": []
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"id": 66,
|
|
436
|
-
"parentId": 35,
|
|
437
|
-
"name": "Matkap ve Vidalayıcılar",
|
|
438
|
-
"filterName": null,
|
|
439
|
-
"isShowHeader": true,
|
|
440
|
-
"slug": "https://www.kiralarsin.com/matkap-ve-vidalayicilar",
|
|
441
|
-
"productCount": 0,
|
|
442
|
-
"headerMediaUrl": null,
|
|
443
|
-
"medias": [],
|
|
444
|
-
"children": []
|
|
428
|
+
"children": [],
|
|
429
|
+
"parent": []
|
|
445
430
|
},
|
|
446
431
|
{
|
|
447
432
|
"id": 68,
|
|
448
|
-
"parentId":
|
|
449
|
-
"name": "
|
|
433
|
+
"parentId": 28,
|
|
434
|
+
"name": "Tablet Aksesuarları",
|
|
450
435
|
"filterName": null,
|
|
451
436
|
"isShowHeader": true,
|
|
452
|
-
"slug": "
|
|
437
|
+
"slug": "tablet-aksesuarlari",
|
|
453
438
|
"productCount": 0,
|
|
454
439
|
"headerMediaUrl": null,
|
|
455
440
|
"medias": [],
|
|
456
|
-
"children": []
|
|
441
|
+
"children": [],
|
|
442
|
+
"parent": []
|
|
457
443
|
},
|
|
458
444
|
{
|
|
459
|
-
"id":
|
|
460
|
-
"parentId":
|
|
461
|
-
"name": "
|
|
445
|
+
"id": 85,
|
|
446
|
+
"parentId": 28,
|
|
447
|
+
"name": "Tablet",
|
|
462
448
|
"filterName": null,
|
|
463
449
|
"isShowHeader": true,
|
|
464
|
-
"slug": "
|
|
450
|
+
"slug": "tablet",
|
|
465
451
|
"productCount": 0,
|
|
466
|
-
"headerMediaUrl":
|
|
452
|
+
"headerMediaUrl": "https://kiralarsin.s3.eu-central-1.amazonaws.com/categories/tablet-ve-laptop.jpg",
|
|
467
453
|
"medias": [],
|
|
468
|
-
"children": []
|
|
469
|
-
|
|
470
|
-
{
|
|
471
|
-
"id": 99999903,
|
|
472
|
-
"name": "Tümünü gör",
|
|
473
|
-
"isSeeAll": true,
|
|
474
|
-
"slug": "https://www.kiralarsin.com/akilli-ev"
|
|
454
|
+
"children": [],
|
|
455
|
+
"parent": []
|
|
475
456
|
}
|
|
476
|
-
]
|
|
457
|
+
],
|
|
458
|
+
"parent": []
|
|
477
459
|
},
|
|
478
460
|
{
|
|
479
|
-
"id":
|
|
461
|
+
"id": 31,
|
|
480
462
|
"parentId": 0,
|
|
481
|
-
"name": "
|
|
463
|
+
"name": "Akıllı Saat",
|
|
482
464
|
"filterName": null,
|
|
483
465
|
"isShowHeader": true,
|
|
484
|
-
"slug": "
|
|
466
|
+
"slug": "akilli-saat",
|
|
485
467
|
"productCount": 0,
|
|
486
|
-
"headerMediaUrl":
|
|
468
|
+
"headerMediaUrl": "https://kiralarsin.s3.eu-central-1.amazonaws.com/categories/giyilebilirteknoloji.jpg",
|
|
487
469
|
"medias": [],
|
|
488
|
-
"
|
|
489
|
-
"
|
|
490
|
-
|
|
491
|
-
"id": 47,
|
|
492
|
-
"parentId": 36,
|
|
493
|
-
"name": "Akıllı Telefon",
|
|
494
|
-
"filterName": null,
|
|
495
|
-
"isShowHeader": true,
|
|
496
|
-
"slug": "https://www.kiralarsin.com/akilli-Telefon",
|
|
497
|
-
"productCount": 0,
|
|
498
|
-
"headerMediaUrl": null,
|
|
499
|
-
"medias": [],
|
|
500
|
-
"children": []
|
|
501
|
-
}
|
|
502
|
-
]
|
|
470
|
+
"children": [],
|
|
471
|
+
"parent": [],
|
|
472
|
+
"icon": "Watch",
|
|
503
473
|
},
|
|
504
474
|
{
|
|
505
475
|
"id": 40,
|
|
@@ -544,18 +514,18 @@ exports.default = [
|
|
|
544
514
|
]
|
|
545
515
|
},
|
|
546
516
|
{
|
|
547
|
-
"id":
|
|
517
|
+
"id": 83,
|
|
548
518
|
"parentId": 0,
|
|
549
|
-
"name": "
|
|
519
|
+
"name": "İndirimli Ürünler",
|
|
550
520
|
"filterName": null,
|
|
551
521
|
"isShowHeader": true,
|
|
552
|
-
"slug": "
|
|
522
|
+
"slug": "indirimli-urunler",
|
|
553
523
|
"productCount": 0,
|
|
554
|
-
"headerMediaUrl":
|
|
524
|
+
"headerMediaUrl": "https://kiralarsin.s3.eu-central-1.amazonaws.com/categories/indirim.jpg",
|
|
555
525
|
"medias": [],
|
|
556
|
-
"icon": "Valentine",
|
|
557
526
|
"children": [],
|
|
558
|
-
"
|
|
527
|
+
"parent": [],
|
|
528
|
+
"icon": "Announcement",
|
|
559
529
|
},
|
|
560
530
|
{
|
|
561
531
|
"id": 41,
|