@lanaco/lnc-react-ui 4.0.194 → 4.0.196
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.js +1 -1
- package/dist/AccordionSummary.js +1 -1
- package/dist/ActionsToolbar.js +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Badge.js +1 -1
- package/dist/BannerNextSection.cjs +104 -0
- package/dist/BannerNextSection.js +148 -0
- package/dist/BannerSectionCarousel.js +1 -1
- package/dist/BannerSectionSimple.js +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BlogCardsSponsoredSection.js +4 -4
- package/dist/BlogCategoryCardsSection.js +1 -1
- package/dist/BlogExploreSection.js +2 -2
- package/dist/BlogListSection.js +4 -4
- package/dist/BlogProductCardsSection.js +1 -1
- package/dist/BlogShopCardsSection.js +1 -1
- package/dist/BlogSingleSection.js +2 -2
- package/dist/BlogsSectionDetailed.js +4 -4
- package/dist/BlogsSectionLarge.js +7 -7
- package/dist/BlogsSectionSimple.js +4 -4
- package/dist/BlogsSectionSimpleCentered.js +6 -6
- package/dist/BlogsSectionWithFilters.js +5 -5
- package/dist/BrandHitsSection.js +2 -2
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- package/dist/{CategorySimpleCard-CEzArySG.js → CategorySimpleCard-Em84kZzQ.js} +4 -4
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.js +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/CustomLoanMapSection.js +1 -1
- package/dist/{CustomStyles-6WboE3g5.js → CustomStyles-DtWxboEM.js} +1 -1
- package/dist/DateInput.js +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +4 -4
- package/dist/DetailedProductsInfinitiveSection.js +74 -103
- package/dist/DetailedProductsSection.cjs +13 -4
- package/dist/DetailedProductsSection.js +104 -80
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.js +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.js +1 -1
- package/dist/DropdownMenu.js +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/FeedbackSection.js +1 -1
- package/dist/FieldOfInterestsMasonrySection.js +2 -2
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +15 -15
- package/dist/FieldOfInterestsWithTagsCardsSection.js +2 -2
- package/dist/FileInput.js +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.js +1 -1
- package/dist/GeneralWithTagsCardsSection.js +2 -2
- package/dist/GiftCardsSection.js +3 -3
- package/dist/Icon.js +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/Kanban.js +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/KanbanView.js +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.js +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.js +2 -2
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.js +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- package/dist/NestedDropdownItem.js +1 -1
- package/dist/NestedMenuItem.js +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.js +1 -1
- package/dist/OverlayGeneralCardsSection.js +1 -1
- package/dist/PasswordInput.js +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.js +4 -4
- package/dist/ProgressBar.js +1 -1
- package/dist/QuattroCardsSection.js +2 -2
- package/dist/QuizSection.js +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.js +3 -3
- package/dist/SalesCampaignsSection.js +2 -2
- package/dist/Separator.js +1 -1
- package/dist/ShopCardsSection.js +3 -3
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.js +13 -13
- package/dist/SimpleProductsSection.js +2 -2
- package/dist/Spinner.js +1 -1
- package/dist/StatsSection.js +1 -1
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.js +1 -1
- package/dist/TableView.js +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.js +1 -1
- package/dist/TimeInput.js +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +2 -2
- package/dist/UrgentSaleProductsSection.js +17 -15
- package/dist/index-4wvppFLx.js +38 -0
- package/dist/{index-C_NnINik.js → index-B22BZVBG.js} +1 -1
- package/dist/{index-DqBXIFsQ.js → index-BASX-BjS.js} +214 -211
- package/dist/{index-BSpdEGFd.js → index-BC2PHcI1.js} +1 -1
- package/dist/{index-BovNbKxB.js → index-CBMsUFkS.js} +1 -1
- package/dist/{index-Lmz3An4A.cjs → index-CS4w87SW.cjs} +14 -14
- package/dist/{index-BGiZlEQt.js → index-CWALXP1T.js} +1 -1
- package/dist/{index-DMHtIdm-.js → index-Cm414y95.js} +2 -2
- package/dist/{index-9inVkeN6.js → index-D-86mDtn.js} +2 -2
- package/dist/{index-DxwIu0Wn.js → index-TIqKd2Dv.js} +1 -1
- package/dist/{index-8quQ_PZS.js → index-bihqNqQk.js} +1 -1
- package/dist/index-oYE1Pl7q.cjs +1 -0
- package/dist/{index-BB63Jo6p.js → index-u_XFwsvc.js} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +7 -5
- package/dist/{style-CXMUA6cI.js → style-BwQ4djFC.js} +3 -3
- package/dist/{style-C7FUSHmS.js → style-Cmlod7oq.js} +1 -1
- package/dist/{utils-Dc5zIpaz.js → utils-DtEfC-TX.js} +3 -3
- package/package.json +3 -2
- package/vite.config.js +64 -60
package/dist/Link.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as d } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as h } from "react";
|
|
3
3
|
import { P as o } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { c as y, b as t } from "./utils-
|
|
5
|
+
import { c as y, b as t } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { u } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const g = f.a`
|
|
8
8
|
${(e) => y(
|
|
@@ -2,7 +2,7 @@ import { jsxs as e, jsx as A, Fragment as T } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as K, useState as y, useRef as J } from "react";
|
|
3
3
|
import { s as i } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as k } from "./consts-BuFChS64.js";
|
|
5
|
-
import { t as m } from "./utils-
|
|
5
|
+
import { t as m } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { u as _ } from "./useDetectMobile-Bkvj0VMa.js";
|
|
7
7
|
import Z from "./Button.js";
|
|
8
8
|
import $ from "./Modal.js";
|
|
@@ -2,7 +2,7 @@ import { jsxs as t, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as w, Fragment as S } from "react";
|
|
3
3
|
import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as p } from "./consts-BuFChS64.js";
|
|
5
|
-
import { S as N } from "./index-
|
|
5
|
+
import { S as N } from "./index-CWALXP1T.js";
|
|
6
6
|
const C = l.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
@@ -2,10 +2,10 @@ import { jsx as r, Fragment as $, jsxs as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as v, Suspense as N } from "react";
|
|
3
3
|
import C from "./Button.js";
|
|
4
4
|
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { w as d,
|
|
5
|
+
import { w as d, m as _, k as w } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { M as m } from "./consts-BuFChS64.js";
|
|
7
7
|
import { u as G } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
|
-
import {
|
|
8
|
+
import { S as f, b, a as l } from "./style-BwQ4djFC.js";
|
|
9
9
|
const z = s.a`
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
display: flex;
|
package/dist/MenuItem.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as J, useRef as Q, useState as W, useEffect as X } from "rea
|
|
|
3
3
|
import { P as o } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as Z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import v from "./Icon.js";
|
|
6
|
-
import { b as i, c as I, h as w } from "./utils-
|
|
6
|
+
import { b as i, c as I, h as w } from "./utils-DtEfC-TX.js";
|
|
7
7
|
import { u as ee } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const ne = Z.div`
|
|
9
9
|
box-sizing: border-box;
|
package/dist/Modal.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as z, useRef as V, useState as q, useImperativeHandle as J,
|
|
|
3
3
|
import { P as o } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import P from "./Icon.js";
|
|
6
|
-
import { b as w } from "./utils-
|
|
6
|
+
import { b as w } from "./utils-DtEfC-TX.js";
|
|
7
7
|
import { r as Q } from "./index-B1vKwsDE.js";
|
|
8
8
|
import { m as M } from "./motion-Ckekul_K.js";
|
|
9
9
|
import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { P as e } from "./index-CblbdqjE.js";
|
|
3
3
|
import { forwardRef as y, useCallback as h } from "react";
|
|
4
|
-
import { a as M } from "./CustomStyles-
|
|
4
|
+
import { a as M } from "./CustomStyles-DtWxboEM.js";
|
|
5
5
|
import { d as S } from "./index-Dt62UGku.js";
|
|
6
6
|
import C from "./Dropdown.js";
|
|
7
7
|
import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as y } from "react/jsx-runtime";
|
|
2
2
|
import { P as e } from "./index-CblbdqjE.js";
|
|
3
3
|
import { forwardRef as g, useCallback as h } from "react";
|
|
4
|
-
import { a as M } from "./CustomStyles-
|
|
4
|
+
import { a as M } from "./CustomStyles-DtWxboEM.js";
|
|
5
5
|
import { d as S } from "./index-Dt62UGku.js";
|
|
6
6
|
import C from "./DropdownLookup.js";
|
|
7
7
|
import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -2,7 +2,7 @@ import { jsxs as S, Fragment as p, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as w, useState as x, cloneElement as l, Children as P, isValidElement as O } from "react";
|
|
3
3
|
import { P as t } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { b as D } from "./utils-
|
|
5
|
+
import { b as D } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { m as j } from "./motion-Ckekul_K.js";
|
|
7
7
|
import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
import { A as C } from "./index-D-c5IxDk.js";
|
package/dist/NestedMenuItem.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as O, Fragment as l, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as P, useState as h, cloneElement as u, Children as w, isValidElement as z } from "react";
|
|
3
3
|
import { P as t } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { b as j } from "./utils-
|
|
5
|
+
import { b as j } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { m as D } from "./motion-Ckekul_K.js";
|
|
7
7
|
import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
import { A as C } from "./index-D-c5IxDk.js";
|
|
@@ -3,7 +3,7 @@ import { forwardRef as O } from "react";
|
|
|
3
3
|
import { P as t } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as _ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { T as v } from "./react-toastify.esm-BLQznunb.js";
|
|
6
|
-
import { b as e, a as C } from "./utils-
|
|
6
|
+
import { b as e, a as C } from "./utils-DtEfC-TX.js";
|
|
7
7
|
import { useTheme as $ } from "./ThemeProvider.js";
|
|
8
8
|
const P = _.div`
|
|
9
9
|
& .lnc-notification {
|
|
@@ -3,7 +3,7 @@ import { forwardRef as N } from "react";
|
|
|
3
3
|
import { P as i } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as v } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import w from "./Icon.js";
|
|
6
|
-
import { c as $, b as s, g as B } from "./utils-
|
|
6
|
+
import { c as $, b as s, g as B } from "./utils-DtEfC-TX.js";
|
|
7
7
|
import P from "./Avatar.js";
|
|
8
8
|
import { u as z } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
const T = v.div`
|
package/dist/NumberInput.js
CHANGED
|
@@ -3,7 +3,7 @@ import { P as t } from "./index-CblbdqjE.js";
|
|
|
3
3
|
import { forwardRef as H, useRef as J, useState as D, useEffect as L, useCallback as Q } from "react";
|
|
4
4
|
import { d as Y } from "./index-Dt62UGku.js";
|
|
5
5
|
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
|
-
import { d as s, b as l, a as Z, e as v, h as F, c as ee } from "./utils-
|
|
6
|
+
import { d as s, b as l, a as Z, e as v, h as F, c as ee } from "./utils-DtEfC-TX.js";
|
|
7
7
|
import { u as ae } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const te = m.div`
|
|
9
9
|
display: flex;
|
|
@@ -3,7 +3,7 @@ import { forwardRef as g } from "react";
|
|
|
3
3
|
import u from "./Button.js";
|
|
4
4
|
import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { M as _ } from "./consts-BuFChS64.js";
|
|
6
|
-
import { S as x } from "./index-
|
|
6
|
+
import { S as x } from "./index-CBMsUFkS.js";
|
|
7
7
|
const p = h.a`
|
|
8
8
|
text-decoration: none;
|
|
9
9
|
color: var(--gray-950);
|
package/dist/PasswordInput.js
CHANGED
|
@@ -4,7 +4,7 @@ import { P as n } from "./index-CblbdqjE.js";
|
|
|
4
4
|
import { d as J } from "./index-Dt62UGku.js";
|
|
5
5
|
import K from "./Icon.js";
|
|
6
6
|
import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
|
-
import { d as f, b as r, a as M, e as Q, h as w, c as X } from "./utils-
|
|
7
|
+
import { d as f, b as r, a as M, e as Q, h as w, c as X } from "./utils-DtEfC-TX.js";
|
|
8
8
|
import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
const Z = h.div`
|
|
10
10
|
display: flex;
|
package/dist/PopoverContent.js
CHANGED
|
@@ -4,7 +4,7 @@ import { a as f, F as u, b as g } from "./floating-ui.react.esm-CfpRzwmn.js";
|
|
|
4
4
|
import { P as n } from "./index-CblbdqjE.js";
|
|
5
5
|
import h from "./PopoverContext.js";
|
|
6
6
|
import { s as x } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
|
-
import { g as y, a as P, b as v } from "./utils-
|
|
7
|
+
import { g as y, a as P, b as v } from "./utils-DtEfC-TX.js";
|
|
8
8
|
import { m as w } from "./motion-Ckekul_K.js";
|
|
9
9
|
import { u as C } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
10
10
|
const F = x(w.div)`
|
|
@@ -3,10 +3,10 @@ import { forwardRef as W, useRef as N, Suspense as U, memo as G, useMemo as M }
|
|
|
3
3
|
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as R } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as _ } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
-
import { R as j } from "./style-
|
|
7
|
-
import {
|
|
8
|
-
import { P as L } from "./index-
|
|
9
|
-
import {
|
|
6
|
+
import { R as j } from "./style-Cmlod7oq.js";
|
|
7
|
+
import { m as B, l as I, k as C } from "./utils-DtEfC-TX.js";
|
|
8
|
+
import { P as L } from "./index-B22BZVBG.js";
|
|
9
|
+
import { b as s, a as i, S as u, c as b } from "./style-BwQ4djFC.js";
|
|
10
10
|
const y = f.div`
|
|
11
11
|
width: 100%;
|
|
12
12
|
height: 22.5rem;
|
package/dist/ProgressBar.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as h } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as f, isValidElement as P, cloneElement as y } from "react";
|
|
3
3
|
import { P as r } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as t } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { b as n, c as x } from "./utils-
|
|
5
|
+
import { b as n, c as x } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const w = t.div`
|
|
8
8
|
width: 100%;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as m, memo as h, useMemo as u } from "react";
|
|
3
|
-
import { t as _,
|
|
3
|
+
import { t as _, m as b, k as w } from "./utils-DtEfC-TX.js";
|
|
4
4
|
import { s as p } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { M as g } from "./consts-BuFChS64.js";
|
|
6
6
|
import { u as y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
import { q as v } from "./styled-components.browser.esm-D-n22PJk.js";
|
|
8
|
-
import { S as q } from "./index-
|
|
8
|
+
import { S as q } from "./index-BC2PHcI1.js";
|
|
9
9
|
const k = p.div`
|
|
10
10
|
position: absolute;
|
|
11
11
|
top: 0;
|
package/dist/QuizSection.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as I, useState as w, useRef as B, useEffect as re } from "react";
|
|
3
|
-
import { x as ae, k as te, l as G, s as ie } from "./utils-
|
|
3
|
+
import { x as ae, k as te, l as G, s as ie } from "./utils-DtEfC-TX.js";
|
|
4
4
|
import z from "./Button.js";
|
|
5
5
|
import { s as E } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
6
|
import { M as U, C as H, a as P } from "./consts-BuFChS64.js";
|
package/dist/RadioInput.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as b, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as P, useState as j } from "react";
|
|
3
3
|
import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { P as i } from "./index-CblbdqjE.js";
|
|
5
|
-
import { d as f, c as N, e as T, b as t } from "./utils-
|
|
5
|
+
import { d as f, c as N, e as T, b as t } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { u as F } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const I = (e) => e == "left" ? "row-reverse" : "row", D = g.label`
|
|
8
8
|
min-height: ${(e) => f(e.theme, e.size)};
|
package/dist/RangeSlider.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as N, jsx as t, Fragment as W } from "react/jsx-runtime";
|
|
|
2
2
|
import { s as x } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
3
3
|
import { P as n } from "./index-CblbdqjE.js";
|
|
4
4
|
import { forwardRef as X, useRef as q, useState as v, useCallback as A, useEffect as M } from "react";
|
|
5
|
-
import { a as D, b as o, c as G, d as H } from "./utils-
|
|
5
|
+
import { a as D, b as o, c as G, d as H } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { u as J } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
import { u as K } from "./useUpdateEffect-CuYWz7EA.js";
|
|
8
8
|
const Q = ({ theme: e, size: i }) => {
|
package/dist/ReviewsSection.js
CHANGED
|
@@ -3,11 +3,11 @@ import { forwardRef as v, Suspense as N, memo as z, useMemo as P } from "react";
|
|
|
3
3
|
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as $ } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as M } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
-
import { t as I,
|
|
6
|
+
import { t as I, m as L, b as W, g as j } from "./utils-DtEfC-TX.js";
|
|
7
7
|
import { useTheme as x } from "./ThemeProvider.js";
|
|
8
8
|
import { P as d } from "./index-CblbdqjE.js";
|
|
9
|
-
import { P as E } from "./index-
|
|
10
|
-
import { s as T,
|
|
9
|
+
import { P as E } from "./index-B22BZVBG.js";
|
|
10
|
+
import { s as T, S as G, b as f, c as w, a as o } from "./style-BwQ4djFC.js";
|
|
11
11
|
const F = s.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n, jsxs as s, Fragment as Oe } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as j, useRef as $e, useEffect as oe, Fragment as je, createElement as Re, useState as te, Suspense as Be, memo as We, useMemo as Fe } from "react";
|
|
3
3
|
import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { a as ie, k as ae, l as Ge, z as Ve, A as Ae, B as He, C as ue } from "./utils-
|
|
4
|
+
import { a as ie, k as ae, l as Ge, z as Ve, A as Ae, B as He, C as ue } from "./utils-DtEfC-TX.js";
|
|
5
5
|
import { M as U } from "./consts-BuFChS64.js";
|
|
6
6
|
import _e from "./Icon.js";
|
|
7
7
|
import { D as fe } from "./ShopAvatar-4-fCYGEc.js";
|
|
@@ -12,7 +12,7 @@ import xe from "./IconButton.js";
|
|
|
12
12
|
import { u as ke } from "./useDetectMobile-Bkvj0VMa.js";
|
|
13
13
|
import { I as qe } from "./index-C0LcDEqa.js";
|
|
14
14
|
import { m as Xe } from "./motion-Ckekul_K.js";
|
|
15
|
-
import {
|
|
15
|
+
import { S as O, c as be, b as ve, a as w, d as we } from "./style-BwQ4djFC.js";
|
|
16
16
|
const Ye = y.a`
|
|
17
17
|
text-decoration: none;
|
|
18
18
|
color: var(--gray-950);
|
package/dist/Separator.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as p } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as l } from "react";
|
|
3
3
|
import { P as e } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as i } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { b as n } from "./utils-
|
|
5
|
+
import { b as n } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { u as c } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const f = i.div`
|
|
8
8
|
height: 1px;
|
package/dist/ShopCardsSection.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as l, jsx as r, Fragment as N } from "react/jsx-runtime";
|
|
2
2
|
import { Suspense as R, forwardRef as M } from "react";
|
|
3
3
|
import h from "./Button.js";
|
|
4
|
-
import { S as j } from "./index-
|
|
5
|
-
import { k as z } from "./utils-
|
|
4
|
+
import { S as j } from "./index-D-86mDtn.js";
|
|
5
|
+
import { k as z } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { s as u } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
7
|
import { M as g } from "./consts-BuFChS64.js";
|
|
8
|
-
import {
|
|
8
|
+
import { S as E, a as s } from "./style-BwQ4djFC.js";
|
|
9
9
|
const I = u.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
package/dist/Sidebar.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as S, useState as x, useEffect as C } from "react";
|
|
|
3
3
|
import { P as o } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import y from "./Icon.js";
|
|
6
|
-
import { u as $ } from "./utils-
|
|
6
|
+
import { u as $ } from "./utils-DtEfC-TX.js";
|
|
7
7
|
import { u as _ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const v = l.aside`
|
|
9
9
|
direction: ${(e) => e.placement == "right" ? "rtl" : "ltr"};
|
|
@@ -3,11 +3,11 @@ import { Suspense as M, memo as R, forwardRef as E, useMemo as I } from "react";
|
|
|
3
3
|
import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as k } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as L } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
-
import { k as c } from "./utils-
|
|
7
|
-
import { R as W } from "./style-
|
|
6
|
+
import { k as c } from "./utils-DtEfC-TX.js";
|
|
7
|
+
import { R as W } from "./style-Cmlod7oq.js";
|
|
8
8
|
import B from "./Button.js";
|
|
9
|
-
import { C as T } from "./CategorySimpleCard-
|
|
10
|
-
import {
|
|
9
|
+
import { C as T } from "./CategorySimpleCard-Em84kZzQ.js";
|
|
10
|
+
import { b as j, S as p, c as o } from "./style-BwQ4djFC.js";
|
|
11
11
|
const y = C.div`
|
|
12
12
|
display: grid;
|
|
13
13
|
grid-template-columns: ${(r) => "repeat(6, minmax(0, 1fr))"};
|
|
@@ -70,36 +70,36 @@ const y = C.div`
|
|
|
70
70
|
limit: g = 12,
|
|
71
71
|
onButtonAction: v = () => {
|
|
72
72
|
},
|
|
73
|
-
onSelectCard:
|
|
73
|
+
onSelectCard: n = () => {
|
|
74
74
|
},
|
|
75
75
|
isLoading: S = !1,
|
|
76
76
|
getImage: b = () => {
|
|
77
77
|
},
|
|
78
78
|
LinkComponent: $
|
|
79
|
-
} = r, _ = L(), N = I(() => /* @__PURE__ */ t(w, { children: _ === !0 ? i == null ? void 0 : i.map((e,
|
|
79
|
+
} = r, _ = L(), N = I(() => /* @__PURE__ */ t(w, { children: _ === !0 ? i == null ? void 0 : i.map((e, a) => /* @__PURE__ */ t(
|
|
80
80
|
f,
|
|
81
81
|
{
|
|
82
82
|
uuid: e == null ? void 0 : e.uuid,
|
|
83
83
|
image: b(e == null ? void 0 : e.image) || null,
|
|
84
84
|
name: e == null ? void 0 : e.name,
|
|
85
85
|
code: e == null ? void 0 : e.code,
|
|
86
|
-
onSelectCard: () =>
|
|
86
|
+
onSelectCard: () => n == null ? void 0 : n(e == null ? void 0 : e.uuid),
|
|
87
87
|
LinkComponent: $,
|
|
88
88
|
...e
|
|
89
89
|
},
|
|
90
|
-
|
|
91
|
-
)) : i == null ? void 0 : i.slice(0, g).map((e,
|
|
90
|
+
a
|
|
91
|
+
)) : i == null ? void 0 : i.slice(0, g).map((e, a) => /* @__PURE__ */ t(
|
|
92
92
|
f,
|
|
93
93
|
{
|
|
94
94
|
uuid: e == null ? void 0 : e.uuid,
|
|
95
95
|
image: b(e == null ? void 0 : e.image) || null,
|
|
96
96
|
name: e == null ? void 0 : e.name,
|
|
97
97
|
code: e == null ? void 0 : e.code,
|
|
98
|
-
onSelectCard: () =>
|
|
98
|
+
onSelectCard: () => n == null ? void 0 : n(e == null ? void 0 : e.uuid),
|
|
99
99
|
LinkComponent: $,
|
|
100
100
|
...e
|
|
101
101
|
},
|
|
102
|
-
|
|
102
|
+
a
|
|
103
103
|
)) }), [i]);
|
|
104
104
|
return /* @__PURE__ */ l(W, { ref: s, children: [
|
|
105
105
|
/* @__PURE__ */ l("div", { className: "regular-title", children: [
|
|
@@ -114,8 +114,8 @@ const y = C.div`
|
|
|
114
114
|
btnType: "tinted",
|
|
115
115
|
color: "neutral",
|
|
116
116
|
onClick: (e) => {
|
|
117
|
-
var
|
|
118
|
-
(
|
|
117
|
+
var a;
|
|
118
|
+
(a = e == null ? void 0 : e.target) == null || a.blur(), v(u);
|
|
119
119
|
},
|
|
120
120
|
borderRadius: "curved",
|
|
121
121
|
className: "button-link",
|
|
@@ -3,9 +3,9 @@ import { Suspense as T, memo as B, forwardRef as I, useMemo as W } from "react";
|
|
|
3
3
|
import { s as _ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as k } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as j } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
-
import { S as z } from "./index-
|
|
6
|
+
import { S as z } from "./index-u_XFwsvc.js";
|
|
7
7
|
import { T as E } from "./index-DK8dqEUQ.js";
|
|
8
|
-
import {
|
|
8
|
+
import { b as R, S as $, a as q, c as i } from "./style-BwQ4djFC.js";
|
|
9
9
|
const A = _.div`
|
|
10
10
|
display: grid;
|
|
11
11
|
grid-template-columns: repeat(6, 1fr);
|
package/dist/Spinner.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { P as i } from "./index-CblbdqjE.js";
|
|
3
3
|
import { s as o } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { k as p } from "./emotion-react.browser.esm-DUVZ5oEL.js";
|
|
5
|
-
import { c as g, b as n } from "./utils-
|
|
5
|
+
import { c as g, b as n } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { u as h } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const u = {
|
|
8
8
|
small: "0.6rem",
|
package/dist/StatsSection.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as s } from "react";
|
|
|
3
3
|
import { P as o } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { M as l } from "./consts-BuFChS64.js";
|
|
6
|
-
import {
|
|
6
|
+
import { m } from "./utils-DtEfC-TX.js";
|
|
7
7
|
const g = c.div`
|
|
8
8
|
display: flex;
|
|
9
9
|
justify-content: center;
|
package/dist/Surface.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { s as x } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
3
3
|
import { P as r } from "./index-CblbdqjE.js";
|
|
4
|
-
import { j as u, a as f } from "./utils-
|
|
4
|
+
import { j as u, a as f } from "./utils-DtEfC-TX.js";
|
|
5
5
|
import { u as p } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const g = x.div`
|
|
7
7
|
padding: ${(e) => e.padding};
|
package/dist/SwipeableDrawer.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as g, Fragment as V } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as q, useRef as A, useState as B, useImperativeHandle as G, useEffect as J } from "react";
|
|
3
3
|
import { P as t } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { b as w, c as K } from "./utils-
|
|
5
|
+
import { b as w, c as K } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { u as Q } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const R = (e, o, r, u, s) => {
|
|
8
8
|
if (e === "right" || e === "left" || o && r) return "height: 100%;";
|
package/dist/TabItem.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as j } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as D, useState as H } from "react";
|
|
3
3
|
import { P as t } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { h as A, c as F, b as i, a as o } from "./utils-
|
|
5
|
+
import { h as A, c as F, b as i, a as o } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { u as K } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
import { u as h } from "./useUpdateEffect-CuYWz7EA.js";
|
|
8
8
|
const S = (e) => e == "small" ? "3.125rem" : e == "medium" ? "3.375rem" : "3.625rem", V = I.div`
|
package/dist/Table.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as b, jsxs as fe, Fragment as P } from "react/jsx-runtime";
|
|
|
2
2
|
import { useLayoutEffect as Kr, useEffect as $e, useState as Pt, useMemo as Xr, createElement as k, isValidElement as qr, forwardRef as Jr, useImperativeHandle as Zr } from "react";
|
|
3
3
|
import { s as v } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { P as o } from "./index-CblbdqjE.js";
|
|
5
|
-
import { E as Nt, F as Qr, b as S, c as De, H as Bt, u as en, I as K, r as j, i as $ } from "./utils-
|
|
5
|
+
import { E as Nt, F as Qr, b as S, c as De, H as Bt, u as en, I as K, r as j, i as $ } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { c as G, g as ke } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
7
7
|
import { u as U } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
import { i as tn } from "./index-6RFrSPs_.js";
|
package/dist/TableView.js
CHANGED
|
@@ -4,7 +4,7 @@ import { P as e } from "./index-CblbdqjE.js";
|
|
|
4
4
|
import { s as re } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import ae from "./ActionsToolbar.js";
|
|
6
6
|
import ie from "./Pagination.js";
|
|
7
|
-
import { r as g, i as w } from "./utils-
|
|
7
|
+
import { r as g, i as w } from "./utils-DtEfC-TX.js";
|
|
8
8
|
import se from "./Table.js";
|
|
9
9
|
const me = re.div`
|
|
10
10
|
& .table-view-pagination-lnc {
|
package/dist/TextAreaInput.js
CHANGED
|
@@ -4,7 +4,7 @@ import * as y from "react";
|
|
|
4
4
|
import W, { forwardRef as Y, useState as F, useEffect as E, useCallback as q } from "react";
|
|
5
5
|
import { d as D } from "./index-Dt62UGku.js";
|
|
6
6
|
import { s as X } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
|
-
import { c as Z, d as J, b as x, a as K, e as Q, h as ee } from "./utils-
|
|
7
|
+
import { c as Z, d as J, b as x, a as K, e as Q, h as ee } from "./utils-DtEfC-TX.js";
|
|
8
8
|
import { _ as te, u as re } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
import { _ as ne } from "./objectWithoutPropertiesLoose-DhwSMsjf.js";
|
|
10
10
|
import { i as ae } from "./use-isomorphic-layout-effect.browser.esm-DERp5kr6.js";
|
package/dist/TextInput.js
CHANGED
|
@@ -3,7 +3,7 @@ import { P as t } from "./index-CblbdqjE.js";
|
|
|
3
3
|
import { forwardRef as D, useRef as E, useState as V, useEffect as q, useCallback as A } from "react";
|
|
4
4
|
import { d as G } from "./index-Dt62UGku.js";
|
|
5
5
|
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
|
-
import { d as s, b as a, a as H, e as J, h as T, c as K } from "./utils-
|
|
6
|
+
import { d as s, b as a, a as H, e as J, h as T, c as K } from "./utils-DtEfC-TX.js";
|
|
7
7
|
import { u as L } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const M = m.div`
|
|
9
9
|
display: flex;
|
package/dist/ThemeProvider.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as b, jsxs as u } from "react/jsx-runtime";
|
|
2
2
|
import { createContext as g, useContext as f, useState as h, useEffect as x } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { n as $, d, b as a, o as s } from "./utils-DtEfC-TX.js";
|
|
4
4
|
import { P as i } from "./index-CblbdqjE.js";
|
|
5
5
|
import { $ as y } from "./styled-components.browser.esm-D-n22PJk.js";
|
|
6
6
|
import { b as T } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
package/dist/TimeInput.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as O, useState as k, useEffect as v, useCallback as T } from
|
|
|
3
3
|
import { s as z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { P as a } from "./index-CblbdqjE.js";
|
|
5
5
|
import { d as S } from "./index-Dt62UGku.js";
|
|
6
|
-
import { c as w, b as r, a as R, h as j, e as F, d as N } from "./utils-
|
|
6
|
+
import { c as w, b as r, a as R, h as j, e as F, d as N } from "./utils-DtEfC-TX.js";
|
|
7
7
|
import { u as P } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const U = ({ theme: e, size: n }) => {
|
|
9
9
|
var d = N(e, n);
|
package/dist/Toggle.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as P, jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as S } from "react";
|
|
3
3
|
import { P as t } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as k } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { e as j, b as i, c as f } from "./utils-
|
|
5
|
+
import { e as j, b as i, c as f } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { u as B } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const o = {
|
|
8
8
|
containerWidth: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { P as r } from "./index-CblbdqjE.js";
|
|
3
3
|
import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { b as i } from "./utils-
|
|
4
|
+
import { b as i } from "./utils-DtEfC-TX.js";
|
|
5
5
|
import { forwardRef as n } from "react";
|
|
6
6
|
import { u as c } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const f = l.div`
|
package/dist/UploadedFile.js
CHANGED
|
@@ -4,7 +4,7 @@ import { P as i } from "./index-CblbdqjE.js";
|
|
|
4
4
|
import { s as t } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import y from "./Icon.js";
|
|
6
6
|
import O from "./ProgressBar.js";
|
|
7
|
-
import { b as S, c as C } from "./utils-
|
|
7
|
+
import { b as S, c as C } from "./utils-DtEfC-TX.js";
|
|
8
8
|
import { u as R } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
const z = {
|
|
10
10
|
small: "1.5rem",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const a=require("react/jsx-runtime"),s=require("react")
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),s=require("react"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-goSZX3xP.cjs"),$=require("./useDetectMobile-zkbzoOGV.cjs"),T=require("./Button.cjs"),P=require("./index-CS4w87SW.cjs"),I=_.styled.div`
|
|
2
2
|
padding: 1.75rem 3rem;
|
|
3
3
|
display: grid;
|
|
4
4
|
grid-template-columns: ${t=>`repeat(${t.limit||5}, minmax(0, 1fr))`};
|
|
@@ -71,4 +71,4 @@
|
|
|
71
71
|
display: flex;
|
|
72
72
|
flex-direction: column;
|
|
73
73
|
}
|
|
74
|
-
`,N=s.memo(P.DetailedProductCard),B=s.forwardRef((t,j)=>{const{items:r,limit:n=5,limitMobile:l=4,onSelectCard:u=()=>{},title:q="Urgent sale",showLessText:L="Show less",showMoreText:M="Show more",isLoading:g=!1,getImage:p=()=>{},negotiableText:
|
|
74
|
+
`,N=s.memo(P.DetailedProductCard),B=s.forwardRef((t,j)=>{const{items:r,limit:n=5,limitMobile:l=4,onSelectCard:u=()=>{},title:q="Urgent sale",showLessText:L="Show less",showMoreText:M="Show more",isLoading:g=!1,getImage:p=()=>{},negotiableText:h,freeText:f,onBookmark:b=()=>{},actionComponent:k,componentName:S,sponsoredText:C,LinkComponent:y}=t,d=$.useDetectMobile(),[o,U]=s.useState(!1),F=s.useMemo(()=>{var i;return a.jsx(a.Fragment,{children:d===!0?(i=r==null?void 0:r.slice(0,o===!0?r==null?void 0:r.length:l))==null?void 0:i.map((e,m)=>a.jsx(N,{sellerName:e==null?void 0:e.sellerName,name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,categoryCode:e==null?void 0:e.categoryCode,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,sponsored:e==null?void 0:e.sponsored,onSelectCard:(v,c)=>u({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:c}),nameSlug:e==null?void 0:e.nameSlug,image:e==null?void 0:e.image,imageUrl:p(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,imageComponent:e==null?void 0:e.imageComponent,negotiableText:h,freeText:f,onBookmark:b,actionComponent:k,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{name:S,accessor:e==null?void 0:e.accessor},tags:e==null?void 0:e.tags,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,hasQuantities:e==null?void 0:e.hasQuantities,status:e==null?void 0:e.status,trade:e==null?void 0:e.trade,forCart:e==null?void 0:e.forCart,sponsoredText:C,LinkComponent:y,hasFreeShipping:e==null?void 0:e.hasFreeShipping},m)):r==null?void 0:r.slice(0,n).map((e,m)=>a.jsx(N,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,categoryCode:e==null?void 0:e.categoryCode,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,location:e==null?void 0:e.location,sponsored:e==null?void 0:e.sponsored,onSelectCard:(v,c)=>u({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:c}),nameSlug:e==null?void 0:e.nameSlug,image:e==null?void 0:e.image,imageUrl:p(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,imageComponent:e==null?void 0:e.imageComponent,negotiableText:h,freeText:f,onBookmark:b,actionComponent:k,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{name:S,accessor:e==null?void 0:e.accessor},tags:e==null?void 0:e.tags,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,hasQuantities:e==null?void 0:e.hasQuantities,status:e==null?void 0:e.status,trade:e==null?void 0:e.trade,forCart:e==null?void 0:e.forCart,sponsoredText:C,sellerName:e==null?void 0:e.sellerName,LinkComponent:y,hasFreeShipping:e==null?void 0:e.hasFreeShipping},m))})},[r,d,n,l,o]);return a.jsx(P.SuspenseDetailedProductCard,{isLoading:g,keyPrefix:"urgent-sale-products-skeleton",children:a.jsxs(I,{ref:j,limit:n,children:[a.jsxs("div",{className:"urgent-tag",children:[a.jsx("i",{className:"mng mng-lnc-bolt-filled"}),a.jsx("span",{children:q})]})," ",F," ",d===!0&&l<(r==null?void 0:r.length)&&!g&&a.jsx(T,{className:"show-more",btnType:"basic",type:"button",color:"neutral",onClick:i=>{var e;(e=i==null?void 0:i.target)==null||e.blur(),U(!o)},children:o===!0?L:M})]})})});module.exports=B;
|