@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.
Files changed (133) hide show
  1. package/dist/Accordion.js +1 -1
  2. package/dist/AccordionSummary.js +1 -1
  3. package/dist/ActionsToolbar.js +1 -1
  4. package/dist/Alert.js +1 -1
  5. package/dist/Avatar.js +1 -1
  6. package/dist/Badge.js +1 -1
  7. package/dist/BannerNextSection.cjs +104 -0
  8. package/dist/BannerNextSection.js +148 -0
  9. package/dist/BannerSectionCarousel.js +1 -1
  10. package/dist/BannerSectionSimple.js +1 -1
  11. package/dist/BannerSectionWithList.js +1 -1
  12. package/dist/BlogCardsSponsoredSection.js +4 -4
  13. package/dist/BlogCategoryCardsSection.js +1 -1
  14. package/dist/BlogExploreSection.js +2 -2
  15. package/dist/BlogListSection.js +4 -4
  16. package/dist/BlogProductCardsSection.js +1 -1
  17. package/dist/BlogShopCardsSection.js +1 -1
  18. package/dist/BlogSingleSection.js +2 -2
  19. package/dist/BlogsSectionDetailed.js +4 -4
  20. package/dist/BlogsSectionLarge.js +7 -7
  21. package/dist/BlogsSectionSimple.js +4 -4
  22. package/dist/BlogsSectionSimpleCentered.js +6 -6
  23. package/dist/BlogsSectionWithFilters.js +5 -5
  24. package/dist/BrandHitsSection.js +2 -2
  25. package/dist/Breadcrumbs.js +1 -1
  26. package/dist/Button.js +1 -1
  27. package/dist/ButtonGroup.js +1 -1
  28. package/dist/CalorieCalculatorSection.js +1 -1
  29. package/dist/{CategorySimpleCard-CEzArySG.js → CategorySimpleCard-Em84kZzQ.js} +4 -4
  30. package/dist/CheckBoxInput.js +1 -1
  31. package/dist/Chip.js +1 -1
  32. package/dist/ColorInput.js +1 -1
  33. package/dist/ConfirmationForm.js +1 -1
  34. package/dist/CustomLoanMapSection.js +1 -1
  35. package/dist/{CustomStyles-6WboE3g5.js → CustomStyles-DtWxboEM.js} +1 -1
  36. package/dist/DateInput.js +1 -1
  37. package/dist/DecimalInput.js +1 -1
  38. package/dist/DecimalInputV2.js +1 -1
  39. package/dist/DetailedProductsInfinitiveSection.cjs +4 -4
  40. package/dist/DetailedProductsInfinitiveSection.js +74 -103
  41. package/dist/DetailedProductsSection.cjs +13 -4
  42. package/dist/DetailedProductsSection.js +104 -80
  43. package/dist/DetailsView.js +1 -1
  44. package/dist/DoubleRangeSlider.js +1 -1
  45. package/dist/DragAndDropFile.js +1 -1
  46. package/dist/DragDropFiles.js +1 -1
  47. package/dist/Drawer.js +1 -1
  48. package/dist/Dropdown.js +2 -2
  49. package/dist/DropdownItem.js +1 -1
  50. package/dist/DropdownLookup.js +1 -1
  51. package/dist/DropdownMenu.js +1 -1
  52. package/dist/EditableTable.js +1 -1
  53. package/dist/FeedbackSection.js +1 -1
  54. package/dist/FieldOfInterestsMasonrySection.js +2 -2
  55. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +15 -15
  56. package/dist/FieldOfInterestsWithTagsCardsSection.js +2 -2
  57. package/dist/FileInput.js +1 -1
  58. package/dist/FlexGridItem.js +1 -1
  59. package/dist/FormField.js +1 -1
  60. package/dist/FormView.js +1 -1
  61. package/dist/GeneralWithTagsCardsSection.js +2 -2
  62. package/dist/GiftCardsSection.js +3 -3
  63. package/dist/Icon.js +1 -1
  64. package/dist/IconButton.js +1 -1
  65. package/dist/Kanban.js +1 -1
  66. package/dist/KanbanActionsToolbar.js +1 -1
  67. package/dist/KanbanView.js +1 -1
  68. package/dist/Link.js +1 -1
  69. package/dist/LoanCalculatorSection.js +1 -1
  70. package/dist/LocationFinderSection.js +1 -1
  71. package/dist/LocationSearchSection.js +1 -1
  72. package/dist/MasonryGeneralCardsSection.js +2 -2
  73. package/dist/MenuItem.js +1 -1
  74. package/dist/Modal.js +1 -1
  75. package/dist/MultiSelectDropdown.js +1 -1
  76. package/dist/MultiSelectDropdownLookup.js +1 -1
  77. package/dist/NestedDropdownItem.js +1 -1
  78. package/dist/NestedMenuItem.js +1 -1
  79. package/dist/NotificationContainer.js +1 -1
  80. package/dist/NotificationMessage.js +1 -1
  81. package/dist/NumberInput.js +1 -1
  82. package/dist/OverlayGeneralCardsSection.js +1 -1
  83. package/dist/PasswordInput.js +1 -1
  84. package/dist/PopoverContent.js +1 -1
  85. package/dist/ProductsWithBannerSection.js +4 -4
  86. package/dist/ProgressBar.js +1 -1
  87. package/dist/QuattroCardsSection.js +2 -2
  88. package/dist/QuizSection.js +1 -1
  89. package/dist/RadioInput.js +1 -1
  90. package/dist/RangeSlider.js +1 -1
  91. package/dist/ReviewsSection.js +3 -3
  92. package/dist/SalesCampaignsSection.js +2 -2
  93. package/dist/Separator.js +1 -1
  94. package/dist/ShopCardsSection.js +3 -3
  95. package/dist/Sidebar.js +1 -1
  96. package/dist/SimpleCategoriesSection.js +13 -13
  97. package/dist/SimpleProductsSection.js +2 -2
  98. package/dist/Spinner.js +1 -1
  99. package/dist/StatsSection.js +1 -1
  100. package/dist/Surface.js +1 -1
  101. package/dist/SwipeableDrawer.js +1 -1
  102. package/dist/TabItem.js +1 -1
  103. package/dist/Table.js +1 -1
  104. package/dist/TableView.js +1 -1
  105. package/dist/TextAreaInput.js +1 -1
  106. package/dist/TextInput.js +1 -1
  107. package/dist/ThemeProvider.js +1 -1
  108. package/dist/TimeInput.js +1 -1
  109. package/dist/Toggle.js +1 -1
  110. package/dist/TreeMenuSeparator.js +1 -1
  111. package/dist/UploadedFile.js +1 -1
  112. package/dist/UrgentSaleProductsSection.cjs +2 -2
  113. package/dist/UrgentSaleProductsSection.js +17 -15
  114. package/dist/index-4wvppFLx.js +38 -0
  115. package/dist/{index-C_NnINik.js → index-B22BZVBG.js} +1 -1
  116. package/dist/{index-DqBXIFsQ.js → index-BASX-BjS.js} +214 -211
  117. package/dist/{index-BSpdEGFd.js → index-BC2PHcI1.js} +1 -1
  118. package/dist/{index-BovNbKxB.js → index-CBMsUFkS.js} +1 -1
  119. package/dist/{index-Lmz3An4A.cjs → index-CS4w87SW.cjs} +14 -14
  120. package/dist/{index-BGiZlEQt.js → index-CWALXP1T.js} +1 -1
  121. package/dist/{index-DMHtIdm-.js → index-Cm414y95.js} +2 -2
  122. package/dist/{index-9inVkeN6.js → index-D-86mDtn.js} +2 -2
  123. package/dist/{index-DxwIu0Wn.js → index-TIqKd2Dv.js} +1 -1
  124. package/dist/{index-8quQ_PZS.js → index-bihqNqQk.js} +1 -1
  125. package/dist/index-oYE1Pl7q.cjs +1 -0
  126. package/dist/{index-BB63Jo6p.js → index-u_XFwsvc.js} +2 -2
  127. package/dist/index.cjs +1 -1
  128. package/dist/index.js +7 -5
  129. package/dist/{style-CXMUA6cI.js → style-BwQ4djFC.js} +3 -3
  130. package/dist/{style-C7FUSHmS.js → style-Cmlod7oq.js} +1 -1
  131. package/dist/{utils-Dc5zIpaz.js → utils-DtEfC-TX.js} +3 -3
  132. package/package.json +3 -2
  133. package/vite.config.js +64 -60
