@lanaco/lnc-react-ui 4.0.23 → 4.0.25
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/Accordion.cjs +1 -1
- package/dist/Accordion.js +2 -2
- package/dist/AccordionDetails.cjs +1 -1
- package/dist/AccordionDetails.js +1 -1
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +2 -2
- package/dist/ActionsToolbar.cjs +1 -1
- package/dist/ActionsToolbar.js +2 -2
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +2 -2
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +2 -2
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +2 -2
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +2 -2
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +2 -2
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +2 -2
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +2 -2
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +2 -2
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +2 -2
- package/dist/Content.cjs +1 -1
- package/dist/Content.js +1 -1
- package/dist/{CustomStyles-Dlqxic2X.cjs → CustomStyles-CBON9fD-.cjs} +1 -1
- package/dist/{CustomStyles-BUSJ8bZt.js → CustomStyles-DuADCM-0.js} +1 -1
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +1 -1
- package/dist/DateInput.cjs +1 -1
- package/dist/DateInput.js +3 -3
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +2 -2
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +2 -2
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +2 -2
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +2 -2
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +2 -2
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +2 -2
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +2 -2
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +3 -3
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +2 -2
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +2 -2
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +2 -2
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +2 -2
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +2 -2
- package/dist/FlexBox.cjs +1 -1
- package/dist/FlexBox.js +1 -1
- package/dist/FlexGrid.cjs +1 -1
- package/dist/FlexGrid.js +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +2 -2
- package/dist/Footer.cjs +1 -1
- package/dist/Footer.js +1 -1
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +2 -2
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +2 -2
- package/dist/Grid.cjs +1 -1
- package/dist/Grid.js +1 -1
- package/dist/GridItem.cjs +1 -1
- package/dist/GridItem.js +1 -1
- package/dist/Header.cjs +1 -1
- package/dist/Header.js +1 -1
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +2 -2
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +2 -2
- package/dist/Kanban.cjs +1 -1
- package/dist/Kanban.js +4 -4
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +2 -2
- package/dist/{KanbanCard-CHZ_C9kk.js → KanbanCard-BDyFaKYd.js} +2 -2
- package/dist/{KanbanCard-DV3VnSUi.cjs → KanbanCard-CofqdTrO.cjs} +1 -1
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +2 -2
- package/dist/KanbanFooter.cjs +1 -1
- package/dist/KanbanFooter.js +1 -1
- package/dist/KanbanHeader.cjs +1 -1
- package/dist/KanbanHeader.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +3 -3
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +2 -2
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +2 -2
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +2 -2
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +2 -2
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +2 -2
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +2 -2
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +2 -2
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +2 -2
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +2 -2
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +2 -2
- package/dist/PageLayout.cjs +1 -1
- package/dist/PageLayout.js +1 -1
- package/dist/Pagination.cjs +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +2 -2
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.js +1 -1
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +2 -2
- package/dist/PopoverTrigger.cjs +1 -1
- package/dist/PopoverTrigger.js +1 -1
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +2 -2
- package/dist/RadioGroup.cjs +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +2 -2
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +2 -2
- package/dist/SearchBar.cjs +1 -1
- package/dist/SearchBar.js +1 -1
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +2 -2
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +2 -2
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +2 -2
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +2 -2
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +2 -2
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +2 -2
- package/dist/Table.cjs +1 -1
- package/dist/Table.js +2 -2
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +2 -2
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +2 -2
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +2 -2
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +26 -26
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +2 -2
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +2 -2
- package/dist/TreeMenu.cjs +1 -1
- package/dist/TreeMenu.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +2 -2
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +2 -2
- package/dist/consts-DNVz1x1I.js +4 -0
- package/dist/consts-dNz9tpt4.cjs +1 -0
- package/dist/{index-BIlhCoy2.cjs → index-BPVoEhTF.cjs} +5 -5
- package/dist/{index-Cu0xwYjD.js → index-Bq3leL2e.js} +5 -4
- package/dist/index-C2M7QHPq.cjs +40 -0
- package/dist/index-DcYg32le.js +69 -0
- package/dist/index-LdP7U1Yl.cjs +114 -0
- package/dist/{index-BYnWp42a.js → index-S5Cd7WrG.js} +74 -73
- package/dist/index-gY9e_8LL.cjs +5 -0
- package/dist/index-jVpIwR2G.js +159 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +125 -105
- package/dist/index10.cjs +117 -0
- package/dist/index10.js +209 -0
- package/dist/index11.cjs +135 -0
- package/dist/index11.js +1534 -0
- package/dist/index2.cjs +25 -0
- package/dist/index2.js +99 -0
- package/dist/index3.cjs +68 -0
- package/dist/index3.js +135 -0
- package/dist/index4.cjs +48 -0
- package/dist/index4.js +100 -0
- package/dist/index5.cjs +81 -0
- package/dist/index5.js +144 -0
- package/dist/index6.cjs +65 -0
- package/dist/index6.js +104 -0
- package/dist/index7.cjs +82 -0
- package/dist/index7.js +138 -0
- package/dist/index8.cjs +150 -0
- package/dist/index8.js +222 -0
- package/dist/index9.cjs +90 -0
- package/dist/index9.js +152 -0
- package/dist/style-C3OB0uad.cjs +76 -0
- package/dist/style-Ch-xOasu.js +84 -0
- package/dist/style.css +1 -1
- package/dist/useDetectMobile-BookNOsk.js +13 -0
- package/dist/useDetectMobile-rBe0FiP2.cjs +1 -0
- package/dist/{utils-DTAPpJXU.cjs → utils-CE6bljYe.cjs} +43 -5
- package/dist/{utils-C52T57HO.js → utils-DtEdJZWa.js} +121 -32
- package/package.json +12 -2
- package/vite.config.js +44 -1
- package/dist/index-CSXL784P.cjs +0 -5
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as s } from "react";
|
|
3
|
+
import { n as l } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
4
|
+
import { M as v } from "./consts-DNVz1x1I.js";
|
|
5
|
+
import { t as k, o as d, m as r, l as y, n as $, G as N } from "./utils-DtEdJZWa.js";
|
|
6
|
+
const S = l.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
gap: 0.5rem;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
|
|
12
|
+
& .wrapper-card-1 {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
gap: 0.38rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
& .wrapper-card-2 {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
& img {
|
|
25
|
+
width: 100%;
|
|
26
|
+
aspect-ratio: 1 / 1; /* defining the aspect ratio of the image */
|
|
27
|
+
object-fit: cover; /* making sure the image isn't distorted */
|
|
28
|
+
border-radius: 0.75rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
& .card-title {
|
|
32
|
+
font-size: 0.875rem;
|
|
33
|
+
font-weight: 600;
|
|
34
|
+
${k(2)}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
& .price-text {
|
|
38
|
+
font-size: 1rem;
|
|
39
|
+
font-weight: 600;
|
|
40
|
+
${d()}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
& .location-text {
|
|
44
|
+
font-size: 0.75rem;
|
|
45
|
+
font-weight: 400;
|
|
46
|
+
color: var(--gray-600, #676e79);
|
|
47
|
+
${d()}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
& .tags-wrapper {
|
|
51
|
+
display: flex;
|
|
52
|
+
gap: 0.5rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&:hover {
|
|
56
|
+
& .card-title {
|
|
57
|
+
color: var(--primary-500, #f59e0b);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
& .skeleton-img {
|
|
62
|
+
background-color: ${r("-90deg")};
|
|
63
|
+
border-radius: 0.75rem;
|
|
64
|
+
border: 1px solid white;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
& .skeleton-title {
|
|
68
|
+
background-color: ${r("-90deg")};
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 2.5rem;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
& .skeleton-tags {
|
|
74
|
+
background-color: ${r("-90deg")};
|
|
75
|
+
width: 80%;
|
|
76
|
+
height: 1.5rem;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
& .skeleton-price {
|
|
80
|
+
background-color: ${r("-90deg")};
|
|
81
|
+
width: 50%;
|
|
82
|
+
height: 2.5rem;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
& .skeleton-sponsored {
|
|
86
|
+
background-color: ${r("-90deg")};
|
|
87
|
+
width: 50%;
|
|
88
|
+
height: 1rem;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media (max-width: ${v + "px"}) {
|
|
92
|
+
& img {
|
|
93
|
+
width: 8.875rem;
|
|
94
|
+
height: 8.875rem;
|
|
95
|
+
min-width: 8.875rem;
|
|
96
|
+
min-height: 8.875rem;
|
|
97
|
+
min-width: 8.875rem;
|
|
98
|
+
min-height: 8.875rem;
|
|
99
|
+
object-fit: cover;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
& .price-text {
|
|
103
|
+
font-size: 0.875rem;
|
|
104
|
+
font-weight: 600;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
`, z = l.div`
|
|
108
|
+
display: flex;
|
|
109
|
+
align-items: center;
|
|
110
|
+
gap: 0.25rem;
|
|
111
|
+
color: var(--gray-500);
|
|
112
|
+
font-size: 0.75rem;
|
|
113
|
+
font-weight: 500;
|
|
114
|
+
|
|
115
|
+
& i {
|
|
116
|
+
font-size: 1rem;
|
|
117
|
+
color: var(--warning-500, #F59E0B);
|
|
118
|
+
}
|
|
119
|
+
`, C = s(({ sponsoredText: t = "Sponsored" }, o) => /* @__PURE__ */ i(z, { ref: o, className: "sponsored-line", children: [
|
|
120
|
+
/* @__PURE__ */ e("i", { className: "mng-lnc-paw2" }),
|
|
121
|
+
/* @__PURE__ */ e("span", { children: t })
|
|
122
|
+
] })), P = s((t, o) => {
|
|
123
|
+
const {
|
|
124
|
+
uuid: j,
|
|
125
|
+
title: m,
|
|
126
|
+
price: a,
|
|
127
|
+
currency: n,
|
|
128
|
+
isNegotiable: p,
|
|
129
|
+
isFree: g,
|
|
130
|
+
image: h,
|
|
131
|
+
sellerUuid: T,
|
|
132
|
+
location: f,
|
|
133
|
+
isSponsored: w,
|
|
134
|
+
imageComponent: c,
|
|
135
|
+
onSelectCard: u = () => {
|
|
136
|
+
},
|
|
137
|
+
freeText: x = "Free",
|
|
138
|
+
negotiableText: b = "Negotiable"
|
|
139
|
+
} = t;
|
|
140
|
+
return (
|
|
141
|
+
// <LandingPageProductCardSkeleton />
|
|
142
|
+
/* @__PURE__ */ i(S, { className: "product-card", onClick: u, children: [
|
|
143
|
+
y(c) ? c : /* @__PURE__ */ e("img", { src: h }),
|
|
144
|
+
/* @__PURE__ */ e("div", { className: "wrapper-card-1", children: /* @__PURE__ */ e("div", { className: "card-title", children: m }) }),
|
|
145
|
+
/* @__PURE__ */ i("div", { className: "wrapper-card-2", children: [
|
|
146
|
+
/* @__PURE__ */ i("div", { className: "price-text", children: [
|
|
147
|
+
a && n && `${$(a)} ${N(n)}`,
|
|
148
|
+
p && { negotiableText: b },
|
|
149
|
+
g && { freeText: x }
|
|
150
|
+
] }),
|
|
151
|
+
/* @__PURE__ */ e("div", { className: "location-text", children: f })
|
|
152
|
+
] }),
|
|
153
|
+
w === !0 && /* @__PURE__ */ e(C, {})
|
|
154
|
+
] })
|
|
155
|
+
);
|
|
156
|
+
});
|
|
157
|
+
export {
|
|
158
|
+
P as D
|
|
159
|
+
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./CheckBoxInput.cjs"),n=require("./ColorInput.cjs"),e=require("./DateInput.cjs"),t=require("./DecimalInput.cjs"),i=require("./DecimalInputV2.cjs"),u=require("./FileInput.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./CheckBoxInput.cjs"),n=require("./ColorInput.cjs"),e=require("./DateInput.cjs"),t=require("./DecimalInput.cjs"),i=require("./DecimalInputV2.cjs"),u=require("./FileInput.cjs"),c=require("./NumberInput.cjs"),a=require("./PasswordInput.cjs"),s=require("./RadioInput.cjs"),q=require("./RangeSlider.cjs"),d=require("./TextAreaInput.cjs"),l=require("./TextInput.cjs"),p=require("./TimeInput.cjs"),m=require("./Badge.cjs"),D=require("./Chip.cjs"),I=require("./DataView.cjs"),b=require("./DetailsView.cjs"),S=require("./EditableTable.cjs"),g=require("./FormView.cjs"),T=require("./Kanban.cjs"),w=require("./KanbanCard-CofqdTrO.cjs"),P=require("./KanbanHeader.cjs"),F=require("./KanbanFooter.cjs"),x=require("./KanbanView.cjs"),B=require("./KanbanActionsToolbar.cjs"),C=require("./Table.cjs"),M=require("./TableView.cjs"),A=require("./ActionsToolbar.cjs"),v=require("./Alert.cjs"),f=require("./Notification.cjs"),G=require("./NotificationContainer.cjs"),h=require("./NotificationMessage.cjs"),K=require("./ProgressBar.cjs"),L=require("./Spinner.cjs"),N=require("./Avatar.cjs"),V=require("./Button.cjs"),$=require("./Icon.cjs"),k=require("./IconButton.cjs"),y=require("./Link.cjs"),R=require("./Surface.cjs"),H=require("./UploadedFile.cjs"),U=require("./DoubleRangeSlider.cjs"),W=require("./DragAndDropFile.cjs"),E=require("./DragDropFiles.cjs"),j=require("./Dropdown.cjs"),O=require("./DropdownLookup.cjs"),z=require("./MultiSelectDropdown.cjs"),J=require("./MultiSelectDropdownLookup.cjs"),Q=require("./RadioGroup.cjs"),X=require("./SearchBar.cjs"),Y=require("./Toggle.cjs"),Z=require("./ButtonGroup.cjs"),_=require("./Content.cjs"),ee=require("./FlexBox.cjs"),re=require("./FlexGrid.cjs"),oe=require("./FlexGridItem.cjs"),ne=require("./Footer.cjs"),te=require("./FormField.cjs"),ie=require("./Grid.cjs"),ue=require("./GridItem.cjs"),ce=require("./Header.cjs"),ae=require("./PageLayout.cjs"),se=require("./Sidebar.cjs"),qe=require("./Tabs.cjs"),de=require("./TabItem.cjs"),le=require("./Accordion.cjs"),pe=require("./AccordionSummary.cjs"),me=require("./AccordionDetails.cjs"),De=require("./Breadcrumbs.cjs"),Ie=require("./ConfirmationForm.cjs"),be=require("./Drawer.cjs"),Se=require("./DropdownMenu.cjs"),ge=require("./DropdownItem.cjs"),Te=require("./NestedDropdownItem.cjs"),we=require("./Separator.cjs"),Pe=require("./Modal.cjs"),Fe=require("./Pagination.cjs"),xe=require("./Popover.cjs"),Be=require("./PopoverClose.cjs"),Ce=require("./PopoverHeading.cjs"),Me=require("./PopoverContent.cjs"),Ae=require("./PopoverTrigger.cjs"),ve=require("./PopoverDescription.cjs"),fe=require("./SwipeableDrawer.cjs"),Ge=require("./TreeMenu.cjs"),he=require("./MenuItem.cjs"),Ke=require("./NestedMenuItem.cjs"),Le=require("./TreeMenuSeparator.cjs"),Ne=require("./index8.cjs"),Ve=require("./index2.cjs"),$e=require("./index9.cjs"),ke=require("./index10.cjs"),ye=require("./index3.cjs"),Re=require("./index11.cjs"),He=require("./index4.cjs"),Ue=require("./index5.cjs"),We=require("./index6.cjs"),Ee=require("./index7.cjs"),r=require("./ThemeProvider.cjs"),je=require("./CustomStyles-CBON9fD-.cjs");exports.CheckBoxInput=o;exports.ColorInput=n;exports.DateInput=e.default;exports.registerLocale=e.registerLocale;exports.DecimalInput=t;exports.DecimalInputV2=i;exports.FileInput=u;exports.NumberInput=c;exports.PasswordInput=a;exports.RadioInput=s;exports.RangeSlider=q;exports.TextAreaInput=d;exports.TextInput=l;exports.TimeInput=p;exports.Badge=m;exports.Chip=D;exports.DataView=I;exports.DetailsView=b;exports.EditableTable=S;exports.FormView=g;exports.Kanban=T;exports.KanbanCard=w.KanbanCard;exports.KanbanHeader=P;exports.KanbanFooter=F;exports.KanbanView=x;exports.KanbanActionsToolbar=B;exports.Table=C.default;exports.TableView=M;exports.ActionsToolbar=A;exports.Alert=v;exports.Notification=f;exports.NotificationContainer=G;exports.NotificationMessage=h;exports.ProgressBar=K;exports.Spinner=L;exports.Avatar=N;exports.Button=V;exports.Icon=$;exports.IconButton=k;exports.Link=y;exports.Surface=R;exports.UploadedFile=H;exports.DoubleRangeSlider=U;exports.DragAndDropFile=W;exports.DragDropFiles=E;exports.Dropdown=j.default;exports.DropdownLookup=O;exports.MultiSelectDropdown=z;exports.MultiSelectDropdownLookup=J;exports.RadioGroup=Q;exports.SearchBar=X;exports.Toggle=Y;exports.ButtonGroup=Z;exports.Content=_;exports.FlexBox=ee;exports.FlexGrid=re;exports.FlexGridItem=oe;exports.Footer=ne;exports.FormField=te;exports.Grid=ie;exports.GridItem=ue;exports.Header=ce;exports.PageLayout=ae;exports.Sidebar=se;exports.Tabs=qe;exports.TabItem=de;exports.Accordion=le;exports.AccordionSummary=pe;exports.AccordionDetails=me.default;exports.Breadcrumbs=De;exports.ConfirmationForm=Ie;exports.Drawer=be;exports.DropdownMenu=Se;exports.DropdownItem=ge;exports.NestedDropdownItem=Te;exports.Separator=we;exports.Modal=Pe;exports.Pagination=Fe;exports.Popover=xe;exports.PopoverClose=Be;exports.PopoverHeading=Ce;exports.PopoverContent=Me;exports.PopoverTrigger=Ae;exports.PopoverDescription=ve;exports.SwipeableDrawer=fe;exports.TreeMenu=Ge;exports.MenuItem=he;exports.NestedMenuItem=Ke;exports.TreeMenuSeparator=Le;exports.MasonryGeneralCardsSection=Ne;exports.DetailedProductsSection=Ve;exports.ProductsWithBannerSection=$e;exports.SimpleProductsSection=ke;exports.UrgentSaleProductsSection=ye;exports.BannerSectionCarousel=Re;exports.BannerSectionGrid=He;exports.BannerSectionSimple=Ue;exports.BannerSectionWithList=We;exports.BannerSectionWithListImage=Ee;exports.ThemeProvider=r.default;exports.useTheme=r.useTheme;exports.components=je.components;
|
package/dist/index.js
CHANGED
|
@@ -1,184 +1,204 @@
|
|
|
1
1
|
import { default as r } from "./CheckBoxInput.js";
|
|
2
|
-
import { default as
|
|
2
|
+
import { default as a } from "./ColorInput.js";
|
|
3
3
|
import { default as p, registerLocale as d } from "./DateInput.js";
|
|
4
4
|
import { default as u } from "./DecimalInput.js";
|
|
5
|
-
import { default as
|
|
5
|
+
import { default as m } from "./DecimalInputV2.js";
|
|
6
6
|
import { default as n } from "./FileInput.js";
|
|
7
7
|
import { default as c } from "./NumberInput.js";
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
8
|
+
import { default as D } from "./PasswordInput.js";
|
|
9
|
+
import { default as b } from "./RadioInput.js";
|
|
10
|
+
import { default as w } from "./RangeSlider.js";
|
|
11
|
+
import { default as B } from "./TextAreaInput.js";
|
|
12
|
+
import { default as F } from "./TextInput.js";
|
|
13
|
+
import { default as M } from "./TimeInput.js";
|
|
14
|
+
import { default as h } from "./Badge.js";
|
|
15
15
|
import { default as G } from "./Chip.js";
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
16
|
+
import { default as L } from "./DataView.js";
|
|
17
|
+
import { default as V } from "./DetailsView.js";
|
|
18
18
|
import { default as R } from "./EditableTable.js";
|
|
19
|
-
import { default as
|
|
19
|
+
import { default as H } from "./FormView.js";
|
|
20
20
|
import { default as U } from "./Kanban.js";
|
|
21
|
-
import { K as
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
21
|
+
import { K as j } from "./KanbanCard-BDyFaKYd.js";
|
|
22
|
+
import { default as z } from "./KanbanHeader.js";
|
|
23
|
+
import { default as O } from "./KanbanFooter.js";
|
|
24
24
|
import { default as X } from "./KanbanView.js";
|
|
25
25
|
import { default as Z } from "./KanbanActionsToolbar.js";
|
|
26
26
|
import { default as $ } from "./Table.js";
|
|
27
27
|
import { default as oe } from "./TableView.js";
|
|
28
|
-
import { default as
|
|
28
|
+
import { default as te } from "./ActionsToolbar.js";
|
|
29
29
|
import { default as fe } from "./Alert.js";
|
|
30
30
|
import { default as de } from "./Notification.js";
|
|
31
31
|
import { default as ue } from "./NotificationContainer.js";
|
|
32
|
-
import { default as
|
|
32
|
+
import { default as me } from "./NotificationMessage.js";
|
|
33
33
|
import { default as ne } from "./ProgressBar.js";
|
|
34
34
|
import { default as ce } from "./Spinner.js";
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
35
|
+
import { default as De } from "./Avatar.js";
|
|
36
|
+
import { default as be } from "./Button.js";
|
|
37
|
+
import { default as we } from "./Icon.js";
|
|
38
|
+
import { default as Be } from "./IconButton.js";
|
|
39
|
+
import { default as Fe } from "./Link.js";
|
|
40
|
+
import { default as Me } from "./Surface.js";
|
|
41
|
+
import { default as he } from "./UploadedFile.js";
|
|
42
42
|
import { default as Ge } from "./DoubleRangeSlider.js";
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
43
|
+
import { default as Le } from "./DragAndDropFile.js";
|
|
44
|
+
import { default as Ve } from "./DragDropFiles.js";
|
|
45
45
|
import { default as Re } from "./Dropdown.js";
|
|
46
|
-
import { default as
|
|
46
|
+
import { default as He } from "./DropdownLookup.js";
|
|
47
47
|
import { default as Ue } from "./MultiSelectDropdown.js";
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
48
|
+
import { default as je } from "./MultiSelectDropdownLookup.js";
|
|
49
|
+
import { default as ze } from "./RadioGroup.js";
|
|
50
|
+
import { default as Oe } from "./SearchBar.js";
|
|
51
51
|
import { default as Xe } from "./Toggle.js";
|
|
52
52
|
import { default as Ze } from "./ButtonGroup.js";
|
|
53
53
|
import { default as $e } from "./Content.js";
|
|
54
54
|
import { default as oo } from "./FlexBox.js";
|
|
55
|
-
import { default as
|
|
55
|
+
import { default as to } from "./FlexGrid.js";
|
|
56
56
|
import { default as fo } from "./FlexGridItem.js";
|
|
57
57
|
import { default as lo } from "./Footer.js";
|
|
58
|
-
import { default as
|
|
58
|
+
import { default as so } from "./FormField.js";
|
|
59
59
|
import { default as xo } from "./Grid.js";
|
|
60
60
|
import { default as io } from "./GridItem.js";
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
61
|
+
import { default as So } from "./Header.js";
|
|
62
|
+
import { default as Io } from "./PageLayout.js";
|
|
63
|
+
import { default as go } from "./Sidebar.js";
|
|
64
|
+
import { default as To } from "./Tabs.js";
|
|
65
65
|
import { default as Po } from "./TabItem.js";
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
66
|
+
import { default as Co } from "./Accordion.js";
|
|
67
|
+
import { default as Ao } from "./AccordionSummary.js";
|
|
68
|
+
import { default as vo } from "./AccordionDetails.js";
|
|
69
|
+
import { default as Ko } from "./Breadcrumbs.js";
|
|
70
|
+
import { default as No } from "./ConfirmationForm.js";
|
|
71
71
|
import { default as ko } from "./Drawer.js";
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
72
|
+
import { default as yo } from "./DropdownMenu.js";
|
|
73
|
+
import { default as Wo } from "./DropdownItem.js";
|
|
74
|
+
import { default as Eo } from "./NestedDropdownItem.js";
|
|
75
|
+
import { default as qo } from "./Separator.js";
|
|
76
|
+
import { default as Jo } from "./Modal.js";
|
|
77
|
+
import { default as Qo } from "./Pagination.js";
|
|
78
78
|
import { default as Yo } from "./Popover.js";
|
|
79
79
|
import { default as _o } from "./PopoverClose.js";
|
|
80
80
|
import { default as er } from "./PopoverHeading.js";
|
|
81
81
|
import { default as rr } from "./PopoverContent.js";
|
|
82
|
-
import { default as
|
|
82
|
+
import { default as ar } from "./PopoverTrigger.js";
|
|
83
83
|
import { default as pr } from "./PopoverDescription.js";
|
|
84
84
|
import { default as lr } from "./SwipeableDrawer.js";
|
|
85
|
-
import { default as
|
|
85
|
+
import { default as sr } from "./TreeMenu.js";
|
|
86
86
|
import { default as xr } from "./MenuItem.js";
|
|
87
87
|
import { default as ir } from "./NestedMenuItem.js";
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import {
|
|
88
|
+
import { default as Sr } from "./TreeMenuSeparator.js";
|
|
89
|
+
import { default as Ir } from "./index8.js";
|
|
90
|
+
import { default as gr } from "./index2.js";
|
|
91
|
+
import { default as Tr } from "./index9.js";
|
|
92
|
+
import { default as Pr } from "./index10.js";
|
|
93
|
+
import { default as Cr } from "./index3.js";
|
|
94
|
+
import { default as Ar } from "./index11.js";
|
|
95
|
+
import { default as vr } from "./index4.js";
|
|
96
|
+
import { default as Kr } from "./index5.js";
|
|
97
|
+
import { default as Nr } from "./index6.js";
|
|
98
|
+
import { default as kr } from "./index7.js";
|
|
99
|
+
import { default as yr, useTheme as Hr } from "./ThemeProvider.js";
|
|
100
|
+
import { c as Ur } from "./CustomStyles-DuADCM-0.js";
|
|
91
101
|
export {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
102
|
+
Co as Accordion,
|
|
103
|
+
vo as AccordionDetails,
|
|
104
|
+
Ao as AccordionSummary,
|
|
105
|
+
te as ActionsToolbar,
|
|
96
106
|
fe as Alert,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
107
|
+
De as Avatar,
|
|
108
|
+
h as Badge,
|
|
109
|
+
Ar as BannerSectionCarousel,
|
|
110
|
+
vr as BannerSectionGrid,
|
|
111
|
+
Kr as BannerSectionSimple,
|
|
112
|
+
Nr as BannerSectionWithList,
|
|
113
|
+
kr as BannerSectionWithListImage,
|
|
114
|
+
Ko as Breadcrumbs,
|
|
115
|
+
be as Button,
|
|
101
116
|
Ze as ButtonGroup,
|
|
102
117
|
r as CheckBoxInput,
|
|
103
118
|
G as Chip,
|
|
104
|
-
|
|
105
|
-
|
|
119
|
+
a as ColorInput,
|
|
120
|
+
No as ConfirmationForm,
|
|
106
121
|
$e as Content,
|
|
107
|
-
|
|
122
|
+
L as DataView,
|
|
108
123
|
p as DateInput,
|
|
109
124
|
u as DecimalInput,
|
|
110
|
-
|
|
111
|
-
|
|
125
|
+
m as DecimalInputV2,
|
|
126
|
+
gr as DetailedProductsSection,
|
|
127
|
+
V as DetailsView,
|
|
112
128
|
Ge as DoubleRangeSlider,
|
|
113
|
-
|
|
114
|
-
|
|
129
|
+
Le as DragAndDropFile,
|
|
130
|
+
Ve as DragDropFiles,
|
|
115
131
|
ko as Drawer,
|
|
116
132
|
Re as Dropdown,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
133
|
+
Wo as DropdownItem,
|
|
134
|
+
He as DropdownLookup,
|
|
135
|
+
yo as DropdownMenu,
|
|
120
136
|
R as EditableTable,
|
|
121
137
|
n as FileInput,
|
|
122
138
|
oo as FlexBox,
|
|
123
|
-
|
|
139
|
+
to as FlexGrid,
|
|
124
140
|
fo as FlexGridItem,
|
|
125
141
|
lo as Footer,
|
|
126
|
-
|
|
127
|
-
|
|
142
|
+
so as FormField,
|
|
143
|
+
H as FormView,
|
|
128
144
|
xo as Grid,
|
|
129
145
|
io as GridItem,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
146
|
+
So as Header,
|
|
147
|
+
we as Icon,
|
|
148
|
+
Be as IconButton,
|
|
133
149
|
U as Kanban,
|
|
134
150
|
Z as KanbanActionsToolbar,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
151
|
+
j as KanbanCard,
|
|
152
|
+
O as KanbanFooter,
|
|
153
|
+
z as KanbanHeader,
|
|
138
154
|
X as KanbanView,
|
|
139
|
-
|
|
155
|
+
Fe as Link,
|
|
156
|
+
Ir as MasonryGeneralCardsSection,
|
|
140
157
|
xr as MenuItem,
|
|
141
|
-
|
|
158
|
+
Jo as Modal,
|
|
142
159
|
Ue as MultiSelectDropdown,
|
|
143
|
-
|
|
144
|
-
|
|
160
|
+
je as MultiSelectDropdownLookup,
|
|
161
|
+
Eo as NestedDropdownItem,
|
|
145
162
|
ir as NestedMenuItem,
|
|
146
163
|
de as Notification,
|
|
147
164
|
ue as NotificationContainer,
|
|
148
|
-
|
|
165
|
+
me as NotificationMessage,
|
|
149
166
|
c as NumberInput,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
167
|
+
Io as PageLayout,
|
|
168
|
+
Qo as Pagination,
|
|
169
|
+
D as PasswordInput,
|
|
153
170
|
Yo as Popover,
|
|
154
171
|
_o as PopoverClose,
|
|
155
172
|
rr as PopoverContent,
|
|
156
173
|
pr as PopoverDescription,
|
|
157
174
|
er as PopoverHeading,
|
|
158
|
-
|
|
175
|
+
ar as PopoverTrigger,
|
|
176
|
+
Tr as ProductsWithBannerSection,
|
|
159
177
|
ne as ProgressBar,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
178
|
+
ze as RadioGroup,
|
|
179
|
+
b as RadioInput,
|
|
180
|
+
w as RangeSlider,
|
|
181
|
+
Oe as SearchBar,
|
|
182
|
+
qo as Separator,
|
|
183
|
+
go as Sidebar,
|
|
184
|
+
Pr as SimpleProductsSection,
|
|
166
185
|
ce as Spinner,
|
|
167
|
-
|
|
186
|
+
Me as Surface,
|
|
168
187
|
lr as SwipeableDrawer,
|
|
169
188
|
Po as TabItem,
|
|
170
189
|
$ as Table,
|
|
171
190
|
oe as TableView,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
191
|
+
To as Tabs,
|
|
192
|
+
B as TextAreaInput,
|
|
193
|
+
F as TextInput,
|
|
194
|
+
yr as ThemeProvider,
|
|
195
|
+
M as TimeInput,
|
|
177
196
|
Xe as Toggle,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
197
|
+
sr as TreeMenu,
|
|
198
|
+
Sr as TreeMenuSeparator,
|
|
199
|
+
he as UploadedFile,
|
|
200
|
+
Cr as UrgentSaleProductsSection,
|
|
201
|
+
Ur as components,
|
|
182
202
|
d as registerLocale,
|
|
183
|
-
|
|
203
|
+
Hr as useTheme
|
|
184
204
|
};
|
package/dist/index10.cjs
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),w=require("react"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),y=require("./consts-dNz9tpt4.cjs"),v=require("./useDetectMobile-rBe0FiP2.cjs"),c=require("./utils-CE6bljYe.cjs"),k=require("./index-C2M7QHPq.cjs"),j=g.newStyled.div`
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-columns: repeat(6, 1fr);
|
|
4
|
+
gap: 1.25rem;
|
|
5
|
+
|
|
6
|
+
& .text-block-v1 {
|
|
7
|
+
grid-column: 1 / 4;
|
|
8
|
+
max-width: 27rem;
|
|
9
|
+
margin: auto;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@media (max-width: ${y.MOBILE_SIZE_PX+"px"}) {
|
|
13
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14
|
+
|
|
15
|
+
& .text-block-v1 {
|
|
16
|
+
grid-column: 1 / 3;
|
|
17
|
+
max-width: unset;
|
|
18
|
+
margin: unset;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
& .simple-product-card {
|
|
22
|
+
max-width: unset;
|
|
23
|
+
min-width: unset;
|
|
24
|
+
width: unset;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
& .img-wrapper {
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
`;g.newStyled.div`
|
|
32
|
+
background-color: var(--gray-200, #dddfe4);
|
|
33
|
+
border-radius: 0.75rem;
|
|
34
|
+
min-width: 11.625rem;
|
|
35
|
+
min-height: 11.625rem;
|
|
36
|
+
max-width: 11.625rem;
|
|
37
|
+
max-height: 11.625rem;
|
|
38
|
+
${c.linearGradientAnimation("-90deg")}
|
|
39
|
+
`;const S=g.newStyled.div`
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
justify-content: end;
|
|
43
|
+
position: relative;
|
|
44
|
+
border-radius: 0.75rem;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
background: linear-gradient(
|
|
48
|
+
178deg,
|
|
49
|
+
rgba(0, 0, 0, 0) 1.5%,
|
|
50
|
+
rgba(0, 0, 0, 0.16) 8.95%,
|
|
51
|
+
#000 98.39%
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
& .text-block {
|
|
55
|
+
padding: 0.75rem;
|
|
56
|
+
z-index: 1;
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
gap: 0.5rem;
|
|
60
|
+
position: absolute;
|
|
61
|
+
bottom: 0rem;
|
|
62
|
+
left: 0rem;
|
|
63
|
+
}
|
|
64
|
+
& .img-wrapper {
|
|
65
|
+
position: absolute;
|
|
66
|
+
top: 0;
|
|
67
|
+
left: 0;
|
|
68
|
+
z-index: 0;
|
|
69
|
+
background: linear-gradient(
|
|
70
|
+
178deg,
|
|
71
|
+
rgba(0, 0, 0, 0) 1.5%,
|
|
72
|
+
rgba(0, 0, 0, 0.16) 8.95%,
|
|
73
|
+
#000 98.39%
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
& img {
|
|
78
|
+
width: 100%;
|
|
79
|
+
aspect-ratio: 1 / 1; /* defining the aspect ratio of the image */
|
|
80
|
+
object-fit: cover; /* making sure the image isn't distorted */
|
|
81
|
+
border-radius: 0.75rem;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
& .fallback-image {
|
|
85
|
+
mix-blend-mode: multiply;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
font-size: 0.875rem;
|
|
89
|
+
font-weight: 500;
|
|
90
|
+
& .price-chip {
|
|
91
|
+
font-size: 0.75rem;
|
|
92
|
+
font-weight: 500;
|
|
93
|
+
padding: 0 0.38rem;
|
|
94
|
+
min-height: 1.25rem;
|
|
95
|
+
max-height: 1.25rem;
|
|
96
|
+
width: fit-content;
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
border-radius: 62.4375rem;
|
|
101
|
+
z-index: 1;
|
|
102
|
+
background-color: var(--white, #fff);
|
|
103
|
+
color: var(--gray-950, #14161A);
|
|
104
|
+
}
|
|
105
|
+
& .title-simple-product-card {
|
|
106
|
+
z-index: 1;
|
|
107
|
+
color: var(--white, #fff);
|
|
108
|
+
transition: all 0.2s ease;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&:hover {
|
|
112
|
+
& .title-simple-product-card {
|
|
113
|
+
z-index: 1;
|
|
114
|
+
color: var(--primary-500, #F59E0B);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
`,h=w.forwardRef((s,f)=>{const{uuid:b,title:l,price:d,currency:a,isNegotiable:m,isFree:r,image:u,sellerUuid:t,onSelectCard:p=()=>{},imageComponent:n,negotiableText:e="Negotiable",freeText:o="Free"}=s;return i.jsxs(S,{className:"simple-product-card",onClick:p,children:[c.isDefined(n)?n:i.jsx("img",{src:u}),i.jsxs("div",{className:"text-block",children:[i.jsx("div",{className:"title-simple-product-card",children:l}),i.jsxs("div",{className:"price-chip",children:[d&&a&&`${c.formatPrice(d)} ${c.GetCurrencySymbol(a)}`,m&&e,r&&o]})]})]})}),q=w.forwardRef((s,f)=>{var n;const{title:b,subtitle:l,description:d,buttonText:a,buttonLink:m,items:r,onButtonAction:u=()=>{},onSelectCard:t=()=>{}}=s,p=v.useDetectMobile();return i.jsxs(j,{ref:f,limit:6,children:[i.jsx(k.TextBlockV1,{subtitle:l,title:b,description:d,buttonText:a,buttonLink:m,onButtonAction:u,className:"text-block-v1"}),p===!0?(n=r==null?void 0:r.slice(0,4))==null?void 0:n.map((e,o)=>i.jsx(h,{title:e==null?void 0:e.title,price:e==null?void 0:e.price,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:()=>t==null?void 0:t(e==null?void 0:e.uuid)},o)):r==null?void 0:r.map((e,o)=>i.jsx(h,{title:e==null?void 0:e.title,price:e==null?void 0:e.price,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:()=>t==null?void 0:t(e==null?void 0:e.uuid)},o))]})});module.exports=q;
|