@lanaco/lnc-react-ui 4.0.205 → 4.0.207
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/BREAKPOINTS.md +148 -0
- package/dist/Accordion.cjs +1 -1
- package/dist/Accordion.js +6 -6
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +8 -8
- package/dist/ActionsToolbar.cjs +15 -4
- package/dist/ActionsToolbar.js +58 -46
- package/dist/AdBannerSection.cjs +4 -4
- package/dist/AdBannerSection.js +5 -5
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +12 -12
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +5 -5
- package/dist/BannerNextSection.cjs +2 -2
- package/dist/BannerNextSection.js +13 -13
- package/dist/BannerSectionBasic.cjs +4 -4
- package/dist/BannerSectionBasic.js +22 -22
- package/dist/BannerSectionCarousel.cjs +27 -6
- package/dist/BannerSectionCarousel.js +71 -50
- package/dist/BannerSectionGrid.cjs +3 -3
- package/dist/BannerSectionGrid.js +13 -13
- package/dist/BannerSectionSimple.cjs +15 -15
- package/dist/BannerSectionSimple.js +40 -40
- package/dist/BannerSectionWithList.cjs +7 -7
- package/dist/BannerSectionWithList.js +20 -20
- package/dist/BannerSectionWithListImage.cjs +6 -9
- package/dist/BannerSectionWithListImage.js +17 -20
- package/dist/BlogCardsSponsoredSection.cjs +7 -5
- package/dist/BlogCardsSponsoredSection.js +32 -30
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +2 -2
- package/dist/BlogExploreSection.cjs +4 -4
- package/dist/BlogExploreSection.js +60 -60
- package/dist/BlogImagePathSection.cjs +3 -14
- package/dist/BlogImagePathSection.js +27 -39
- package/dist/BlogListSection.cjs +6 -6
- package/dist/BlogListSection.js +32 -32
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +3 -3
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +3 -3
- package/dist/BlogSingleSection.cjs +3 -3
- package/dist/BlogSingleSection.js +12 -12
- package/dist/BlogsSectionDetailed.cjs +14 -6
- package/dist/BlogsSectionDetailed.js +53 -45
- package/dist/BlogsSectionLarge.cjs +13 -5
- package/dist/BlogsSectionLarge.js +48 -40
- package/dist/BlogsSectionSimple.cjs +14 -9
- package/dist/BlogsSectionSimple.js +43 -38
- package/dist/BlogsSectionSimpleCentered.cjs +17 -8
- package/dist/BlogsSectionSimpleCentered.js +68 -59
- package/dist/BlogsSectionWithFilters.cjs +16 -11
- package/dist/BlogsSectionWithFilters.js +43 -38
- package/dist/BrandHitsSection.cjs +7 -7
- package/dist/BrandHitsSection.js +13 -13
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +16 -16
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +15 -15
- package/dist/CalorieCalculatorSection.js +84 -84
- package/dist/{CategorySimpleCard-COGlTj06.cjs → CategorySimpleCard-CIBvknos.cjs} +3 -3
- package/dist/{CategorySimpleCard-Em84kZzQ.js → CategorySimpleCard-CkSwvJRw.js} +8 -8
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +14 -14
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +5 -5
- package/dist/ContactSection.cjs +4 -4
- package/dist/ContactSection.js +72 -72
- package/dist/CustomLoanMapSection.cjs +3 -3
- package/dist/CustomLoanMapSection.js +67 -67
- package/dist/{CustomStyles-C86XQqBE.cjs → CustomStyles-2TQQSwtU.cjs} +1 -1
- package/dist/{CustomStyles-DtWxboEM.js → CustomStyles-DR4WuDUN.js} +1 -1
- package/dist/{DailyMotion-CpZExcrg.cjs → DailyMotion-BPdBW5Yv.cjs} +1 -1
- package/dist/{DailyMotion-BBcJkMo_.js → DailyMotion-P9S-WhTX.js} +1 -1
- package/dist/DateInput.cjs +6 -6
- package/dist/DateInput.js +646 -645
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +10 -4
- package/dist/DetailedProductsInfinitiveSection.js +71 -65
- package/dist/DetailedProductsSection.cjs +7 -3
- package/dist/DetailedProductsSection.js +55 -51
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +13 -13
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +1 -1
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +7 -7
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +8 -8
- package/dist/{Facebook-DoKw-XxT.cjs → Facebook-C8L2KR4O.cjs} +1 -1
- package/dist/{Facebook-BSWPEXjA.js → Facebook-vhbBr0rd.js} +1 -1
- package/dist/FaqSection.cjs +3 -3
- package/dist/FaqSection.js +52 -52
- package/dist/FeedbackSection.cjs +3 -3
- package/dist/FeedbackSection.js +15 -15
- package/dist/FieldOfInterestsMasonrySection.cjs +18 -12
- package/dist/FieldOfInterestsMasonrySection.js +107 -117
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +13 -7
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +64 -58
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +15 -9
- package/dist/FieldOfInterestsWithTagsCardsSection.js +42 -36
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +1 -1
- package/dist/{FilePlayer-D9az_lc_.cjs → FilePlayer-BVFgHY_f.cjs} +1 -1
- package/dist/{FilePlayer-BtGpIWnK.js → FilePlayer-CXTLAokk.js} +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +14 -8
- package/dist/GeneralWithTagsCardsSection.js +31 -25
- package/dist/GiftCardsSection.cjs +15 -7
- package/dist/GiftCardsSection.js +44 -36
- package/dist/HelpBannerSection.cjs +3 -3
- package/dist/HelpBannerSection.js +4 -4
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +4 -4
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/{Kaltura-CK6JHUZC.cjs → Kaltura-C2fRoaEg.cjs} +1 -1
- package/dist/{Kaltura-BDqlEQpd.js → Kaltura-CRGK2EP7.js} +1 -1
- package/dist/Kanban.cjs +1 -1
- package/dist/Kanban.js +1 -1
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +5 -5
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +9 -9
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.cjs +3 -3
- package/dist/LoanCalculatorSection.js +17 -17
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.cjs +13 -6
- package/dist/LocationSearchSection.js +34 -27
- package/dist/MasonryGeneralCardsSection.cjs +13 -9
- package/dist/MasonryGeneralCardsSection.js +34 -30
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +14 -14
- package/dist/{Mixcloud-zAh6j7Ha.js → Mixcloud-Cn5M-EIT.js} +1 -1
- package/dist/{Mixcloud-C1Boh2Bm.cjs → Mixcloud-D09BQNOt.cjs} +1 -1
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +1 -1
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- package/dist/{Mux-C6TwZeaq.cjs → Mux-C-xD7crc.cjs} +1 -1
- package/dist/{Mux-BGTG_Tvc.js → Mux-C6szci3w.js} +1 -1
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +9 -9
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +7 -7
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +5 -5
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +8 -8
- package/dist/OverlayGeneralCardsSection.cjs +19 -31
- package/dist/OverlayGeneralCardsSection.js +51 -63
- package/dist/PartnerBannerSection.cjs +2 -2
- package/dist/PartnerBannerSection.js +2 -2
- package/dist/PartnerBrandsSection.cjs +2 -2
- package/dist/PartnerBrandsSection.js +24 -17
- package/dist/PartnerCardsSection.cjs +3 -3
- package/dist/PartnerCardsSection.js +18 -18
- package/dist/PartnerStatsSection.cjs +2 -2
- package/dist/PartnerStatsSection.js +3 -3
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +19 -19
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +20 -10
- package/dist/ProductsWithBannerSection.js +79 -69
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +5 -5
- package/dist/QuattroCardsSection.cjs +8 -6
- package/dist/QuattroCardsSection.js +19 -17
- package/dist/QuizSection.cjs +9 -9
- package/dist/QuizSection.js +56 -56
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.cjs +24 -16
- package/dist/ReviewsSection.js +56 -48
- package/dist/SalesCampaignsSection.cjs +25 -21
- package/dist/SalesCampaignsSection.js +248 -241
- package/dist/{SearchSection-DAaMecR4.js → SearchSection-BEYnWPSr.js} +69 -69
- package/dist/{SearchSection-B94YN_6P.cjs → SearchSection-DUY61r3k.cjs} +6 -6
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +1 -1
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +3 -3
- package/dist/SeparatorSection.cjs +3 -3
- package/dist/SeparatorSection.js +4 -4
- package/dist/ShopCardsSection.cjs +11 -5
- package/dist/ShopCardsSection.js +40 -34
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +9 -5
- package/dist/SimpleCategoriesSection.js +61 -57
- package/dist/SimpleProductsSection.cjs +44 -11
- package/dist/SimpleProductsSection.js +100 -67
- package/dist/{SoundCloud-C6R6E6Zc.cjs → SoundCloud-BsL6Onq6.cjs} +1 -1
- package/dist/{SoundCloud-lO8wg_0s.js → SoundCloud-Cfaj1Ze1.js} +1 -1
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/StatsSection.cjs +3 -3
- package/dist/StatsSection.js +11 -11
- package/dist/{Streamable-Dwa5ZEK4.js → Streamable-CG8_-_w7.js} +1 -1
- package/dist/{Streamable-DZO95CiT.cjs → Streamable-DFtyk9Dt.cjs} +1 -1
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.cjs +54 -49
- package/dist/Table.js +417 -401
- package/dist/TableView.cjs +10 -2
- package/dist/TableView.js +84 -75
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.cjs +4 -4
- package/dist/ThemeProvider.js +11 -10
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +1 -1
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/ToggleSection.cjs +7 -7
- package/dist/ToggleSection.js +38 -38
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +3 -3
- package/dist/{Twitch-B17oKtD0.cjs → Twitch-BIUEEDiE.cjs} +1 -1
- package/dist/{Twitch-C73-dwWo.js → Twitch-CbU_0Tx9.js} +1 -1
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +7 -7
- package/dist/UrgentSaleProductsSection.cjs +10 -4
- package/dist/UrgentSaleProductsSection.js +67 -61
- package/dist/{Vidyard-s1MMcaRm.cjs → Vidyard-QkjVIros.cjs} +1 -1
- package/dist/{Vidyard-B6GdBHsM.js → Vidyard-S6Fl_F78.js} +1 -1
- package/dist/{Vimeo-kzHz4Gco.js → Vimeo-5bkeYCV4.js} +1 -1
- package/dist/{Vimeo-J1l_SU2E.cjs → Vimeo-B5jsifNT.cjs} +1 -1
- package/dist/{Wistia-CudQyDHM.cjs → Wistia-dpbMmx23.cjs} +1 -1
- package/dist/{Wistia-w4jnqd7y.js → Wistia-gOZBV0XZ.js} +1 -1
- package/dist/{YouTube-BAYKouHS.cjs → YouTube-BfZRCB6O.cjs} +1 -1
- package/dist/{YouTube-BKyipPZx.js → YouTube-XoIB4ATQ.js} +1 -1
- package/dist/breakpoints-CcVm-gVm.cjs +1 -0
- package/dist/breakpoints-ff0SIcV3.js +91 -0
- package/dist/{index-u_XFwsvc.js → index-9KyU46J0.js} +11 -9
- package/dist/{index-CSgGox95.cjs → index-B9c6y2J5.cjs} +3 -3
- package/dist/{index-CS4w87SW.cjs → index-BEgD9vNo.cjs} +9 -9
- package/dist/{index-BC2PHcI1.js → index-BWeXujWl.js} +10 -10
- package/dist/index-B_ilx3wM.cjs +16 -0
- package/dist/{index-B22BZVBG.js → index-BvMY2TbK.js} +1 -1
- package/dist/{index-CwMCk9wV.js → index-BzSWu-7v.js} +67 -67
- package/dist/{index-TIqKd2Dv.js → index-C-uOIDDa.js} +2 -2
- package/dist/{index-bihqNqQk.js → index-C4HycAPS.js} +6 -6
- package/dist/{index-BWE-RCPy.cjs → index-CBZ-jNah.cjs} +4 -4
- package/dist/{index-D_5jNP-o.cjs → index-CUaeb_TU.cjs} +5 -5
- package/dist/{index-DK8dqEUQ.js → index-CoQ9APCD.js} +11 -11
- package/dist/{index-BAJkosVg.cjs → index-CsTfXxpp.cjs} +2 -2
- package/dist/{index-D0JDnm9b.cjs → index-Dc0EEBRW.cjs} +4 -4
- package/dist/{index-uwl7BjRF.cjs → index-DsINTjQk.cjs} +1 -1
- package/dist/{index-Cm414y95.js → index-L_Va5-wK.js} +13 -13
- package/dist/{index-CBMsUFkS.js → index-hC-E71GE.js} +11 -11
- package/dist/{index-BFc3nxYZ.cjs → index-of6WydGq.cjs} +4 -2
- package/dist/{index-BASX-BjS.js → index-rYUwBlpp.js} +63 -63
- package/dist/{index-D0IYt1s3.cjs → index-uCWKRzoS.cjs} +2 -2
- package/dist/{index-CRk3vcd4.cjs → index-vQOR22Py.cjs} +4 -4
- package/dist/{index-D-86mDtn.js → index-yARaIaLj.js} +29 -29
- package/dist/index.cjs +1 -1
- package/dist/index.js +213 -194
- package/dist/{style-BTTXJFJN.cjs → style-AYc9hnFj.cjs} +14 -2
- package/dist/{style-neMbLWE6.js → style-BUyFad_y.js} +4 -4
- package/dist/{style-tw6KjI2J.js → style-Bq3rMbnN.js} +16 -4
- package/dist/{style-B4kAj6YU.cjs → style-DC05rdyx.cjs} +5 -5
- package/dist/{tag-Dm8CW4TM.js → tag-Bi8gg6hJ.js} +12 -12
- package/dist/{tag-UQjq2_Ba.cjs → tag-DSnhWWHE.cjs} +5 -5
- package/dist/{utils-DtEfC-TX.js → theme-Befg4g_L.js} +19 -378
- package/dist/theme-Q3WOGKWQ.cjs +1 -0
- package/dist/{useDetectMobile-Bkvj0VMa.js → useDetectMobile-CcVo3PNi.js} +1 -1
- package/dist/useDetectMobile-DYV6V1yw.cjs +1 -0
- package/dist/utils-B2fsQ6PS.js +334 -0
- package/dist/utils-CITgSxXe.cjs +51 -0
- package/package.json +1 -1
- package/dist/consts-BuFChS64.js +0 -7
- package/dist/consts-goSZX3xP.cjs +0 -1
- package/dist/index-D-3I_Ppj.cjs +0 -16
- package/dist/useDetectMobile-zkbzoOGV.cjs +0 -1
- package/dist/utils-RnrgDDZP.cjs +0 -51
package/dist/Kanban.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const ie=require("react/jsx-runtime"),d=require("react"),Jt=require("./index-41nUb2kP.cjs"),we=require("./utils-
|
|
1
|
+
"use strict";const ie=require("react/jsx-runtime"),d=require("react"),Jt=require("./index-41nUb2kP.cjs"),we=require("./utils-CITgSxXe.cjs"),Vr=require("./index-Bg5OOQN0.cjs"),Qt=require("./emotion-styled.browser.esm-BtEseadx.cjs"),Fr=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),vo=require("./KanbanCard-DihrKn-I.cjs"),_t=require("./_commonjsHelpers-DwTZ_eVU.cjs"),ri=require("./KanbanHeader.cjs"),oi=require("./useUpdateEffect-BtMgpgIV.cjs");var ii=function(e){d.useEffect(e,[])};function si(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.useMemo(()=>o=>{t.forEach(s=>s(o))},t)}const Gn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function en(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function zr(e){return"nodeType"in e}function Ge(e){var t,n;return e?en(e)?e:zr(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function Hr(e){const{Document:t}=Ge(e);return e instanceof t}function gn(e){return en(e)?!1:e instanceof Ge(e).HTMLElement}function bo(e){return e instanceof Ge(e).SVGElement}function tn(e){return e?en(e)?e.document:zr(e)?Hr(e)?e:gn(e)||bo(e)?e.ownerDocument:document:document:document}const gt=Gn?d.useLayoutEffect:d.useEffect;function Un(e){const t=d.useRef(e);return gt(()=>{t.current=e}),d.useCallback(function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return t.current==null?void 0:t.current(...o)},[])}function ai(){const e=d.useRef(null),t=d.useCallback((o,s)=>{e.current=setInterval(o,s)},[]),n=d.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function fn(e,t){t===void 0&&(t=[e]);const n=d.useRef(e);return gt(()=>{n.current!==e&&(n.current=e)},t),n}function hn(e,t){const n=d.useRef();return d.useMemo(()=>{const o=e(n.current);return n.current=o,o},[...t])}function Pn(e){const t=Un(e),n=d.useRef(null),o=d.useCallback(s=>{s!==n.current&&(t==null||t(s,n.current)),n.current=s},[]);return[n,o]}function jn(e){const t=d.useRef();return d.useEffect(()=>{t.current=e},[e]),t.current}let Ar={};function pn(e,t){return d.useMemo(()=>{if(t)return t;const n=Ar[e]==null?0:Ar[e]+1;return Ar[e]=n,e+"-"+n},[e,t])}function yo(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return o.reduce((c,l)=>{const u=Object.entries(l);for(const[h,f]of u){const v=c[h];v!=null&&(c[h]=v+e*f)}return c},{...t})}}const Vt=yo(1),$n=yo(-1);function ci(e){return"clientX"in e&&"clientY"in e}function kn(e){if(!e)return!1;const{KeyboardEvent:t}=Ge(e.target);return t&&e instanceof t}function li(e){if(!e)return!1;const{TouchEvent:t}=Ge(e.target);return t&&e instanceof t}function Bn(e){if(li(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return ci(e)?{x:e.clientX,y:e.clientY}:null}const Kt=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Kt.Translate.toString(e),Kt.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:o}=e;return t+" "+n+"ms "+o}}}),Zr="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function ui(e){return e.matches(Zr)?e:e.querySelector(Zr)}const di={display:"none"};function fi(e){let{id:t,value:n}=e;return d.createElement("div",{id:t,style:di},n)}function gi(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;const s={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return d.createElement("div",{id:t,style:s,role:"status","aria-live":o,"aria-atomic":!0},n)}function hi(){const[e,t]=d.useState("");return{announce:d.useCallback(o=>{o!=null&&t(o)},[]),announcement:e}}const mo=d.createContext(null);function pi(e){const t=d.useContext(mo);d.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function vi(){const[e]=d.useState(()=>new Set),t=d.useCallback(o=>(e.add(o),()=>e.delete(o)),[e]);return[d.useCallback(o=>{let{type:s,event:c}=o;e.forEach(l=>{var u;return(u=l[s])==null?void 0:u.call(l,c)})},[e]),t]}const bi={draggable:`
|
|
2
2
|
To pick up a draggable item, press the space bar.
|
|
3
3
|
While dragging, use the arrow keys to move the item.
|
|
4
4
|
Press space again to drop the item in its new position, or press escape to cancel.
|
package/dist/Kanban.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as we, jsxs as Gn } from "react/jsx-runtime";
|
|
2
2
|
import se, { useEffect as W, useLayoutEffect as pi, useRef as Q, useMemo as ee, useCallback as Ne, useState as he, createContext as xn, memo as Ro, useReducer as vi, useContext as Yt, forwardRef as Qn, cloneElement as bi } from "react";
|
|
3
3
|
import { r as rn } from "./index-B1vKwsDE.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as an, r as tn, D as nn } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { c as co } from "./index-fN7hCOo3.js";
|
|
6
6
|
import { s as cn } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
7
|
import { u as Jr } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),w=require("react"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./DropdownMenu.cjs"),C=require("./DropdownItem.cjs"),i=require("./Button.cjs"),a=require("./utils-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),w=require("react"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./DropdownMenu.cjs"),C=require("./DropdownItem.cjs"),i=require("./Button.cjs"),a=require("./utils-CITgSxXe.cjs"),q=require("./ThemeProvider.cjs"),A=f.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
border-radius: 8px;
|
|
@@ -4,7 +4,7 @@ import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
|
4
4
|
import C from "./DropdownMenu.js";
|
|
5
5
|
import A from "./DropdownItem.js";
|
|
6
6
|
import i from "./Button.js";
|
|
7
|
-
import {
|
|
7
|
+
import { c as d } from "./utils-B2fsQ6PS.js";
|
|
8
8
|
import { useTheme as N } from "./ThemeProvider.js";
|
|
9
9
|
const k = w.div`
|
|
10
10
|
display: flex;
|
|
@@ -42,10 +42,10 @@ const k = w.div`
|
|
|
42
42
|
showCreate: s = !0,
|
|
43
43
|
enableCreate: p = !0,
|
|
44
44
|
createText: a = "Create New item",
|
|
45
|
-
actionsText:
|
|
45
|
+
actionsText: c = "Actions",
|
|
46
46
|
actions: o = [],
|
|
47
47
|
//----------------
|
|
48
|
-
onCreate:
|
|
48
|
+
onCreate: b = () => {
|
|
49
49
|
},
|
|
50
50
|
//-------------------
|
|
51
51
|
className: f = "",
|
|
@@ -73,7 +73,7 @@ const k = w.div`
|
|
|
73
73
|
size: n,
|
|
74
74
|
title: a,
|
|
75
75
|
disabled: !p,
|
|
76
|
-
onClick:
|
|
76
|
+
onClick: b,
|
|
77
77
|
text: a
|
|
78
78
|
}
|
|
79
79
|
) }),
|
|
@@ -85,7 +85,7 @@ const k = w.div`
|
|
|
85
85
|
control: /* @__PURE__ */ t(
|
|
86
86
|
i,
|
|
87
87
|
{
|
|
88
|
-
text:
|
|
88
|
+
text: c,
|
|
89
89
|
btnType: "outline",
|
|
90
90
|
trailingIcon: "angle-down",
|
|
91
91
|
color: l,
|
package/dist/KanbanView.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),Y=require("react"),Z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),$=require("./KanbanActionsToolbar.cjs"),a=require("./utils-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),Y=require("react"),Z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),$=require("./KanbanActionsToolbar.cjs"),a=require("./utils-CITgSxXe.cjs"),k=require("./Kanban.cjs"),p=require("./KanbanCard-DihrKn-I.cjs"),P=require("./KanbanHeader.cjs"),ee=require("./KanbanFooter.cjs"),ne=Z.styled.div`
|
|
2
2
|
& .kanban-view-footer-lnc {
|
|
3
3
|
padding: 0 0.625rem;
|
|
4
4
|
}
|
package/dist/KanbanView.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as Z } from "react";
|
|
3
3
|
import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import k from "./KanbanActionsToolbar.js";
|
|
5
|
-
import { r,
|
|
5
|
+
import { r, j as s } from "./utils-B2fsQ6PS.js";
|
|
6
6
|
import p from "./Kanban.js";
|
|
7
7
|
import { K as P } from "./KanbanCard-B9V9EjVE.js";
|
|
8
8
|
import ee from "./KanbanHeader.js";
|
|
@@ -45,13 +45,13 @@ const oe = $.div`
|
|
|
45
45
|
},
|
|
46
46
|
onDeleteCard: g = () => {
|
|
47
47
|
},
|
|
48
|
-
onEditColumn:
|
|
48
|
+
onEditColumn: j = () => {
|
|
49
49
|
},
|
|
50
|
-
onDeleteColumn:
|
|
50
|
+
onDeleteColumn: F = () => {
|
|
51
51
|
},
|
|
52
|
-
onCardDetails:
|
|
52
|
+
onCardDetails: I = () => {
|
|
53
53
|
},
|
|
54
|
-
onColumnDetails:
|
|
54
|
+
onColumnDetails: L = () => {
|
|
55
55
|
},
|
|
56
56
|
onAddNewCard: S = () => {
|
|
57
57
|
},
|
|
@@ -109,21 +109,21 @@ const oe = $.div`
|
|
|
109
109
|
/* @__PURE__ */ i(
|
|
110
110
|
ee,
|
|
111
111
|
{
|
|
112
|
-
onDetails:
|
|
112
|
+
onDetails: L,
|
|
113
113
|
actionsMenu: !0,
|
|
114
114
|
actions: [
|
|
115
115
|
{
|
|
116
116
|
name: x,
|
|
117
117
|
enable: v,
|
|
118
118
|
show: y,
|
|
119
|
-
onAction:
|
|
119
|
+
onAction: j,
|
|
120
120
|
icon: "pen"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
123
|
name: O,
|
|
124
124
|
enable: V,
|
|
125
125
|
show: _,
|
|
126
|
-
onAction:
|
|
126
|
+
onAction: F,
|
|
127
127
|
icon: "trash"
|
|
128
128
|
},
|
|
129
129
|
...z
|
|
@@ -133,7 +133,7 @@ const oe = $.div`
|
|
|
133
133
|
/* @__PURE__ */ i(
|
|
134
134
|
P,
|
|
135
135
|
{
|
|
136
|
-
onDetails:
|
|
136
|
+
onDetails: I,
|
|
137
137
|
actionsMenu: !0,
|
|
138
138
|
actions: [
|
|
139
139
|
{
|
package/dist/Link.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const m=require("react/jsx-runtime"),u=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-
|
|
1
|
+
"use strict";const m=require("react/jsx-runtime"),u=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CITgSxXe.cjs"),d=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),g=h.styled.a`
|
|
2
2
|
${e=>t.getComponentTypographyCss(e.theme,"Breadcrumbs",e.size,"enabled")};
|
|
3
3
|
color: ${e=>t.getColorRgbaValue(e.theme,"Link",e.color,"enabled","text")};
|
|
4
4
|
text-decoration: none;
|
package/dist/Link.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as h } from "react";
|
|
3
3
|
import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { d as f, c as t } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { u as k } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const u = d.a`
|
|
7
7
|
${(e) => f(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const A=require("react/jsx-runtime"),D=require("react"),N=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./
|
|
1
|
+
"use strict";const A=require("react/jsx-runtime"),D=require("react"),N=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./breakpoints-CcVm-gVm.cjs"),Z=require("./utils-CITgSxXe.cjs"),L=require("./useDetectMobile-DYV6V1yw.cjs"),q=require("./Button.cjs"),k=require("./Modal.cjs"),U=require("./TextInput.cjs"),G=require("./RangeSlider.cjs"),T=require("./IconButton.cjs"),J=N.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: 1.25rem;
|
|
4
4
|
padding: 1.5rem;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
overflow: hidden;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
@media
|
|
44
|
+
@media ${m.down("S")} {
|
|
45
45
|
gap: 1rem;
|
|
46
46
|
flex-direction: column;
|
|
47
47
|
padding: 1rem;
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
white-space: nowrap;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
@media
|
|
90
|
+
@media ${m.down("S")} {
|
|
91
91
|
gap: 1.25rem;
|
|
92
92
|
flex-direction: row;
|
|
93
93
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
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
|
-
import { s as
|
|
4
|
-
import {
|
|
5
|
-
import { t as m } from "./utils-
|
|
6
|
-
import { u as _ } from "./useDetectMobile-
|
|
3
|
+
import { s as x } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { d as k } from "./breakpoints-ff0SIcV3.js";
|
|
5
|
+
import { t as m } from "./utils-B2fsQ6PS.js";
|
|
6
|
+
import { u as _ } from "./useDetectMobile-CcVo3PNi.js";
|
|
7
7
|
import Z from "./Button.js";
|
|
8
8
|
import $ from "./Modal.js";
|
|
9
9
|
import G from "./TextInput.js";
|
|
10
10
|
import q from "./RangeSlider.js";
|
|
11
11
|
import AA from "./IconButton.js";
|
|
12
|
-
const eA =
|
|
12
|
+
const eA = x.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
gap: 1.25rem;
|
|
15
15
|
padding: 1.5rem;
|
|
@@ -52,7 +52,7 @@ const eA = i.div`
|
|
|
52
52
|
overflow: hidden;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
@media
|
|
55
|
+
@media ${k("S")} {
|
|
56
56
|
gap: 1rem;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
padding: 1rem;
|
|
@@ -62,7 +62,7 @@ const eA = i.div`
|
|
|
62
62
|
max-height: 3rem;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
`, L =
|
|
65
|
+
`, L = x.div`
|
|
66
66
|
color: var(--gray-950, #14161a);
|
|
67
67
|
display: flex;
|
|
68
68
|
flex-direction: column;
|
|
@@ -98,7 +98,7 @@ const eA = i.div`
|
|
|
98
98
|
white-space: nowrap;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
@media
|
|
101
|
+
@media ${k("S")} {
|
|
102
102
|
gap: 1.25rem;
|
|
103
103
|
flex-direction: row;
|
|
104
104
|
|
|
@@ -162,7 +162,7 @@ const eA = i.div`
|
|
|
162
162
|
] })
|
|
163
163
|
] })
|
|
164
164
|
] });
|
|
165
|
-
}), vA =
|
|
165
|
+
}), vA = x.div`
|
|
166
166
|
display: flex;
|
|
167
167
|
align-items: center;
|
|
168
168
|
gap: 0.5rem;
|
|
@@ -197,7 +197,7 @@ const eA = i.div`
|
|
|
197
197
|
position: absolute;
|
|
198
198
|
right: 0;
|
|
199
199
|
}
|
|
200
|
-
`, tA =
|
|
200
|
+
`, tA = x.div`
|
|
201
201
|
display: flex;
|
|
202
202
|
justify-content: flex-end;
|
|
203
203
|
align-items: center;
|
|
@@ -213,7 +213,7 @@ const eA = i.div`
|
|
|
213
213
|
line-height: 1.25rem;
|
|
214
214
|
letter-spacing: -0.0056rem;
|
|
215
215
|
}
|
|
216
|
-
`, dA =
|
|
216
|
+
`, dA = x.div`
|
|
217
217
|
display: flex;
|
|
218
218
|
align-items: flex-start;
|
|
219
219
|
gap: 2rem;
|
|
@@ -417,9 +417,9 @@ const eA = i.div`
|
|
|
417
417
|
handleSubmit: Y = () => {
|
|
418
418
|
}
|
|
419
419
|
}, W) => {
|
|
420
|
-
const [z,
|
|
420
|
+
const [z, i] = y(t), [w, N] = y(d), [o, U] = y(g), p = (v) => {
|
|
421
421
|
var H;
|
|
422
|
-
|
|
422
|
+
i(+((H = v == null ? void 0 : v.target) == null ? void 0 : H.value));
|
|
423
423
|
}, R = (v) => {
|
|
424
424
|
var H;
|
|
425
425
|
N(+((H = v == null ? void 0 : v.target) == null ? void 0 : H.value));
|
|
@@ -680,12 +680,12 @@ const eA = i.div`
|
|
|
680
680
|
summaryTotalPaymentHint: W = "Lorem ipsum dolor sit amet consectetur. Sed sed viverra sed lobortis. At eu tellus tristique hac quis.",
|
|
681
681
|
handleSubmit: z = () => {
|
|
682
682
|
},
|
|
683
|
-
handleCancel:
|
|
683
|
+
handleCancel: i = () => {
|
|
684
684
|
}
|
|
685
685
|
}, w) => {
|
|
686
686
|
const N = () => {
|
|
687
687
|
var o;
|
|
688
|
-
(o = w == null ? void 0 : w.current) == null || o.close(),
|
|
688
|
+
(o = w == null ? void 0 : w.current) == null || o.close(), i();
|
|
689
689
|
};
|
|
690
690
|
return /* @__PURE__ */ A(
|
|
691
691
|
$,
|
|
@@ -770,7 +770,7 @@ const eA = i.div`
|
|
|
770
770
|
interestRateHint: Y,
|
|
771
771
|
loanPeriodLabel: W,
|
|
772
772
|
loanPeriodHint: z,
|
|
773
|
-
submitText:
|
|
773
|
+
submitText: i,
|
|
774
774
|
summaryMonthlyPaymentText: w,
|
|
775
775
|
summaryMonthlyPaymentHint: N,
|
|
776
776
|
summaryTotalPaymentText: o,
|
|
@@ -818,7 +818,7 @@ const eA = i.div`
|
|
|
818
818
|
interestRateHint: Y,
|
|
819
819
|
loanPeriodLabel: W,
|
|
820
820
|
loanPeriodHint: z,
|
|
821
|
-
submitText:
|
|
821
|
+
submitText: i,
|
|
822
822
|
summaryMonthlyPaymentText: w,
|
|
823
823
|
summaryMonthlyPaymentHint: N,
|
|
824
824
|
summaryTotalPaymentText: o,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),l=require("react"),p=require("./index-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),l=require("react"),p=require("./index-Dc0EEBRW.cjs"),d=l.forwardRef((e,t)=>{const{locationFinderTitle:n,locationFinderPlaceholder:o,openMapText:i,onOpenMap:r=()=>{},mapFilters:c,inputComponent:a}=e;return s.jsx(p.LocationFinder,{ref:t,title:n,placeholderText:o,onOpenMap:r,openMapText:i,mapFilters:c,inputComponent:a})});module.exports=d;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),d=require("react"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./breakpoints-CcVm-gVm.cjs"),j=require("./index-vQOR22Py.cjs"),v=a.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding: 1.25rem;
|
|
@@ -13,22 +13,29 @@
|
|
|
13
13
|
font-size: 1rem;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
@media
|
|
16
|
+
@media ${i.down("S")} {
|
|
17
17
|
padding: 0;
|
|
18
18
|
border-radius: 0;
|
|
19
19
|
box-shadow: none;
|
|
20
20
|
border: none;
|
|
21
21
|
}
|
|
22
|
-
`,S=
|
|
22
|
+
`,S=a.styled.div`
|
|
23
23
|
display: grid;
|
|
24
24
|
grid-template-columns: repeat(4, 1fr);
|
|
25
25
|
gap: 1.5rem;
|
|
26
26
|
|
|
27
|
-
@media
|
|
27
|
+
@media ${i.down("M")} {
|
|
28
28
|
grid-template-columns: repeat(2, 1fr);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media ${i.down("S")} {
|
|
29
32
|
gap: 0.5rem;
|
|
30
33
|
}
|
|
31
|
-
|
|
34
|
+
|
|
35
|
+
@media ${i.down("XS")} {
|
|
36
|
+
grid-template-columns: 1fr;
|
|
37
|
+
}
|
|
38
|
+
`,N=a.styled.div`
|
|
32
39
|
display: flex;
|
|
33
40
|
flex-direction: column;
|
|
34
41
|
gap: 0.75rem;
|
|
@@ -53,4 +60,4 @@
|
|
|
53
60
|
cursor: pointer;
|
|
54
61
|
transition: var(--transition);
|
|
55
62
|
}
|
|
56
|
-
`,
|
|
63
|
+
`,q=d.forwardRef((c,p)=>{const{title:m,items:s,options:o,selectedOption:g=[],onSelectRegion:u=()=>{},onSelectCity:x=()=>{},onSelectOption:f=()=>{},onSelectAll:h=()=>{},productsToolbarName:w="All"}=c;return e.jsxs(v,{ref:p,children:[e.jsx("div",{className:"wrapper-title",children:m}),(o==null?void 0:o.length)>0&&e.jsx(j.SelectBar,{items:o,selectedIds:g,onSelect:(r,t)=>{f(r,t)},onSelectAll:h,labelKey:"name",valueKey:"code",noMargin:!0,productsToolbarName:w}),e.jsx(S,{children:s==null?void 0:s.map((r,t)=>{var l;return e.jsxs(N,{children:[e.jsx("div",{className:"region",onClick:()=>u(r),children:r==null?void 0:r.name}),e.jsx("div",{className:"group-items",children:(l=r==null?void 0:r.cities)==null?void 0:l.map((n,b)=>e.jsx(d.Fragment,{children:e.jsxs("div",{className:"city",onClick:()=>x(n),children:[e.jsx("span",{children:n==null?void 0:n.name}),e.jsxs("span",{className:"count-txt",children:["(",n==null?void 0:n.count,")"]})]})},t+b))})]},t)})})]})});module.exports=q;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { s as
|
|
4
|
-
import {
|
|
5
|
-
import { S as N } from "./index-
|
|
6
|
-
const C =
|
|
1
|
+
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as x, Fragment as w } from "react";
|
|
3
|
+
import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { d as t } from "./breakpoints-ff0SIcV3.js";
|
|
5
|
+
import { S as N } from "./index-BzSWu-7v.js";
|
|
6
|
+
const C = d.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
padding: 1.25rem;
|
|
@@ -18,22 +18,29 @@ const C = l.div`
|
|
|
18
18
|
font-size: 1rem;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
@media
|
|
21
|
+
@media ${t("S")} {
|
|
22
22
|
padding: 0;
|
|
23
23
|
border-radius: 0;
|
|
24
24
|
box-shadow: none;
|
|
25
25
|
border: none;
|
|
26
26
|
}
|
|
27
|
-
`,
|
|
27
|
+
`, $ = d.div`
|
|
28
28
|
display: grid;
|
|
29
29
|
grid-template-columns: repeat(4, 1fr);
|
|
30
30
|
gap: 1.5rem;
|
|
31
31
|
|
|
32
|
-
@media
|
|
32
|
+
@media ${t("M")} {
|
|
33
33
|
grid-template-columns: repeat(2, 1fr);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media ${t("S")} {
|
|
34
37
|
gap: 0.5rem;
|
|
35
38
|
}
|
|
36
|
-
|
|
39
|
+
|
|
40
|
+
@media ${t("XS")} {
|
|
41
|
+
grid-template-columns: 1fr;
|
|
42
|
+
}
|
|
43
|
+
`, k = d.div`
|
|
37
44
|
display: flex;
|
|
38
45
|
flex-direction: column;
|
|
39
46
|
gap: 0.75rem;
|
|
@@ -58,23 +65,23 @@ const C = l.div`
|
|
|
58
65
|
cursor: pointer;
|
|
59
66
|
transition: var(--transition);
|
|
60
67
|
}
|
|
61
|
-
`,
|
|
68
|
+
`, M = x((m, p) => {
|
|
62
69
|
const {
|
|
63
70
|
title: c,
|
|
64
|
-
items:
|
|
71
|
+
items: l,
|
|
65
72
|
options: a,
|
|
66
73
|
selectedOption: g = [],
|
|
67
74
|
onSelectRegion: f = () => {
|
|
68
75
|
},
|
|
69
|
-
onSelectCity:
|
|
76
|
+
onSelectCity: u = () => {
|
|
70
77
|
},
|
|
71
|
-
onSelectOption:
|
|
78
|
+
onSelectOption: h = () => {
|
|
72
79
|
},
|
|
73
|
-
onSelectAll:
|
|
80
|
+
onSelectAll: v = () => {
|
|
74
81
|
},
|
|
75
|
-
productsToolbarName:
|
|
76
|
-
} =
|
|
77
|
-
return /* @__PURE__ */
|
|
82
|
+
productsToolbarName: S = "All"
|
|
83
|
+
} = m;
|
|
84
|
+
return /* @__PURE__ */ i(C, { ref: p, children: [
|
|
78
85
|
/* @__PURE__ */ o("div", { className: "wrapper-title", children: c }),
|
|
79
86
|
(a == null ? void 0 : a.length) > 0 && /* @__PURE__ */ o(
|
|
80
87
|
N,
|
|
@@ -82,22 +89,22 @@ const C = l.div`
|
|
|
82
89
|
items: a,
|
|
83
90
|
selectedIds: g,
|
|
84
91
|
onSelect: (e, n) => {
|
|
85
|
-
|
|
92
|
+
h(e, n);
|
|
86
93
|
},
|
|
87
|
-
onSelectAll:
|
|
94
|
+
onSelectAll: v,
|
|
88
95
|
labelKey: "name",
|
|
89
96
|
valueKey: "code",
|
|
90
97
|
noMargin: !0,
|
|
91
|
-
productsToolbarName:
|
|
98
|
+
productsToolbarName: S
|
|
92
99
|
}
|
|
93
100
|
),
|
|
94
|
-
/* @__PURE__ */ o(
|
|
95
|
-
var
|
|
96
|
-
return /* @__PURE__ */
|
|
101
|
+
/* @__PURE__ */ o($, { children: l == null ? void 0 : l.map((e, n) => {
|
|
102
|
+
var s;
|
|
103
|
+
return /* @__PURE__ */ i(k, { children: [
|
|
97
104
|
/* @__PURE__ */ o("div", { className: "region", onClick: () => f(e), children: e == null ? void 0 : e.name }),
|
|
98
|
-
/* @__PURE__ */ o("div", { className: "group-items", children: (
|
|
105
|
+
/* @__PURE__ */ o("div", { className: "group-items", children: (s = e == null ? void 0 : e.cities) == null ? void 0 : s.map((r, b) => /* @__PURE__ */ o(w, { children: /* @__PURE__ */ i("div", { className: "city", onClick: () => u(r), children: [
|
|
99
106
|
/* @__PURE__ */ o("span", { children: r == null ? void 0 : r.name }),
|
|
100
|
-
/* @__PURE__ */
|
|
107
|
+
/* @__PURE__ */ i("span", { className: "count-txt", children: [
|
|
101
108
|
"(",
|
|
102
109
|
r == null ? void 0 : r.count,
|
|
103
110
|
")"
|
|
@@ -108,5 +115,5 @@ const C = l.div`
|
|
|
108
115
|
] });
|
|
109
116
|
});
|
|
110
117
|
export {
|
|
111
|
-
|
|
118
|
+
M as default
|
|
112
119
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),p=require("react"),j=require("./Button.cjs"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),p=require("react"),j=require("./Button.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./utils-CITgSxXe.cjs"),s=require("./breakpoints-CcVm-gVm.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),n=require("./style-BAcV7F53.cjs"),y=d.styled.a`
|
|
2
2
|
text-decoration: none;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -108,13 +108,13 @@
|
|
|
108
108
|
}
|
|
109
109
|
cursor: pointer;
|
|
110
110
|
|
|
111
|
-
@media
|
|
111
|
+
@media ${s.down("S")} {
|
|
112
112
|
& .wrapper__image {
|
|
113
113
|
height: 100%;
|
|
114
114
|
max-height: 14.5rem;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
`,
|
|
117
|
+
`,k=p.forwardRef(({title:r,imageUrl:t,description:o,buttonText:a,onSelectCard:c=()=>{},className:m,position:g,tag:l,backgroundColor:h,buttonLink:x,LinkComponent:u},f)=>{const w=u||"a",_=b.useTheme();return e.jsx(e.Fragment,{children:e.jsxs(y,{ref:f,theme:_,className:m,position:g,backgroundColor:h,onClick:c,as:w,...u?{to:`/${x}`}:{href:`/${x}`},children:[e.jsx("img",{src:t,className:"wrapper__image"}),e.jsxs("div",{className:"wrapper__text",children:[l&&e.jsx("div",{className:"text__tag",children:l}),e.jsx("div",{className:"text__title",children:r}),i.isDefinedNotEmptyString(o)&&e.jsx("div",{className:"text__description",children:o}),i.isDefinedNotEmptyString(a)&&e.jsx(j,{text:a,className:"text__action"})]})]})})}),S=d.styled.div`
|
|
118
118
|
display: flex;
|
|
119
119
|
flex-direction: column;
|
|
120
120
|
gap: 1.5rem;
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
@media
|
|
141
|
+
@media ${s.down("S")} {
|
|
142
142
|
& .regular-title {
|
|
143
143
|
font-size: 1.375rem;
|
|
144
144
|
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
`,$=
|
|
150
|
+
`,$=d.styled.div`
|
|
151
151
|
display: grid;
|
|
152
152
|
grid-template-columns: ${()=>"repeat(12, minmax(0, 1fr))"};
|
|
153
153
|
|
|
@@ -157,7 +157,11 @@
|
|
|
157
157
|
height: 30rem;
|
|
158
158
|
max-height: 30rem;
|
|
159
159
|
|
|
160
|
-
@media
|
|
160
|
+
@media ${s.down("M")} {
|
|
161
|
+
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@media ${s.down("S")} {
|
|
161
165
|
display: flex;
|
|
162
166
|
flex-direction: column;
|
|
163
167
|
gap: 1.25rem;
|
|
@@ -165,8 +169,8 @@
|
|
|
165
169
|
height: 100%;
|
|
166
170
|
max-height: 100%;
|
|
167
171
|
}
|
|
168
|
-
`,v=
|
|
169
|
-
@media
|
|
172
|
+
`,v=d.styled(n.SkeletonRowWrapper)`
|
|
173
|
+
@media ${s.down("S")} {
|
|
170
174
|
flex-direction: column;
|
|
171
175
|
|
|
172
176
|
& .skeleton__big {
|
|
@@ -179,4 +183,4 @@
|
|
|
179
183
|
flex-direction: column;
|
|
180
184
|
}
|
|
181
185
|
}
|
|
182
|
-
`,
|
|
186
|
+
`,G=({keyPrefix:r})=>e.jsxs(v,{children:[e.jsx(n.SkeletonColumnWrapper,{children:e.jsx(n.SkeletonLinePlaceholder,{height:"31.25rem",className:"skeleton__big"},`${r}-1`)}),e.jsxs(n.SkeletonColumnWrapper,{children:[e.jsxs(n.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-2`),e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-3`)]}),e.jsxs(n.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-4`),e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-5`)]})]})]}),N=({keyPrefix:r,isLoading:t=!1,fallbackComponent:o=e.jsx(e.Fragment,{}),children:a})=>e.jsx(p.Suspense,{fallbackComponent:o,children:t===!0?e.jsx(G,{keyPrefix:r}):a}),C=p.forwardRef(({title:r,items:t,isLoading:o=!1,limit:a=3,onSelectCard:c=()=>{},LinkComponent:m},g)=>e.jsxs(S,{ref:g,children:[e.jsx("div",{className:"regular-title",children:e.jsx("div",{className:"regular-title-text",children:e.jsx("span",{children:r})})}),e.jsx(N,{isLoading:o,keyPrefix:"masonry-general-cards-skeleton",children:e.jsx($,{limit:a,children:t&&(t==null?void 0:t.map((l,h)=>e.jsx(k,{...l,onSelectCard:()=>c(l),LinkComponent:m},`landing-page-masonry-general-card__${h+1}`)))})})]}));module.exports=C;
|