@@ -1,7 +1,7 @@
1
1
  import { jsxs as u, jsx as i, Fragment as B } from "react/jsx-runtime";
2
2
  import { forwardRef as I } from "react";
3
3
  import { s as j } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { d as k, c as L, b as t, a as N, e as x } from "./utils-Dc5zIpaz.js";
4
+ import { d as k, c as L, b as t, a as N, e as x } from "./utils-DtEfC-TX.js";
5
5
  import { u as R } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
6
  const W = (e) => e == "left" ? "row-reverse" : "row", n = (e, h) => `calc(${e.components.Checkbox.default.enabled.sizes[h]} / 2)`, F = j.label`
7
7
  -webkit-user-select: none;
package/dist/Chip.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as u, jsx as c, Fragment as N } from "react/jsx-runtime";
2
2
  import { forwardRef as j } from "react";
3
3
  import { P as a } from "./index-CblbdqjE.js";
4
4
  import { s as B } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { d as b, h as D, b as t, a as F, c as S, g as V, e as U } from "./utils-Dc5zIpaz.js";
5
+ import { d as b, h as D, b as t, a as F, c as S, g as V, e as U } from "./utils-DtEfC-TX.js";
6
6
  import W from "./Avatar.js";
7
7
  import { u as A } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  const h = (e) => {
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as p } from "react/jsx-runtime";
2
2
  import { forwardRef as q, useState as S, useCallback as G } from "react";
3
3
  import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { c as J, d as r, b as d, a as V, e as v, f as M, h as Q } from "./utils-Dc5zIpaz.js";
4
+ import { c as J, d as r, b as d, a as V, e as v, f as M, h as Q } from "./utils-DtEfC-TX.js";
5
5
  import { d as X } from "./index-Dt62UGku.js";
6
6
  import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  import { u as Z } from "./useUpdateEffect-CuYWz7EA.js";
@@ -3,7 +3,7 @@ import { forwardRef as S, cloneElement as E } from "react";
3
3
  import { P as r } from "./index-CblbdqjE.js";
4
4
  import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import m from "./Icon.js";
6
- import { b as d } from "./utils-Dc5zIpaz.js";
6
+ import { b as d } from "./utils-DtEfC-TX.js";
7
7
  import M from "./Modal.js";
8
8
  import { u as V } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
9
9
  const q = f.div`
@@ -2,7 +2,7 @@ import { jsxs as q, jsx as t } from "react/jsx-runtime";
2
2
  import { forwardRef as z } from "react";
3
3
  import { s as D } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as G } from "./consts-BuFChS64.js";
5
- import { L as J } from "./index-8quQ_PZS.js";
5
+ import { L as J } from "./index-bihqNqQk.js";
6
6
  import K from "./LoanCalculatorSection.js";
7
7
  const N = D.div`
8
8
  display: flex;
@@ -7,7 +7,7 @@ import { _ as Zt } from "./objectWithoutPropertiesLoose-DhwSMsjf.js";
7
7
  import { r as Pt } from "./index-B1vKwsDE.js";
8
8
  import { a as Ht } from "./floating-ui.dom-B931An3C.js";
9
9
  import { i as Ve } from "./use-isomorphic-layout-effect.browser.esm-DERp5kr6.js";
10
- import { b as Z, a as ue, g as Nt, d as te, m as Mt } from "./utils-Dc5zIpaz.js";
10
+ import { b as Z, a as ue, g as Nt, d as te, n as Mt } from "./utils-DtEfC-TX.js";
11
11
  function We(n, e) {
12
12
  var i = Object.keys(n);
13
13
  if (Object.getOwnPropertySymbols) {
package/dist/DateInput.js CHANGED
@@ -4,7 +4,7 @@ import m, { createElement as $a, Component as Ba, createRef as ja, forwardRef as
4
4
  import { P as J } from "./index-CblbdqjE.js";
5
5
  import Qa from "./Icon.js";
6
6
  import { s as Ka } from "./emotion-styled.browser.esm-BNN1dTl3.js";
7
- import { c as hr, b as $ } from "./utils-Dc5zIpaz.js";
7
+ import { c as hr, b as $ } from "./utils-DtEfC-TX.js";
8
8
  import { c as le } from "./index-fN7hCOo3.js";
9
9
  import { c as wt, a as Va, d as R, e as L, g as Y, _, f as I } from "./defineProperty-DF3p0mVo.js";
10
10
  import { a as x } from "./setPrototypeOf-CttqfWo1.js";
@@ -3,7 +3,7 @@ import { P as v } from "./index-CblbdqjE.js";
3
3
  import k, { forwardRef as oe, useState as ne, useCallback as se } from "react";
4
4
  import { d as fe } from "./index-Dt62UGku.js";
5
5
  import { s as G } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
- import { d as B, b as w, a as le, e as ue, h as W, c as ce } from "./utils-Dc5zIpaz.js";
6
+ import { d as B, b as w, a as le, e as ue, h as W, c as ce } from "./utils-DtEfC-TX.js";
7
7
  import { u as pe } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  function A() {
9
9
  }
@@ -2,7 +2,7 @@ import { jsxs as Y, jsx as N } from "react/jsx-runtime";
2
2
  import { P as l } from "./index-CblbdqjE.js";
3
3
  import { forwardRef as Z, useState as P, useRef as _, useEffect as v } from "react";
4
4
  import { s as O } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { d as f, b as c, a as R, e as A, h as W, c as ee } from "./utils-Dc5zIpaz.js";
5
+ import { d as f, b as c, a as R, e as A, h as W, c as ee } from "./utils-DtEfC-TX.js";
6
6
  import { u as te } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const ne = O.div`
8
8
  display: flex;
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),c=require("react"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),Q=require("./consts-goSZX3xP.cjs"),G=require("./IconButton.cjs"),W=require("./Button.cjs"),a=require("./utils-RnrgDDZP.cjs"),X=require("./useDetectMobile-zkbzoOGV.cjs"),b=require("./index-Lmz3An4A.cjs"),Z=require("./index-CSNxZFTX.cjs"),l=require("./style-BAcV7F53.cjs"),H=f.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),a=require("react"),V=require("./emotion-styled.browser.esm-BtEseadx.cjs"),K=require("./consts-goSZX3xP.cjs"),Q=require("./IconButton.cjs"),G=require("./Button.cjs"),n=require("./utils-RnrgDDZP.cjs"),X=require("./useDetectMobile-zkbzoOGV.cjs"),p=require("./index-CS4w87SW.cjs"),Z=require("./index-CSNxZFTX.cjs"),H=require("./index-oYE1Pl7q.cjs"),J=V.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: 1.5rem;
@@ -32,7 +32,7 @@
32
32
 
33
33
  & .section__items {
34
34
  display: grid;
35
- grid-template-columns: ${o=>`repeat(${o.limit}, minmax(0, 1fr))`};
35
+ grid-template-columns: ${s=>`repeat(${s.limit}, minmax(0, 1fr))`};
36
36
  gap: 2rem;
37
37
  }
38
38
 
@@ -56,7 +56,7 @@
56
56
  white-space: nowrap;
57
57
  }
58
58
 
59
- @media (max-width: ${Q.MOBILE_SIZE_PX+"px"}) {
59
+ @media (max-width: ${K.MOBILE_SIZE_PX+"px"}) {
60
60
  gap: 1.25rem;
61
61
 
62
62
  & .section__items {
@@ -79,4 +79,4 @@
79
79
  }
80
80
  }
81
81
  }
82
- `,J=f.styled(l.SkeletonRowWrapper)``,Y=({keyPrefix:o})=>t.jsxs(J,{children:[t.jsx(l.SkeletonLinePlaceholder,{width:"5rem",borderRadius:"0.75rem"},`${o}-1`),t.jsx(l.SkeletonLinePlaceholder,{width:"5rem",borderRadius:"0.75rem"},`${o}-2`),t.jsx(l.SkeletonLinePlaceholder,{width:"5rem",borderRadius:"0.75rem"},`${o}-3`)]}),x=({keyPrefix:o,isLoading:d=!1,fallbackComponent:n=t.jsx(t.Fragment,{}),children:i})=>t.jsx(c.Suspense,{fallbackComponent:n,children:d===!0?t.jsx(Y,{keyPrefix:o}):i}),ee=c.memo(b.DetailedProductCard),te=c.forwardRef((o,d)=>{const{title:n,icon:i,items:r,limit:h=4,isLoading:u=!1,onSelectCard:S=()=>{},onLoadMore:w=()=>{},onButtonAction:_=()=>{},getImage:y=()=>{},viewAllbuttonLink:m,viewAllButonText:p="View all",negotiableText:k,freeText:v,loadMoreButtonIcon:j="angle-down",sponsoredText:C,onBookmark:N=()=>{},actionComponent:L,componentName:q,hasNextPage:P=!1,LinkComponent:B,urgentText:R,options:O=[],isLoadingOptions:D=!1,selectedOption:M,onSelectOption:E=()=>{},onRemoveOption:I=()=>{},allOptionsEnabled:T=!1,allOptionsLabel:$="All",onSelectAllOptions:A=()=>{},optionLabel:z="label",optionValue:F="value",optionCode:U="code"}=o,g=X.useDetectMobile(),V=c.useMemo(()=>r==null?void 0:r.map((e,s)=>t.jsx(ee,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,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,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:(oe,K)=>S({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:K}),nameSlug:e==null?void 0:e.nameSlug,imageUrl:y(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:k,freeText:v,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,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,sponsoredText:C,onBookmark:N,actionComponent:L,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{accessor:e==null?void 0:e.accessor,name:q},sellerName:e==null?void 0:e.sellerName,forCart:e==null?void 0:e.forCart,forOrder:e==null?void 0:e.forOrder,contactSeller:e==null?void 0:e.contactSeller,hasVariants:e==null?void 0:e.hasVariants,LinkComponent:B,activeSalesPackages:e==null?void 0:e.activeSalesPackages,urgentText:R},s)),[r]);return t.jsxs(H,{ref:d,limit:h,children:[t.jsxs("div",{className:"section__heading",children:[a.isDefinedNotEmptyString(n)&&t.jsxs("div",{className:"section__title",children:[a.isDefinedNotEmptyString(i)&&t.jsx("i",{className:i})," ",n]}),g&&a.isDefinedNotEmptyString(m)&&a.isDefinedNotEmptyString(p)&&!u&&t.jsx(W,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var s;(s=e==null?void 0:e.target)==null||s.blur(),_(m)},borderRadius:"curved",className:"section__view-all",children:p})]}),t.jsx(x,{isLoading:D,children:t.jsx(Z.SelectBar,{items:O,selectedIds:M,onRemove:I,onSelect:E,allButton:T,onSelectAll:A,labelKey:z,valueKey:F,codeKey:U,noMargin:!0,productsToolbarName:$,noGradient:!0,className:"section__options"})}),t.jsx(b.SuspenseDetailedProductCard,{isLoading:u,keyPrefix:"detailed-product-card-skeleton",children:t.jsx("div",{className:"section__items",children:V})}),!g&&!u&&P&&t.jsx(G,{icon:j,borderRadius:"curved",btnType:"basic",color:"neutral",className:"section__show-more",onClick:w})]})});module.exports=te;
82
+ `,W=a.memo(p.DetailedProductCard),Y=a.forwardRef((s,g)=>{const{title:l,icon:c,items:o,limit:f=4,isLoading:r=!1,onSelectCard:b=()=>{},onLoadMore:h=()=>{},onButtonAction:_=()=>{},getImage:y=()=>{},viewAllbuttonLink:d,viewAllButonText:u="View all",negotiableText:S,freeText:w,loadMoreButtonIcon:v="angle-down",sponsoredText:k,onBookmark:C=()=>{},actionComponent:N,componentName:j,hasNextPage:q=!1,LinkComponent:P,urgentText:L,options:B=[],isLoadingOptions:O=!1,selectedOption:D,onSelectOption:M=()=>{},onRemoveOption:E=()=>{},allOptionsEnabled:I=!1,allOptionsLabel:T="All",onSelectAllOptions:R=()=>{},optionLabel:A="label",optionValue:z="value",optionCode:F="code"}=s,m=X.useDetectMobile(),$=a.useMemo(()=>o==null?void 0:o.map((e,i)=>t.jsx(W,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,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,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:(x,U)=>b({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:U}),nameSlug:e==null?void 0:e.nameSlug,imageUrl:y(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:S,freeText:w,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,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,sponsoredText:k,onBookmark:C,actionComponent:N,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{accessor:e==null?void 0:e.accessor,name:j},sellerName:e==null?void 0:e.sellerName,forCart:e==null?void 0:e.forCart,forOrder:e==null?void 0:e.forOrder,contactSeller:e==null?void 0:e.contactSeller,hasVariants:e==null?void 0:e.hasVariants,LinkComponent:P,activeSalesPackages:e==null?void 0:e.activeSalesPackages,urgentText:L,hasFreeShipping:e==null?void 0:e.hasFreeShipping},i)),[o]);return t.jsxs(J,{ref:g,limit:f,children:[t.jsxs("div",{className:"section__heading",children:[n.isDefinedNotEmptyString(l)&&t.jsxs("div",{className:"section__title",children:[n.isDefinedNotEmptyString(c)&&t.jsx("i",{className:c})," ",l]}),m&&n.isDefinedNotEmptyString(d)&&n.isDefinedNotEmptyString(u)&&!r&&t.jsx(G,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var i;(i=e==null?void 0:e.target)==null||i.blur(),_(d)},borderRadius:"curved",className:"section__view-all",children:u})]}),t.jsx(H.SuspenseSelectBar,{isLoading:O,children:t.jsx(Z.SelectBar,{items:B,selectedIds:D,onRemove:E,onSelect:M,allButton:I,onSelectAll:R,labelKey:A,valueKey:z,codeKey:F,noMargin:!0,productsToolbarName:T,noGradient:!0,className:"section__options"})}),t.jsx(p.SuspenseDetailedProductCard,{isLoading:r,keyPrefix:"detailed-product-card-skeleton",children:t.jsx("div",{className:"section__items",children:$})}),!m&&!r&&q&&t.jsx(Q,{icon:v,borderRadius:"curved",btnType:"basic",color:"neutral",className:"section__show-more",onClick:h})]})});module.exports=Y;
@@ -1,15 +1,15 @@
1
- import { jsxs as s, jsx as o, Fragment as q } from "react/jsx-runtime";
2
- import { Suspense as Q, memo as G, forwardRef as W, useMemo as X } from "react";
3
- import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as Z } from "./consts-BuFChS64.js";
5
- import H from "./IconButton.js";
6
- import J from "./Button.js";
7
- import { k as l } from "./utils-Dc5zIpaz.js";
8
- import { u as Y } from "./useDetectMobile-Bkvj0VMa.js";
9
- import { D as x, S as ee } from "./index-DqBXIFsQ.js";
10
- import { S as oe } from "./index-BGiZlEQt.js";
11
- import { a as te, b as m } from "./style-CXMUA6cI.js";
12
- const ie = f.div`
1
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
2
+ import { memo as j, forwardRef as K, useMemo as q } from "react";
3
+ import { s as Q } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { M as G } from "./consts-BuFChS64.js";
5
+ import X from "./IconButton.js";
6
+ import Z from "./Button.js";
7
+ import { k as a } from "./utils-DtEfC-TX.js";
8
+ import { u as H } from "./useDetectMobile-Bkvj0VMa.js";
9
+ import { D as J, S as W } from "./index-BASX-BjS.js";
10
+ import { S as Y } from "./index-CWALXP1T.js";
11
+ import { S as x } from "./index-4wvppFLx.js";
12
+ const ee = Q.div`
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  gap: 1.5rem;
@@ -43,7 +43,7 @@ const ie = f.div`
43
43
 
44
44
  & .section__items {
45
45
  display: grid;
46
- grid-template-columns: ${(t) => `repeat(${t.limit}, minmax(0, 1fr))`};
46
+ grid-template-columns: ${(n) => `repeat(${n.limit}, minmax(0, 1fr))`};
47
47
  gap: 2rem;
48
48
  }
49
49
 
@@ -67,7 +67,7 @@ const ie = f.div`
67
67
  white-space: nowrap;
68
68
  }
69
69
 
70
- @media (max-width: ${Z + "px"}) {
70
+ @media (max-width: ${G + "px"}) {
71
71
  gap: 1.25rem;
72
72
 
73
73
  & .section__items {
@@ -90,67 +90,37 @@ const ie = f.div`
90
90
  }
91
91
  }
92
92
  }
93
- `, ne = f(te)``, re = ({ keyPrefix: t }) => /* @__PURE__ */ s(ne, { children: [
94
- /* @__PURE__ */ o(
95
- m,
96
- {
97
- width: "5rem",
98
- borderRadius: "0.75rem"
99
- },
100
- `${t}-1`
101
- ),
102
- /* @__PURE__ */ o(
103
- m,
104
- {
105
- width: "5rem",
106
- borderRadius: "0.75rem"
107
- },
108
- `${t}-2`
109
- ),
110
- /* @__PURE__ */ o(
111
- m,
112
- {
113
- width: "5rem",
114
- borderRadius: "0.75rem"
115
- },
116
- `${t}-3`
117
- )
118
- ] }), ae = ({
119
- keyPrefix: t,
120
- isLoading: c = !1,
121
- fallbackComponent: i = /* @__PURE__ */ o(q, {}),
122
- children: n
123
- }) => /* @__PURE__ */ o(Q, { fallbackComponent: i, children: c === !0 ? /* @__PURE__ */ o(re, { keyPrefix: t }) : n }), le = G(x), _e = W((t, c) => {
93
+ `, oe = j(J), ge = K((n, p) => {
124
94
  const {
125
- title: i,
126
- icon: n,
127
- items: r,
128
- limit: b = 4,
129
- isLoading: d = !1,
130
- onSelectCard: h = () => {
95
+ title: l,
96
+ icon: c,
97
+ items: t,
98
+ limit: g = 4,
99
+ isLoading: r = !1,
100
+ onSelectCard: f = () => {
131
101
  },
132
- onLoadMore: w = () => {
102
+ onLoadMore: b = () => {
133
103
  },
134
- onButtonAction: S = () => {
104
+ onButtonAction: h = () => {
135
105
  },
136
106
  getImage: _ = () => {
137
107
  },
138
- viewAllbuttonLink: u,
139
- viewAllButonText: p = "View all",
140
- negotiableText: k,
141
- freeText: v,
108
+ viewAllbuttonLink: m,
109
+ viewAllButonText: d = "View all",
110
+ negotiableText: S,
111
+ freeText: w,
142
112
  loadMoreButtonIcon: y = "angle-down",
143
- sponsoredText: C,
144
- onBookmark: N = () => {
113
+ sponsoredText: k,
114
+ onBookmark: v = () => {
145
115
  },
146
- actionComponent: L,
147
- componentName: B,
116
+ actionComponent: C,
117
+ componentName: N,
148
118
  hasNextPage: P = !1,
149
- LinkComponent: O,
150
- urgentText: M,
151
- options: R = [],
152
- isLoadingOptions: T = !1,
153
- selectedOption: $,
119
+ LinkComponent: L,
120
+ urgentText: B,
121
+ options: O = [],
122
+ isLoadingOptions: M = !1,
123
+ selectedOption: T,
154
124
  onSelectOption: I = () => {
155
125
  },
156
126
  onRemoveOption: A = () => {
@@ -160,10 +130,10 @@ const ie = f.div`
160
130
  onSelectAllOptions: E = () => {
161
131
  },
162
132
  optionLabel: F = "label",
163
- optionValue: U = "value",
164
- optionCode: V = "code"
165
- } = t, g = Y(), j = X(() => r == null ? void 0 : r.map((e, a) => /* @__PURE__ */ o(
166
- le,
133
+ optionValue: R = "value",
134
+ optionCode: U = "code"
135
+ } = n, u = H(), V = q(() => t == null ? void 0 : t.map((e, i) => /* @__PURE__ */ o(
136
+ oe,
167
137
  {
168
138
  name: e == null ? void 0 : e.name,
169
139
  price: e == null ? void 0 : e.price,
@@ -174,13 +144,13 @@ const ie = f.div`
174
144
  uuid: e == null ? void 0 : e.uuid,
175
145
  sponsored: e == null ? void 0 : e.sponsored,
176
146
  imageComponent: e == null ? void 0 : e.imageComponent,
177
- onSelectCard: (se, K) => h({ uuid: e == null ? void 0 : e.uuid, nameSlug: e == null ? void 0 : e.nameSlug, cardRef: K }),
147
+ onSelectCard: (te, $) => f({ uuid: e == null ? void 0 : e.uuid, nameSlug: e == null ? void 0 : e.nameSlug, cardRef: $ }),
178
148
  nameSlug: e == null ? void 0 : e.nameSlug,
179
149
  imageUrl: _(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
180
150
  isFree: e == null ? void 0 : e.isFree,
181
151
  isNegotiable: e == null ? void 0 : e.isNegotiable,
182
- negotiableText: k,
183
- freeText: v,
152
+ negotiableText: S,
153
+ freeText: w,
184
154
  tags: e == null ? void 0 : e.tags,
185
155
  categoryCode: e == null ? void 0 : e.categoryCode,
186
156
  condition: e == null ? void 0 : e.condition,
@@ -188,58 +158,59 @@ const ie = f.div`
188
158
  hasQuantities: e == null ? void 0 : e.hasQuantities,
189
159
  status: e == null ? void 0 : e.status,
190
160
  trade: e == null ? void 0 : e.trade,
191
- sponsoredText: C,
192
- onBookmark: N,
193
- actionComponent: L,
161
+ sponsoredText: k,
162
+ onBookmark: v,
163
+ actionComponent: C,
194
164
  bookmarked: e == null ? void 0 : e.bookmarked,
195
165
  bookmarkLists: e == null ? void 0 : e.bookmarkLists,
196
- metadata: { accessor: e == null ? void 0 : e.accessor, name: B },
166
+ metadata: { accessor: e == null ? void 0 : e.accessor, name: N },
197
167
  sellerName: e == null ? void 0 : e.sellerName,
198
168
  forCart: e == null ? void 0 : e.forCart,
199
169
  forOrder: e == null ? void 0 : e.forOrder,
200
170
  contactSeller: e == null ? void 0 : e.contactSeller,
201
171
  hasVariants: e == null ? void 0 : e.hasVariants,
202
- LinkComponent: O,
172
+ LinkComponent: L,
203
173
  activeSalesPackages: e == null ? void 0 : e.activeSalesPackages,
204
- urgentText: M
174
+ urgentText: B,
175
+ hasFreeShipping: e == null ? void 0 : e.hasFreeShipping
205
176
  },
206
- a
207
- )), [r]);
208
- return /* @__PURE__ */ s(ie, { ref: c, limit: b, children: [
177
+ i
178
+ )), [t]);
179
+ return /* @__PURE__ */ s(ee, { ref: p, limit: g, children: [
209
180
  /* @__PURE__ */ s("div", { className: "section__heading", children: [
210
- l(i) && /* @__PURE__ */ s("div", { className: "section__title", children: [
211
- l(n) && /* @__PURE__ */ o("i", { className: n }),
181
+ a(l) && /* @__PURE__ */ s("div", { className: "section__title", children: [
182
+ a(c) && /* @__PURE__ */ o("i", { className: c }),
212
183
  " ",
213
- i
184
+ l
214
185
  ] }),
215
- g && l(u) && l(p) && !d && /* @__PURE__ */ o(
216
- J,
186
+ u && a(m) && a(d) && !r && /* @__PURE__ */ o(
187
+ Z,
217
188
  {
218
189
  type: "button",
219
190
  btnType: "tinted",
220
191
  color: "neutral",
221
192
  onClick: (e) => {
222
- var a;
223
- (a = e == null ? void 0 : e.target) == null || a.blur(), S(u);
193
+ var i;
194
+ (i = e == null ? void 0 : e.target) == null || i.blur(), h(m);
224
195
  },
225
196
  borderRadius: "curved",
226
197
  className: "section__view-all",
227
- children: p
198
+ children: d
228
199
  }
229
200
  )
230
201
  ] }),
231
- /* @__PURE__ */ o(ae, { isLoading: T, children: /* @__PURE__ */ o(
232
- oe,
202
+ /* @__PURE__ */ o(x, { isLoading: M, children: /* @__PURE__ */ o(
203
+ Y,
233
204
  {
234
- items: R,
235
- selectedIds: $,
205
+ items: O,
206
+ selectedIds: T,
236
207
  onRemove: A,
237
208
  onSelect: I,
238
209
  allButton: D,
239
210
  onSelectAll: E,
240
211
  labelKey: F,
241
- valueKey: U,
242
- codeKey: V,
212
+ valueKey: R,
213
+ codeKey: U,
243
214
  noMargin: !0,
244
215
  productsToolbarName: z,
245
216
  noGradient: !0,
@@ -247,26 +218,26 @@ const ie = f.div`
247
218
  }
248
219
  ) }),
249
220
  /* @__PURE__ */ o(
250
- ee,
221
+ W,
251
222
  {
252
- isLoading: d,
223
+ isLoading: r,
253
224
  keyPrefix: "detailed-product-card-skeleton",
254
- children: /* @__PURE__ */ o("div", { className: "section__items", children: j })
225
+ children: /* @__PURE__ */ o("div", { className: "section__items", children: V })
255
226
  }
256
227
  ),
257
- !g && !d && P && /* @__PURE__ */ o(
258
- H,
228
+ !u && !r && P && /* @__PURE__ */ o(
229
+ X,
259
230
  {
260
231
  icon: y,
261
232
  borderRadius: "curved",
262
233
  btnType: "basic",
263
234
  color: "neutral",
264
235
  className: "section__show-more",
265
- onClick: w
236
+ onClick: b
266
237
  }
267
238
  )
268
239
  ] });
269
240
  });
270
241
  export {
271
- _e as default
242
+ ge as default
272
243
  };
@@ -1,13 +1,22 @@
1
- "use strict";const t=require("react/jsx-runtime"),c=require("react"),F=require("./emotion-styled.browser.esm-BtEseadx.cjs"),B=require("./consts-goSZX3xP.cjs"),R=require("./Button.cjs"),l=require("./utils-RnrgDDZP.cjs"),I=require("./useDetectMobile-zkbzoOGV.cjs"),Q=require("./style-CkcozOY6.cjs"),w=require("./index-Lmz3An4A.cjs"),_=require("./index-CSNxZFTX.cjs"),$=F.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),l=require("react"),Q=require("./emotion-styled.browser.esm-BtEseadx.cjs"),K=require("./consts-goSZX3xP.cjs"),W=require("./Button.cjs"),r=require("./utils-RnrgDDZP.cjs"),z=require("./useDetectMobile-zkbzoOGV.cjs"),G=require("./style-CkcozOY6.cjs"),P=require("./index-CS4w87SW.cjs"),V=require("./index-CSNxZFTX.cjs"),X=require("./index-oYE1Pl7q.cjs"),Z=Q.styled.div`
2
2
  display: grid;
3
- grid-template-columns: ${o=>`repeat(${o.limit}, minmax(0, 1fr))`};
3
+ grid-template-columns: ${a=>`repeat(${a.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
5
5
 
6
6
  & .button-link {
7
7
  white-space: nowrap;
8
8
  }
9
9
 
10
- @media (max-width: ${B.MOBILE_SIZE_PX+"px"}) {
10
+ & .section__options {
11
+ & button {
12
+ &:focus {
13
+ outline: none;
14
+ outline-offset: 0;
15
+ }
16
+ }
17
+ }
18
+
19
+ @media (max-width: ${K.MOBILE_SIZE_PX+"px"}) {
11
20
  display: flex;
12
21
  gap: 1rem;
13
22
  overflow-x: auto;
@@ -26,4 +35,4 @@
26
35
  /* Safari and Chrome */
27
36
  }
28
37
  }
29
- `,v=c.memo(w.DetailedProductCard),O=c.forwardRef((o,D)=>{const{icon:u,title:L,buttonLink:d,items:i,buttonText:m,limit:n=4,onSelectCard:g=()=>{},onButtonAction:T=()=>{},isLoading:p=!1,getImage:b=()=>{},negotiableText:k,freeText:y,options:r,onSelectOption:S=()=>{},productsToolbarName:U="All",sponsoredText:C,onBookmark:f=()=>{},actionComponent:h,componentName:N,LinkComponent:P,urgentText:q}=o,j=I.useDetectMobile(),M=c.useMemo(()=>t.jsx(t.Fragment,{children:j===!0?i==null?void 0:i.map((e,a)=>t.jsx(v,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,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,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,nameSlug:e==null?void 0:e.nameSlug,onSelectCard:(E,s)=>g({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:s}),sellerName:e==null?void 0:e.sellerName,imageUrl:b(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:k,freeText:y,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,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,onBookmark:f,actionComponent:h,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{accessor:e==null?void 0:e.accessor,name:N},LinkComponent:P,activeSalesPackages:e==null?void 0:e.activeSalesPackages,urgentText:q},a)):i==null?void 0:i.slice(0,n).map((e,a)=>t.jsx(v,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,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,location:e==null?void 0:e.location,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:(E,s)=>g({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:s}),nameSlug:e==null?void 0:e.nameSlug,imageUrl:b(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:k,freeText:y,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,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,onBookmark:f,actionComponent:h,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{accessor:e==null?void 0:e.accessor,name:N},sellerName:e==null?void 0:e.sellerName,LinkComponent:P,activeSalesPackages:e==null?void 0:e.activeSalesPackages,urgentText:q},a))}),[i,j,n]);return t.jsxs(Q.TitleWithOptionsSectionWrapper,{ref:D,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[l.isDefinedNotEmptyString(u)&&t.jsx("i",{className:u}),t.jsx("span",{children:L})]}),l.isDefinedNotEmptyString(d)&&l.isDefinedNotEmptyString(m)&&!p&&t.jsx(R,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var a;(a=e==null?void 0:e.target)==null||a.blur(),T(d)},borderRadius:"curved",className:"button-link",children:m})]}),(r==null?void 0:r.length)>0&&t.jsx(_.SelectBar,{items:r,onRemove:e=>{S(e)},onSelect:e=>{S(e)},labelKey:"name",valueKey:"code",noMargin:!0,productsToolbarName:U}),t.jsx(w.SuspenseDetailedProductCard,{isLoading:p,keyPrefix:"detailed-products-skeleton",children:t.jsx($,{limit:n,children:M})})]})});module.exports=O;
38
+ `,v=l.memo(P.DetailedProductCard),H=l.forwardRef((a,j)=>{const{icon:c,title:w,buttonLink:u,items:i,buttonText:d,limit:n=4,onSelectCard:m=()=>{},onButtonAction:L=()=>{},isLoading:p=!1,getImage:g=()=>{},negotiableText:b,freeText:S,options:F=[],isLoadingOptions:O=!1,selectedOption:D,onSelectOption:T=()=>{},onRemoveOption:U=()=>{},allOptionsEnabled:_=!1,allOptionsLabel:B="All",onSelectAllOptions:E=()=>{},optionLabel:M="label",optionValue:R="value",optionCode:I="code",sponsoredText:k,onBookmark:y=()=>{},actionComponent:h,componentName:f,LinkComponent:C,urgentText:N}=a,q=z.useDetectMobile(),$=l.useMemo(()=>t.jsx(t.Fragment,{children:q===!0?i==null?void 0:i.map((e,o)=>t.jsx(v,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,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,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,nameSlug:e==null?void 0:e.nameSlug,onSelectCard:(A,s)=>m({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:s}),sellerName:e==null?void 0:e.sellerName,imageUrl:g(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:b,freeText:S,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,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:k,onBookmark:y,actionComponent:h,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{accessor:e==null?void 0:e.accessor,name:f},LinkComponent:C,activeSalesPackages:e==null?void 0:e.activeSalesPackages,urgentText:N,hasFreeShipping:e==null?void 0:e.hasFreeShipping},o)):i==null?void 0:i.slice(0,n).map((e,o)=>t.jsx(v,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,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,location:e==null?void 0:e.location,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:(A,s)=>m({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:s}),nameSlug:e==null?void 0:e.nameSlug,imageUrl:g(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:b,freeText:S,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,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:k,onBookmark:y,actionComponent:h,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{accessor:e==null?void 0:e.accessor,name:f},sellerName:e==null?void 0:e.sellerName,LinkComponent:C,activeSalesPackages:e==null?void 0:e.activeSalesPackages,urgentText:N,hasFreeShipping:e==null?void 0:e.hasFreeShipping},o))}),[i,q,n]);return t.jsxs(G.TitleWithOptionsSectionWrapper,{ref:j,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[r.isDefinedNotEmptyString(c)&&t.jsx("i",{className:c}),t.jsx("span",{children:w})]}),r.isDefinedNotEmptyString(u)&&r.isDefinedNotEmptyString(d)&&!p&&t.jsx(W,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var o;(o=e==null?void 0:e.target)==null||o.blur(),L(u)},borderRadius:"curved",className:"button-link",children:d})]}),t.jsx(X.SuspenseSelectBar,{isLoading:O,children:t.jsx(V.SelectBar,{items:F,selectedIds:D,onRemove:U,onSelect:T,allButton:_,onSelectAll:E,labelKey:M,valueKey:R,codeKey:I,noMargin:!0,productsToolbarName:B,noGradient:!0,className:"section__options"})}),t.jsx(P.SuspenseDetailedProductCard,{isLoading:p,keyPrefix:"detailed-products-skeleton",children:t.jsx(Z,{limit:n,children:$})})]})});module.exports=H;