@ubnt/store.core 9.57.0-new-design → 9.57.0

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 (540) hide show
  1. package/CHANGELOG.md +1 -104
  2. package/lib/_virtual/_virtual_multi-entry.js +10 -13
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +11 -13
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/apis/smartcat.d.ts +2 -12
  7. package/lib/apis/smartcat.js +4 -27
  8. package/lib/apis/smartcat.js.map +1 -1
  9. package/lib/apis/smartcat.mjs +4 -27
  10. package/lib/apis/smartcat.mjs.map +1 -1
  11. package/lib/assets/icons/menu/{icon-location-pin.svg.js → icon-globe.svg.js} +6 -6
  12. package/lib/assets/icons/menu/icon-globe.svg.js.map +1 -0
  13. package/lib/assets/icons/menu/icon-globe.svg.mjs +3 -0
  14. package/lib/assets/icons/menu/icon-globe.svg.mjs.map +1 -0
  15. package/lib/assets/logoUnifi.svg +2 -10
  16. package/lib/assets/udmPro.jpg +0 -0
  17. package/lib/assets/udmPro2.jpg +0 -0
  18. package/lib/assets/udmProMax.jpg +0 -0
  19. package/lib/assets/udmProMax2.jpg +0 -0
  20. package/lib/assets/udmProSpecial.jpg +0 -0
  21. package/lib/assets/udmProSpecial2.jpg +0 -0
  22. package/lib/components/Accordion/Accordion.js +4 -4
  23. package/lib/components/Avatar/Avatar.js +2 -2
  24. package/lib/components/BackInStock/BackInStock.types.d.ts +0 -1
  25. package/lib/components/Button/Button.js +5 -12
  26. package/lib/components/Button/Button.js.map +1 -1
  27. package/lib/components/Button/Button.mjs +1 -8
  28. package/lib/components/Button/Button.mjs.map +1 -1
  29. package/lib/components/Button/CartButton.d.ts +1 -3
  30. package/lib/components/Button/CartButton.js +6 -11
  31. package/lib/components/Button/CartButton.js.map +1 -1
  32. package/lib/components/Button/CartButton.mjs +4 -8
  33. package/lib/components/Button/CartButton.mjs.map +1 -1
  34. package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  35. package/lib/components/ButtonGroup/ButtonGroup.js +9 -16
  36. package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
  37. package/lib/components/ButtonGroup/ButtonGroup.mjs +9 -16
  38. package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
  39. package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +6 -10
  40. package/lib/components/ButtonGroup/ButtonGroup.styles.js +20 -60
  41. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  42. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +20 -60
  43. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  44. package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +0 -5
  45. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.d.ts +1 -1
  46. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +4 -16
  47. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
  48. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +5 -17
  49. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
  50. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +1 -5
  51. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +17 -82
  52. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
  53. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +17 -82
  54. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
  55. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +0 -4
  56. package/lib/components/CardSection/Card/Card.js +6 -6
  57. package/lib/components/CardSection/CardSection.js +2 -2
  58. package/lib/components/CardSection/CardSection.styles.d.ts +1 -1
  59. package/lib/components/CartIcon/CartIcon.js +2 -2
  60. package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +2 -4
  61. package/lib/components/CategoryTabs/CategoryTabs.styles.js +5 -8
  62. package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
  63. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +6 -7
  64. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
  65. package/lib/components/Checkbox/Checkbox.js +4 -4
  66. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  67. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  68. package/lib/components/Compare/Compare.styles.d.ts +5 -5
  69. package/lib/components/Container/Container.d.ts +1 -1
  70. package/lib/components/Container/Container.js +4 -5
  71. package/lib/components/Container/Container.js.map +1 -1
  72. package/lib/components/Container/Container.mjs +4 -5
  73. package/lib/components/Container/Container.mjs.map +1 -1
  74. package/lib/components/Container/index.stories.d.ts +5 -5
  75. package/lib/components/CustomImage/CustomImage.js +12 -12
  76. package/lib/components/Explore/Explore.js +5 -5
  77. package/lib/components/Explore/ExploreData.js +12 -12
  78. package/lib/components/Explore/ExploreData.js.map +1 -1
  79. package/lib/components/Explore/ExploreData.mjs +12 -12
  80. package/lib/components/Explore/ExploreData.mjs.map +1 -1
  81. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  82. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +22 -22
  83. package/lib/components/Footer/Footer.js +2 -2
  84. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  85. package/lib/components/Gallery/Gallery.context.js +17 -17
  86. package/lib/components/Gallery/Gallery.js +9 -9
  87. package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
  88. package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
  89. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  90. package/lib/components/GridGallery/GridGallery.js +8 -8
  91. package/lib/components/GridGallery/GridModal/GridModal.js +6 -6
  92. package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
  93. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  94. package/lib/components/Header/AccountMenu/AccountMenu.js +20 -30
  95. package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
  96. package/lib/components/Header/AccountMenu/AccountMenu.mjs +3 -13
  97. package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
  98. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  99. package/lib/components/Header/CartModalV2/CartModal.js +5 -5
  100. package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
  101. package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
  102. package/lib/components/Header/Header.js +43 -43
  103. package/lib/components/Header/Header.js.map +1 -1
  104. package/lib/components/Header/Header.mjs +9 -9
  105. package/lib/components/Header/Header.mjs.map +1 -1
  106. package/lib/components/Header/Header.styles.d.ts +12 -7
  107. package/lib/components/Header/Header.styles.js +32 -10
  108. package/lib/components/Header/Header.styles.js.map +1 -1
  109. package/lib/components/Header/Header.styles.mjs +31 -10
  110. package/lib/components/Header/Header.styles.mjs.map +1 -1
  111. package/lib/components/Header/Header.types.d.ts +5 -29
  112. package/lib/components/Header/Header.types.js +1 -2
  113. package/lib/components/Header/Header.types.js.map +1 -1
  114. package/lib/components/Header/Header.types.mjs +1 -2
  115. package/lib/components/Header/Header.types.mjs.map +1 -1
  116. package/lib/components/Header/IsolatedHeader.d.ts +0 -1
  117. package/lib/components/Header/IsolatedHeader.js +50 -50
  118. package/lib/components/Header/IsolatedHeader.js.map +1 -1
  119. package/lib/components/Header/IsolatedHeader.mjs +46 -47
  120. package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
  121. package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
  122. package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +1 -1
  123. package/lib/components/Header/MenuItem/MenuItem.styles.js +3 -3
  124. package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
  125. package/lib/components/Header/MenuItem/MenuItem.styles.mjs +3 -3
  126. package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
  127. package/lib/components/Header/MenuItem/MenuItem.types.d.ts +0 -1
  128. package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
  129. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
  130. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
  131. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
  132. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +1 -1
  133. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.d.ts +1 -1
  134. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +109 -116
  135. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
  136. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +104 -111
  137. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
  138. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +0 -9
  139. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +1 -15
  140. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
  141. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +2 -13
  142. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
  143. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +6 -12
  144. package/lib/components/Header/Overlay/Overlay.js +3 -3
  145. package/lib/components/Header/ProHeader/ProHeader.d.ts +5 -9
  146. package/lib/components/Header/ProHeader/ProHeader.js +189 -270
  147. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  148. package/lib/components/Header/ProHeader/ProHeader.mjs +171 -251
  149. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  150. package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +25 -30
  151. package/lib/components/Header/ProHeader/ProHeader.styles.js +66 -119
  152. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  153. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +65 -112
  154. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  155. package/lib/components/Header/translations/ar.json.js +1 -4
  156. package/lib/components/Header/translations/ar.json.js.map +1 -1
  157. package/lib/components/Header/translations/ar.json.mjs +2 -4
  158. package/lib/components/Header/translations/ar.json.mjs.map +1 -1
  159. package/lib/components/Header/translations/de.json.js +1 -4
  160. package/lib/components/Header/translations/de.json.js.map +1 -1
  161. package/lib/components/Header/translations/de.json.mjs +2 -4
  162. package/lib/components/Header/translations/de.json.mjs.map +1 -1
  163. package/lib/components/Header/translations/el.json.js +1 -4
  164. package/lib/components/Header/translations/el.json.js.map +1 -1
  165. package/lib/components/Header/translations/el.json.mjs +2 -4
  166. package/lib/components/Header/translations/el.json.mjs.map +1 -1
  167. package/lib/components/Header/translations/en.json.js +1 -7
  168. package/lib/components/Header/translations/en.json.js.map +1 -1
  169. package/lib/components/Header/translations/en.json.mjs +2 -6
  170. package/lib/components/Header/translations/en.json.mjs.map +1 -1
  171. package/lib/components/Header/translations/es.json.js +1 -4
  172. package/lib/components/Header/translations/es.json.js.map +1 -1
  173. package/lib/components/Header/translations/es.json.mjs +2 -4
  174. package/lib/components/Header/translations/es.json.mjs.map +1 -1
  175. package/lib/components/Header/translations/fr.json.js +1 -4
  176. package/lib/components/Header/translations/fr.json.js.map +1 -1
  177. package/lib/components/Header/translations/fr.json.mjs +2 -4
  178. package/lib/components/Header/translations/fr.json.mjs.map +1 -1
  179. package/lib/components/Header/translations/it.json.js +1 -4
  180. package/lib/components/Header/translations/it.json.js.map +1 -1
  181. package/lib/components/Header/translations/it.json.mjs +2 -4
  182. package/lib/components/Header/translations/it.json.mjs.map +1 -1
  183. package/lib/components/Header/translations/ja.json.js +1 -4
  184. package/lib/components/Header/translations/ja.json.js.map +1 -1
  185. package/lib/components/Header/translations/ja.json.mjs +2 -4
  186. package/lib/components/Header/translations/ja.json.mjs.map +1 -1
  187. package/lib/components/Header/translations/pt-BR.json.js +1 -4
  188. package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
  189. package/lib/components/Header/translations/pt-BR.json.mjs +2 -4
  190. package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
  191. package/lib/components/Header/translations/zh-Hans.json.js +1 -4
  192. package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
  193. package/lib/components/Header/translations/zh-Hans.json.mjs +2 -4
  194. package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
  195. package/lib/components/Header/translations/zh-Hant-TW.json.js +1 -4
  196. package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
  197. package/lib/components/Header/translations/zh-Hant-TW.json.mjs +2 -4
  198. package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
  199. package/lib/components/Hero/Hero.js +5 -5
  200. package/lib/components/Hero/Hero.styles.d.ts +2 -2
  201. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +1 -1
  202. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  203. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +2 -2
  204. package/lib/components/ImageCarousel/ImageCarousel.js +29 -29
  205. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  206. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  207. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  208. package/lib/components/LandingPage/LandingPage.js +2 -2
  209. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  210. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +1 -1
  211. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  212. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  213. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
  214. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  215. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +1 -1
  216. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +3 -3
  217. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +3 -3
  218. package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
  219. package/lib/components/LoaderDots/LoaderDots.js +1 -3
  220. package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
  221. package/lib/components/LoaderDots/LoaderDots.mjs +1 -3
  222. package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
  223. package/lib/components/LoaderDots/LoaderDots.styles.d.ts +1 -2
  224. package/lib/components/LoaderDots/LoaderDots.styles.js +1 -11
  225. package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
  226. package/lib/components/LoaderDots/LoaderDots.styles.mjs +1 -11
  227. package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
  228. package/lib/components/LoaderDots/LoaderDots.types.d.ts +0 -2
  229. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  230. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  231. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +1 -1
  232. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  233. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  234. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  235. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  236. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  237. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  238. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  239. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  240. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +1 -1
  241. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  242. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +12 -12
  243. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  244. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  245. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  246. package/lib/components/MobileModal/MobileModal.js +4 -4
  247. package/lib/components/Modal/Modal.js +3 -3
  248. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  249. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  250. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  251. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  252. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  253. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  254. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  255. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  256. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  257. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  258. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  259. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  260. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  261. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  262. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
  263. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
  264. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  265. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  266. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  267. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  268. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
  269. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
  270. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  271. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  272. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  273. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  274. package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
  275. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
  276. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +2 -4
  277. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
  278. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +2 -4
  279. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
  280. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js +2 -2
  281. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js.map +1 -1
  282. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs +2 -2
  283. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs.map +1 -1
  284. package/lib/components/ModelCompareV3/data/products/express.js +3 -3
  285. package/lib/components/ModelCompareV3/data/products/express.js.map +1 -1
  286. package/lib/components/ModelCompareV3/data/products/express.mjs +3 -3
  287. package/lib/components/ModelCompareV3/data/products/express.mjs.map +1 -1
  288. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js +2 -4
  289. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
  290. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +2 -4
  291. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
  292. package/lib/components/ModelCompareV3/data/products/gatewayLite.js +2 -4
  293. package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
  294. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +2 -4
  295. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs.map +1 -1
  296. package/lib/components/ModelCompareV3/data/products/gatewayMax.js +2 -4
  297. package/lib/components/ModelCompareV3/data/products/gatewayMax.js.map +1 -1
  298. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs +2 -4
  299. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs.map +1 -1
  300. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js +2 -4
  301. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
  302. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +2 -4
  303. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs.map +1 -1
  304. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js +1 -3
  305. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js.map +1 -1
  306. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs +1 -3
  307. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs.map +1 -1
  308. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  309. package/lib/components/ModelCompareV3/data/products/ucgMax.js.map +1 -1
  310. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  311. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs.map +1 -1
  312. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +3 -3
  313. package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
  314. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +3 -3
  315. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs.map +1 -1
  316. package/lib/components/ModelCompareV3/data/products/udmPro.js +4 -4
  317. package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
  318. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +4 -4
  319. package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
  320. package/lib/components/ModelCompareV3/data/products/udmProMax.js +4 -4
  321. package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
  322. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +4 -4
  323. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
  324. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +4 -4
  325. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
  326. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +4 -4
  327. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
  328. package/lib/components/ModelCompareV3/data/products/udr.js +41 -5
  329. package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
  330. package/lib/components/ModelCompareV3/data/products/udr.mjs +21 -5
  331. package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
  332. package/lib/components/ModelCompareV3/data/products/udw.js +3 -3
  333. package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
  334. package/lib/components/ModelCompareV3/data/products/udw.mjs +3 -3
  335. package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
  336. package/lib/components/Pagination/Pagination.js +3 -3
  337. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  338. package/lib/components/ProductCard/ProductCard.js +7 -7
  339. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  340. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  341. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  342. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  343. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  344. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +1 -1
  345. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +1 -1
  346. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  347. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +2 -2
  348. package/lib/components/ProductWizard/Options/Options.js +3 -3
  349. package/lib/components/ProductWizard/ProductWizard.js +2 -2
  350. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
  351. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  352. package/lib/components/QuantityControls/QuantityControls.js +6 -6
  353. package/lib/components/QuantityControls/QuantityControls.js.map +1 -1
  354. package/lib/components/QuantityControls/QuantityControls.mjs +2 -2
  355. package/lib/components/QuantityControls/QuantityControls.mjs.map +1 -1
  356. package/lib/components/QuantityControls/QuantityControls.types.d.ts +1 -1
  357. package/lib/components/QuantityInput/QuantityInput.js +1 -6
  358. package/lib/components/QuantityInput/QuantityInput.js.map +1 -1
  359. package/lib/components/QuantityInput/QuantityInput.mjs +1 -6
  360. package/lib/components/QuantityInput/QuantityInput.mjs.map +1 -1
  361. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  362. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  363. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  364. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +5 -5
  365. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  366. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +4 -4
  367. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  368. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +7 -7
  369. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  370. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  371. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  372. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +15 -15
  373. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  374. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  375. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  376. package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
  377. package/lib/components/ScrollWrapper/ScrollWrapper.js +25 -33
  378. package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
  379. package/lib/components/ScrollWrapper/ScrollWrapper.mjs +8 -16
  380. package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
  381. package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +0 -2
  382. package/lib/components/Search/Input/Input.d.ts +1 -1
  383. package/lib/components/Search/Input/Input.js +8 -8
  384. package/lib/components/Search/Input/Input.js.map +1 -1
  385. package/lib/components/Search/Input/Input.mjs +4 -4
  386. package/lib/components/Search/Input/Input.mjs.map +1 -1
  387. package/lib/components/Search/Input/Input.styles.js +1 -0
  388. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  389. package/lib/components/Search/Input/Input.styles.mjs +1 -0
  390. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  391. package/lib/components/Search/Input/Input.types.d.ts +2 -3
  392. package/lib/components/Search/Modal/Modal.js +3 -3
  393. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  394. package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
  395. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  396. package/lib/components/Tooltip/Tooltip.js +5 -5
  397. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  398. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  399. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  400. package/lib/components/VideoPlayerNew/VideoPlayer.js +19 -19
  401. package/lib/components/index.d.ts +0 -1
  402. package/lib/components/index.js +0 -2
  403. package/lib/components/index.js.map +1 -1
  404. package/lib/components/index.mjs +0 -2
  405. package/lib/components/index.mjs.map +1 -1
  406. package/lib/constants/proStoreCategories/mapping/filters.d.ts +0 -17
  407. package/lib/constants/proStoreCategories/mapping/filters.js +0 -17
  408. package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
  409. package/lib/constants/proStoreCategories/mapping/filters.mjs +0 -17
  410. package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
  411. package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -4
  412. package/lib/constants/proStoreCategories/mapping/index.js +51 -50
  413. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  414. package/lib/constants/proStoreCategories/mapping/index.mjs +49 -49
  415. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  416. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +0 -5
  417. package/lib/constants/proStoreCategories/mapping/redirects.js +3 -18
  418. package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
  419. package/lib/constants/proStoreCategories/mapping/redirects.mjs +3 -18
  420. package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
  421. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +9 -9
  422. package/lib/constants/proStoreCategories/mapping/unifi.js +9 -9
  423. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  424. package/lib/constants/proStoreCategories/mapping/unifi.mjs +9 -9
  425. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  426. package/lib/constants/proStoreCategories/translations/ar.json.js +3 -7
  427. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  428. package/lib/constants/proStoreCategories/translations/ar.json.mjs +4 -7
  429. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  430. package/lib/constants/proStoreCategories/translations/de.json.js +3 -7
  431. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  432. package/lib/constants/proStoreCategories/translations/de.json.mjs +4 -7
  433. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  434. package/lib/constants/proStoreCategories/translations/el.json.js +3 -7
  435. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  436. package/lib/constants/proStoreCategories/translations/el.json.mjs +4 -7
  437. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  438. package/lib/constants/proStoreCategories/translations/en.json.js +3 -7
  439. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  440. package/lib/constants/proStoreCategories/translations/en.json.mjs +4 -7
  441. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  442. package/lib/constants/proStoreCategories/translations/es.json.js +3 -7
  443. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  444. package/lib/constants/proStoreCategories/translations/es.json.mjs +4 -7
  445. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  446. package/lib/constants/proStoreCategories/translations/fr.json.js +3 -7
  447. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  448. package/lib/constants/proStoreCategories/translations/fr.json.mjs +4 -7
  449. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  450. package/lib/constants/proStoreCategories/translations/it.json.js +3 -7
  451. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  452. package/lib/constants/proStoreCategories/translations/it.json.mjs +4 -7
  453. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  454. package/lib/constants/proStoreCategories/translations/ja.json.js +3 -7
  455. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  456. package/lib/constants/proStoreCategories/translations/ja.json.mjs +4 -7
  457. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  458. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +3 -7
  459. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  460. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +4 -7
  461. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  462. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +3 -7
  463. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  464. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +4 -7
  465. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  466. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +3 -7
  467. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  468. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +4 -7
  469. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  470. package/lib/constants/proStoreFilters/mapping.d.ts +3 -55
  471. package/lib/constants/proStoreFilters/mapping.js +10 -140
  472. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  473. package/lib/constants/proStoreFilters/mapping.mjs +10 -140
  474. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  475. package/lib/constants/theme.js +0 -4
  476. package/lib/constants/theme.js.map +1 -1
  477. package/lib/constants/theme.mjs +0 -4
  478. package/lib/constants/theme.mjs.map +1 -1
  479. package/lib/contexts/MenuContext/context.js +34 -34
  480. package/lib/contexts/MenuContext/context.js.map +1 -1
  481. package/lib/contexts/MenuContext/context.mjs +1 -1
  482. package/lib/contexts/MenuContext/context.mjs.map +1 -1
  483. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  484. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  485. package/lib/helpers/index.js +0 -1
  486. package/lib/helpers/index.js.map +1 -1
  487. package/lib/helpers/index.mjs +1 -1
  488. package/lib/helpers/proStoreCategories.js +2 -2
  489. package/lib/helpers/ux.d.ts +0 -8
  490. package/lib/helpers/ux.js +0 -15
  491. package/lib/helpers/ux.js.map +1 -1
  492. package/lib/helpers/ux.mjs +1 -15
  493. package/lib/helpers/ux.mjs.map +1 -1
  494. package/lib/hooks/useHasTouch.js +3 -3
  495. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  496. package/lib/hooks/useHorizontalScroll.js +2 -2
  497. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  498. package/lib/hooks/useScrollToY.js +2 -2
  499. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  500. package/lib/hooks/useTranslation.js +6 -6
  501. package/lib/utils/nextjs/ssr/registry.js +2 -2
  502. package/package.json +1 -1
  503. package/lib/assets/cart-secondary.svg +0 -5
  504. package/lib/assets/icon-location-pin.svg +0 -5
  505. package/lib/assets/icons/cart-secondary.svg.js +0 -27
  506. package/lib/assets/icons/cart-secondary.svg.js.map +0 -1
  507. package/lib/assets/icons/cart-secondary.svg.mjs +0 -3
  508. package/lib/assets/icons/cart-secondary.svg.mjs.map +0 -1
  509. package/lib/assets/icons/menu/icon-location-pin.svg.js.map +0 -1
  510. package/lib/assets/icons/menu/icon-location-pin.svg.mjs +0 -3
  511. package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +0 -1
  512. package/lib/components/ButtonGroupBasic/index.stories.d.ts +0 -6
  513. package/lib/components/Header/Header.stories.d.ts +0 -111
  514. package/lib/components/Header/LogoIcon/LogoIcon.d.ts +0 -7
  515. package/lib/components/Header/LogoIcon/LogoIcon.js +0 -46
  516. package/lib/components/Header/LogoIcon/LogoIcon.js.map +0 -1
  517. package/lib/components/Header/LogoIcon/LogoIcon.mjs +0 -36
  518. package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +0 -1
  519. package/lib/components/Header/LogoIcon/index.d.ts +0 -1
  520. package/lib/components/Header/LogoIcon/index.js +0 -6
  521. package/lib/components/Header/LogoIcon/index.js.map +0 -1
  522. package/lib/components/Header/LogoIcon/index.mjs +0 -3
  523. package/lib/components/Header/LogoIcon/index.mjs.map +0 -1
  524. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +0 -2
  525. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +0 -81
  526. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +0 -1
  527. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +0 -73
  528. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +0 -1
  529. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +0 -5
  530. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +0 -11
  531. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +0 -80
  532. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +0 -1
  533. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +0 -66
  534. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +0 -1
  535. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +0 -12
  536. package/lib/components/ProductTechSpecsV2/index.d.ts +0 -1
  537. package/lib/components/ProductTechSpecsV2/index.js +0 -6
  538. package/lib/components/ProductTechSpecsV2/index.js.map +0 -1
  539. package/lib/components/ProductTechSpecsV2/index.mjs +0 -3
  540. package/lib/components/ProductTechSpecsV2/index.mjs.map +0 -1
@@ -42,19 +42,5 @@ const getTrueOffsetY = el => {
42
42
  }
43
43
  return offset;
44
44
  };
45
- const getTrueSize = el => {
46
- if (typeof window === "undefined") {
47
- return {
48
- width: 0,
49
- height: 0
50
- };
51
- }
52
- const style = window.getComputedStyle(el);
53
- const px = value => /^\d+px$/.test(value) ? parseFloat(value) : 0;
54
- return {
55
- width: el.offsetWidth + px(style.marginLeft) + px(style.marginRight),
56
- height: el.offsetHeight + px(style.marginTop) + px(style.marginBottom)
57
- };
58
- };
59
- export { getTrueOffsetY, getTrueSize, scrollIntoView, scrollToY };
45
+ export { getTrueOffsetY, scrollIntoView, scrollToY };
60
46
  //# sourceMappingURL=ux.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ux.mjs","sources":["../../src/helpers/ux.ts"],"sourcesContent":["const SCROLL_INTO_VIEW_DEFAULT_DURATION = 600;\n\n/**\n * Same as `window.scrollTo` but allows custom duration\n *\n * ! The scroll action won't be replaced if called multiple times\n * ? Instead `useScrollToY` hook will do that if needed\n */\nexport const scrollToY = (targetY: number, duration: number) => {\n let start: number | undefined;\n let previousTimeStamp: number;\n const initY = window.scrollY;\n const limit =\n document.documentElement.scrollHeight -\n document.documentElement.clientHeight;\n\n function step(timestamp: number) {\n if (start === undefined) {\n start = timestamp;\n }\n const elapsed = timestamp - start;\n const progress = (timestamp - start) / duration;\n\n if (previousTimeStamp !== timestamp) {\n window.scroll({\n top: ((targetY > limit ? limit : targetY) - initY) * progress + initY,\n });\n }\n\n if (elapsed < duration) {\n previousTimeStamp = timestamp;\n window.requestAnimationFrame(step);\n } else {\n window.scroll({\n top: targetY,\n });\n }\n }\n\n window.requestAnimationFrame(step);\n};\n\n/**\n * Scrolls to the element on the page\n *\n * ! This will scroll the entire page, do not use for inline scrolling\n *\n * @todo use Element.scrollIntoView() or Element.scrollIntoViewIfNeeded() when it's fully supported\n */\nexport const scrollIntoView = (\n element: Element | null,\n duration = SCROLL_INTO_VIEW_DEFAULT_DURATION,\n) => {\n if (typeof window === \"undefined\") return;\n if (!element) return;\n\n // Get scroll y target position\n const elementWindowY = element.getBoundingClientRect().top + window.scrollY;\n // Scroll to the element minus one third of the window height (so that it's at an optimal eye level)\n const y = elementWindowY - window.innerHeight * (1 / 3);\n\n // Animate\n scrollToY(y, duration);\n};\n\n/**\n * Get true page offset Y summing own and all parent offsets\n */\nexport const getTrueOffsetY = (el: HTMLElement) => {\n let offset = el.offsetTop;\n\n if (el.parentElement) {\n offset += getTrueOffsetY(el.parentElement);\n }\n\n return offset;\n};\n\n/**\n * Get true element width and height, including all margins and paddings.\n * Uses computed styles, and supports only margins that use px.\n */\nexport const getTrueSize = (\n el: HTMLElement,\n): { width: number; height: number } => {\n if (typeof window === \"undefined\") {\n return { width: 0, height: 0 };\n }\n\n const style = window.getComputedStyle(el);\n const px = (value: string): number =>\n /^\\d+px$/.test(value) ? parseFloat(value) : 0;\n\n return {\n width: el.offsetWidth + px(style.marginLeft) + px(style.marginRight),\n height: el.offsetHeight + px(style.marginTop) + px(style.marginBottom),\n };\n};\n"],"names":["SCROLL_INTO_VIEW_DEFAULT_DURATION","scrollToY","targetY","duration","start","previousTimeStamp","initY","window","scrollY","limit","document","documentElement","scrollHeight","clientHeight","step","timestamp","elapsed","progress","scroll","top","requestAnimationFrame","scrollIntoView","element","elementWindowY","getBoundingClientRect","y","innerHeight","getTrueOffsetY","el","offset","offsetTop","parentElement","getTrueSize","width","height","style","getComputedStyle","px","value","test","parseFloat","offsetWidth","marginLeft","marginRight","offsetHeight","marginTop","marginBottom"],"mappings":";;AAAA,MAAMA,iCAAoC,GAAA,GAAA;AAQ7B,MAAAC,SAAA,GAAYA,CAACC,OAAA,EAAiBC,QAAqB,KAAA;EAC1D,IAAAC,KAAA;EACA,IAAAC,iBAAA;EACJ,MAAMC,QAAQC,MAAO,CAAAC,OAAA;EACrB,MAAMC,KACJ,GAAAC,QAAA,CAASC,eAAgB,CAAAC,YAAA,GACzBF,SAASC,eAAgB,CAAAE,YAAA;EAE3B,SAASC,KAAKC,SAAmB,EAAA;IAC/B,IAAIX,UAAU,KAAW,CAAA,EAAA;MACfA,KAAA,GAAAW,SAAA;IACV;IACA,MAAMC,UAAUD,SAAY,GAAAX,KAAA;IACtB,MAAAa,QAAA,GAAA,CAAYF,YAAYX,KAAS,IAAAD,QAAA;IAEvC,IAAIE,sBAAsBU,SAAW,EAAA;MACnCR,MAAA,CAAOW,MAAO,CAAA;QACZC,OAAOjB,OAAU,GAAAO,KAAA,GAAQA,KAAQ,GAAAP,OAAA,IAAWI,SAASW,QAAW,GAAAX;MAAA,CACjE,CAAA;IACH;IAEA,IAAIU,UAAUb,QAAU,EAAA;MACFE,iBAAA,GAAAU,SAAA;MACpBR,MAAA,CAAOa,sBAAsBN,IAAI,CAAA;IAAA,CAC5B,MAAA;MACLP,MAAA,CAAOW,MAAO,CAAA;QACZC,GAAK,EAAAjB;MAAA,CACN,CAAA;IACH;EACF;EAEAK,MAAA,CAAOa,sBAAsBN,IAAI,CAAA;AACnC,CAAA;AASO,MAAMO,cAAiB,GAAAA,CAC5BC,OACA,EAAAnB,QAAA,GAAWH,iCACR,KAAA;EACC,IAAA,OAAOO,WAAW,WAAa,EAAA;EACnC,IAAI,CAACe,OAAS,EAAA;EAGd,MAAMC,cAAiB,GAAAD,OAAA,CAAQE,qBAAsB,CAAA,CAAA,CAAEL,MAAMZ,MAAO,CAAAC,OAAA;EAEpE,MAAMiB,CAAI,GAAAF,cAAA,GAAiBhB,MAAO,CAAAmB,WAAA,IAAe,CAAI,GAAA,CAAA,CAAA;EAGrDzB,SAAA,CAAUwB,GAAGtB,QAAQ,CAAA;AACvB,CAAA;AAKa,MAAAwB,cAAA,GAAkBC,EAAoB,IAAA;EACjD,IAAIC,SAASD,EAAG,CAAAE,SAAA;EAEhB,IAAIF,GAAGG,aAAe,EAAA;IACVF,MAAA,IAAAF,cAAA,CAAeC,GAAGG,aAAa,CAAA;EAC3C;EAEO,OAAAF,MAAA;AACT,CAAA;AAMa,MAAAG,WAAA,GACXJ,EACsC,IAAA;EAClC,IAAA,OAAOrB,WAAW,WAAa,EAAA;IACjC,OAAO;MAAE0B,KAAA,EAAO,CAAG;MAAAC,MAAA,EAAQ;IAAE,CAAA;EAC/B;EAEM,MAAAC,KAAA,GAAQ5B,MAAO,CAAA6B,gBAAA,CAAiBR,EAAE,CAAA;EAClC,MAAAS,EAAA,GAAMC,KACV,IAAA,SAAA,CAAUC,KAAKD,KAAK,CAAA,GAAIE,UAAW,CAAAF,KAAK,CAAI,GAAA,CAAA;EAEvC,OAAA;IACLL,KAAA,EAAOL,GAAGa,WAAc,GAAAJ,EAAA,CAAGF,MAAMO,UAAU,CAAA,GAAIL,EAAG,CAAAF,KAAA,CAAMQ,WAAW,CAAA;IACnET,MAAA,EAAQN,GAAGgB,YAAe,GAAAP,EAAA,CAAGF,MAAMU,SAAS,CAAA,GAAIR,EAAG,CAAAF,KAAA,CAAMW,YAAY;EAAA,CACvE;AACF,CAAA;"}
1
+ {"version":3,"file":"ux.mjs","sources":["../../src/helpers/ux.ts"],"sourcesContent":["const SCROLL_INTO_VIEW_DEFAULT_DURATION = 600;\n\n/**\n * Same as `window.scrollTo` but allows custom duration\n *\n * ! The scroll action won't be replaced if called multiple times\n * ? Instead `useScrollToY` hook will do that if needed\n */\nexport const scrollToY = (targetY: number, duration: number) => {\n let start: number | undefined;\n let previousTimeStamp: number;\n const initY = window.scrollY;\n const limit =\n document.documentElement.scrollHeight -\n document.documentElement.clientHeight;\n\n function step(timestamp: number) {\n if (start === undefined) {\n start = timestamp;\n }\n const elapsed = timestamp - start;\n const progress = (timestamp - start) / duration;\n\n if (previousTimeStamp !== timestamp) {\n window.scroll({\n top: ((targetY > limit ? limit : targetY) - initY) * progress + initY,\n });\n }\n\n if (elapsed < duration) {\n previousTimeStamp = timestamp;\n window.requestAnimationFrame(step);\n } else {\n window.scroll({\n top: targetY,\n });\n }\n }\n\n window.requestAnimationFrame(step);\n};\n\n/**\n * Scrolls to the element on the page\n *\n * ! This will scroll the entire page, do not use for inline scrolling\n *\n * @todo use Element.scrollIntoView() or Element.scrollIntoViewIfNeeded() when it's fully supported\n */\nexport const scrollIntoView = (\n element: Element | null,\n duration = SCROLL_INTO_VIEW_DEFAULT_DURATION,\n) => {\n if (typeof window === \"undefined\") return;\n if (!element) return;\n\n // Get scroll y target position\n const elementWindowY = element.getBoundingClientRect().top + window.scrollY;\n // Scroll to the element minus one third of the window height (so that it's at an optimal eye level)\n const y = elementWindowY - window.innerHeight * (1 / 3);\n\n // Animate\n scrollToY(y, duration);\n};\n\n/**\n * Get true page offset Y summing own and all parent offsets\n */\nexport const getTrueOffsetY = (el: HTMLElement) => {\n let offset = el.offsetTop;\n\n if (el.parentElement) {\n offset += getTrueOffsetY(el.parentElement);\n }\n\n return offset;\n};\n"],"names":["SCROLL_INTO_VIEW_DEFAULT_DURATION","scrollToY","targetY","duration","start","previousTimeStamp","initY","window","scrollY","limit","document","documentElement","scrollHeight","clientHeight","step","timestamp","elapsed","progress","scroll","top","requestAnimationFrame","scrollIntoView","element","elementWindowY","getBoundingClientRect","y","innerHeight","getTrueOffsetY","el","offset","offsetTop","parentElement"],"mappings":";;AAAA,MAAMA,iCAAoC,GAAA,GAAA;AAQ7B,MAAAC,SAAA,GAAYA,CAACC,OAAA,EAAiBC,QAAqB,KAAA;EAC1D,IAAAC,KAAA;EACA,IAAAC,iBAAA;EACJ,MAAMC,QAAQC,MAAO,CAAAC,OAAA;EACrB,MAAMC,KACJ,GAAAC,QAAA,CAASC,eAAgB,CAAAC,YAAA,GACzBF,SAASC,eAAgB,CAAAE,YAAA;EAE3B,SAASC,KAAKC,SAAmB,EAAA;IAC/B,IAAIX,UAAU,KAAW,CAAA,EAAA;MACfA,KAAA,GAAAW,SAAA;IACV;IACA,MAAMC,UAAUD,SAAY,GAAAX,KAAA;IACtB,MAAAa,QAAA,GAAA,CAAYF,YAAYX,KAAS,IAAAD,QAAA;IAEvC,IAAIE,sBAAsBU,SAAW,EAAA;MACnCR,MAAA,CAAOW,MAAO,CAAA;QACZC,OAAOjB,OAAU,GAAAO,KAAA,GAAQA,KAAQ,GAAAP,OAAA,IAAWI,SAASW,QAAW,GAAAX;MAAA,CACjE,CAAA;IACH;IAEA,IAAIU,UAAUb,QAAU,EAAA;MACFE,iBAAA,GAAAU,SAAA;MACpBR,MAAA,CAAOa,sBAAsBN,IAAI,CAAA;IAAA,CAC5B,MAAA;MACLP,MAAA,CAAOW,MAAO,CAAA;QACZC,GAAK,EAAAjB;MAAA,CACN,CAAA;IACH;EACF;EAEAK,MAAA,CAAOa,sBAAsBN,IAAI,CAAA;AACnC,CAAA;AASO,MAAMO,cAAiB,GAAAA,CAC5BC,OACA,EAAAnB,QAAA,GAAWH,iCACR,KAAA;EACC,IAAA,OAAOO,WAAW,WAAa,EAAA;EACnC,IAAI,CAACe,OAAS,EAAA;EAGd,MAAMC,cAAiB,GAAAD,OAAA,CAAQE,qBAAsB,CAAA,CAAA,CAAEL,MAAMZ,MAAO,CAAAC,OAAA;EAEpE,MAAMiB,CAAI,GAAAF,cAAA,GAAiBhB,MAAO,CAAAmB,WAAA,IAAe,CAAI,GAAA,CAAA,CAAA;EAGrDzB,SAAA,CAAUwB,GAAGtB,QAAQ,CAAA;AACvB,CAAA;AAKa,MAAAwB,cAAA,GAAkBC,EAAoB,IAAA;EACjD,IAAIC,SAASD,EAAG,CAAAE,SAAA;EAEhB,IAAIF,GAAGG,aAAe,EAAA;IACVF,MAAA,IAAAF,cAAA,CAAeC,GAAGG,aAAa,CAAA;EAC3C;EAEO,OAAAF,MAAA;AACT,CAAA;"}
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var React = require('react');
3
+ var react = require('react');
4
4
  "use strict";
5
5
  const useHasTouch = () => {
6
- const [hasTouch, setHasTouch] = React.useState(typeof document !== "undefined" && "ontouchstart" in document.documentElement || typeof window !== "undefined" && window.navigator.maxTouchPoints > 0);
7
- React.useEffect(() => {
6
+ const [hasTouch, setHasTouch] = react.useState(typeof document !== "undefined" && "ontouchstart" in document.documentElement || typeof window !== "undefined" && window.navigator.maxTouchPoints > 0);
7
+ react.useEffect(() => {
8
8
  let lastTouchTime = 0;
9
9
  function disableTouch() {
10
10
  if (Date.now() - lastTouchTime < 500) return;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var React = require('react');
3
+ var react = require('react');
4
4
  "use strict";
5
5
  const calculateTotalCameraRetentionLoad = cameras => {
6
6
  const cameraRetentionLoad = {
@@ -67,16 +67,16 @@ const getMaxRetention = inputs => {
67
67
  return lastItem?.value || 0;
68
68
  };
69
69
  const useRetentionCalculator = config => {
70
- const maxRetention = React.useMemo(() => {
70
+ const maxRetention = react.useMemo(() => {
71
71
  return getMaxRetention(config);
72
72
  }, [config]);
73
- const retentionHddItems = React.useMemo(() => {
73
+ const retentionHddItems = react.useMemo(() => {
74
74
  return getRetentionHddItems(config);
75
75
  }, [config]);
76
- const getRequiredHddsByRetention = React.useCallback(retention => {
76
+ const getRequiredHddsByRetention = react.useCallback(retention => {
77
77
  return getRequiredHddCountByTime(config, retention);
78
78
  }, [config]);
79
- const minRetentionStorage = React.useMemo(() => {
79
+ const minRetentionStorage = react.useMemo(() => {
80
80
  return retentionHddItems.find((item, i) => {
81
81
  return item.value > 0 && i + 1 >= config.parityDisks * 2;
82
82
  })?.value || 0;
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var React = require('react');
3
+ var react = require('react');
4
4
  "use strict";
5
5
  function useHorizontalScroll(ref, enabled = true) {
6
- React.useEffect(() => {
6
+ react.useEffect(() => {
7
7
  if (!enabled) return;
8
8
  if (!ref?.current) return;
9
9
  const element = ref.current;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var React = require('react');
3
+ var react = require('react');
4
4
  "use strict";
5
5
  const LOCK_SCROLL_CLASS = "lock-scroll";
6
6
  const updateElsClassList = (els, type) => {
@@ -11,8 +11,8 @@ const updateElsClassList = (els, type) => {
11
11
  }
12
12
  };
13
13
  const useLockBodyScrollCustom = isLocked => {
14
- const getEls = React.useCallback(() => [document.documentElement, document.body, document.getElementById("__next")], []);
15
- React.useEffect(() => {
14
+ const getEls = react.useCallback(() => [document.documentElement, document.body, document.getElementById("__next")], []);
15
+ react.useEffect(() => {
16
16
  if (isLocked) {
17
17
  updateElsClassList(getEls(), "add");
18
18
  } else {
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var React = require('react');
3
+ var react = require('react');
4
4
  "use strict";
5
5
  const useScrollToY = () => {
6
- const rafRef = React.useRef(0);
6
+ const rafRef = react.useRef(0);
7
7
  const cancelScrollToY = () => {
8
8
  window.cancelAnimationFrame(rafRef.current);
9
9
  };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var React = require('react');
3
+ var react = require('react');
4
4
  "use strict";
5
5
  const testMediaElementVolumeSetterAsync = () => {
6
6
  const timeoutPromise = new Promise(resolve => setTimeout(resolve, 500, false));
@@ -17,8 +17,8 @@ const testMediaElementVolumeSetterAsync = () => {
17
17
  return Promise.race([promise, timeoutPromise]);
18
18
  };
19
19
  const useTestMediaElementVolumeSetter = () => {
20
- const [isSupported, setIsSupported] = React.useState(null);
21
- React.useEffect(() => {
20
+ const [isSupported, setIsSupported] = react.useState(null);
21
+ react.useEffect(() => {
22
22
  testMediaElementVolumeSetterAsync().then(setIsSupported).catch(e => console.error("Cannot detect", e));
23
23
  }, []);
24
24
  return isSupported;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var intl = require('@formatjs/intl');
4
- var React = require('react');
4
+ var react = require('react');
5
5
  require('../contexts/MenuContext/index.js');
6
6
  var mapping = require('../contexts/MenuContext/mapping.js');
7
7
  var context = require('../contexts/MenuContext/context.js');
@@ -11,8 +11,8 @@ const useTranslationRaw = ({
11
11
  defaultTranslation,
12
12
  additionalTranslations
13
13
  }) => {
14
- const [activeTranslation, setActiveTranslation] = React.useState(defaultTranslation);
15
- React.useEffect(() => {
14
+ const [activeTranslation, setActiveTranslation] = react.useState(defaultTranslation);
15
+ react.useEffect(() => {
16
16
  const loadTranslations = async () => {
17
17
  try {
18
18
  if (language === mapping.DEFAULT_LANGUAGE) {
@@ -30,14 +30,14 @@ const useTranslationRaw = ({
30
30
  };
31
31
  loadTranslations();
32
32
  }, [language, additionalTranslations, defaultTranslation]);
33
- const intl$1 = React.useMemo(() => {
33
+ const intl$1 = react.useMemo(() => {
34
34
  const cache = intl.createIntlCache();
35
35
  return intl.createIntl({
36
36
  locale: language,
37
37
  messages: activeTranslation
38
38
  }, cache);
39
39
  }, [language, activeTranslation]);
40
- const formatMessage = React.useCallback((id, values) => intl$1.formatMessage({
40
+ const formatMessage = react.useCallback((id, values) => intl$1.formatMessage({
41
41
  id,
42
42
  defaultMessage: defaultTranslation[id]
43
43
  }, values), [intl$1, defaultTranslation]);
@@ -50,7 +50,7 @@ const useTranslation = options => {
50
50
  const {
51
51
  language
52
52
  } = context.useMenu();
53
- const optionsExtended = React.useMemo(() => ({
53
+ const optionsExtended = react.useMemo(() => ({
54
54
  ...options,
55
55
  language
56
56
  }), [options, language]);
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var React = require('react');
4
+ var react = require('react');
5
5
  var constants = require('./constants.js');
6
6
  "use strict";
7
- const UiComponentsSsrStyleRegistryPagesRouter = React.memo(function UiComponentsSsrStyleRegistryPagesRouter2() {
7
+ const UiComponentsSsrStyleRegistryPagesRouter = react.memo(function UiComponentsSsrStyleRegistryPagesRouter2() {
8
8
  const injections = globalThis[constants.SSR_INJECT_ID];
9
9
  const injectionsExist = !!injections && Array.isArray(injections) && !!injections.length;
10
10
  return /* @__PURE__ */jsxRuntime.jsxs(jsxRuntime.Fragment, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ubnt/store.core",
3
- "version": "9.57.0-new-design",
3
+ "version": "9.57.0",
4
4
  "description": "",
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -1,5 +0,0 @@
1
- <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M1.57031 3.22461C1.57031 2.94847 1.79417 2.72461 2.07031 2.72461H3.83016C4.06075 2.72461 4.26143 2.8823 4.31597 3.10635L4.76721 4.96011H15.4618C16.2475 4.96011 16.7435 5.28209 17.0921 5.69181C17.5418 6.2202 17.5409 6.79535 17.4341 7.29746C17.4326 7.30447 17.431 7.31144 17.4292 7.31838L16.3402 11.5367C16.2744 11.7811 16.1883 12.0166 16.0299 12.2394C15.8712 12.4623 15.6633 12.6403 15.3995 12.8097C14.8723 13.1485 14.2351 13.1586 13.6666 13.1586H6.73601C6.56942 13.1586 6.42693 13.2131 6.33011 13.3046C6.24039 13.3895 6.14553 13.5479 6.14553 13.849C6.14553 14.0633 6.23165 14.2209 6.34436 14.3293C6.47021 14.4504 6.60091 14.4849 6.64514 14.4849H14.9759L14.9762 15.4849H6.64514C6.29559 15.4849 5.92648 15.315 5.65098 15.0499C5.36233 14.7721 5.14553 14.3617 5.14553 13.849C5.14553 13.3172 5.32355 12.8803 5.64289 12.5782C5.8204 12.4103 6.02716 12.2977 6.24203 12.2318C6.16598 12.1628 6.09396 12.0942 6.02501 12.0275C5.46345 11.4847 5.17921 10.6674 4.99858 9.97217L4.99773 9.9689L3.88849 5.57837L3.43727 3.72461H2.07031C1.79417 3.72461 1.57031 3.50075 1.57031 3.22461ZM8.63721 12.1586H13.6666C14.2779 12.1586 14.6155 12.1249 14.859 11.9684C15.0564 11.8415 15.1541 11.7453 15.215 11.6597C15.2758 11.5742 15.3231 11.4672 15.3739 11.2791L16.4581 7.07929C16.5283 6.74241 16.498 6.53667 16.3305 6.33988C16.1457 6.12265 15.9162 5.96011 15.4618 5.96011H5.01636L5.96686 9.72231C6.14251 10.3978 6.37313 10.9732 6.72003 11.3086C6.98059 11.5604 7.21044 11.7641 7.49533 11.9119C7.7719 12.0555 8.12538 12.1586 8.63721 12.1586ZM14.9762 15.4849C15.2524 15.4849 15.4763 15.2611 15.4763 14.9849C15.4763 14.7088 15.2521 14.4849 14.9759 14.4849L14.9762 15.4849Z" fill="#006FFF"/>
3
- <path d="M14.1842 17.0193C14.1842 17.4059 13.8708 17.7193 13.4842 17.7193C13.0976 17.7193 12.7842 17.4059 12.7842 17.0193C12.7842 16.6327 13.0976 16.3193 13.4842 16.3193C13.8708 16.3193 14.1842 16.6327 14.1842 17.0193Z" fill="#006FFF"/>
4
- <path d="M8.30741 17.0193C8.30741 17.4059 7.99401 17.7193 7.60741 17.7193C7.22081 17.7193 6.90741 17.4059 6.90741 17.0193C6.90741 16.6327 7.22081 16.3193 7.60741 16.3193C7.99401 16.3193 8.30741 16.6327 8.30741 17.0193Z" fill="#006FFF"/>
5
- </svg>
@@ -1,5 +0,0 @@
1
- <svg width="17" height="17" viewBox="0 0 17 17" fill="none"
2
- xmlns="http://www.w3.org/2000/svg">
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M11.0499 6.80268C11.0499 8.21196 9.90823 9.3544 8.4999 9.3544C7.09158 9.3544 5.9499 8.21196 5.9499 6.80268C5.9499 5.3934 7.09158 4.25095 8.4999 4.25095C9.90823 4.25095 11.0499 5.3934 11.0499 6.80268ZM10.1999 6.80268C10.1999 7.7422 9.43879 8.50383 8.4999 8.50383C7.56102 8.50383 6.7999 7.7422 6.7999 6.80268C6.7999 5.86316 7.56102 5.10152 8.4999 5.10152C9.43879 5.10152 10.1999 5.86316 10.1999 6.80268Z" fill="currentColor"/>
4
- <path fill-rule="evenodd" clip-rule="evenodd" d="M8.4999 1.69922C5.68325 1.69922 3.3999 3.98411 3.3999 6.80268C3.3999 8.76181 4.31062 10.6139 5.31026 12.0638C6.31479 13.5208 7.44298 14.6203 7.94931 15.0835C8.26361 15.3711 8.73619 15.3711 9.0505 15.0835C9.55683 14.6203 10.685 13.5208 11.6895 12.0638C12.6892 10.6139 13.5999 8.76181 13.5999 6.80268C13.5999 3.98411 11.3166 1.69922 8.4999 1.69922ZM4.2499 6.80268C4.2499 4.45387 6.15269 2.54979 8.4999 2.54979C10.8471 2.54979 12.7499 4.45387 12.7499 6.80268C12.7499 8.51023 11.9489 10.1898 10.9899 11.5808C10.0506 12.9431 8.99195 13.9825 8.4999 14.4347C8.00786 13.9825 6.94916 12.9431 6.00991 11.5808C5.0509 10.1898 4.2499 8.51023 4.2499 6.80268Z" fill="currentColor"/>
5
- </svg>
@@ -1,27 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', {
4
- value: true
5
- });
6
- var CartIconSecondary = require("../cart-secondary.svg");
7
- function _interopDefault(e) {
8
- return e && e.__esModule ? e : {
9
- default: e
10
- };
11
- }
12
- var CartIconSecondary__default = /*#__PURE__*/_interopDefault(CartIconSecondary);
13
- Object.defineProperty(exports, "default", {
14
- enumerable: true,
15
- get: function () {
16
- return CartIconSecondary__default["default"];
17
- }
18
- });
19
- Object.keys(CartIconSecondary).forEach(function (k) {
20
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
- enumerable: true,
22
- get: function () {
23
- return CartIconSecondary[k];
24
- }
25
- });
26
- });
27
- //# sourceMappingURL=cart-secondary.svg.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cart-secondary.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,3 +0,0 @@
1
- export * from "../cart-secondary.svg";
2
- export { default } from "../cart-secondary.svg";
3
- //# sourceMappingURL=cart-secondary.svg.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cart-secondary.svg.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon-location-pin.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,3 +0,0 @@
1
- export * from "../../icon-location-pin.svg";
2
- export { default } from "../../icon-location-pin.svg";
3
- //# sourceMappingURL=icon-location-pin.svg.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon-location-pin.svg.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,6 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- component: ({ items, onClick, activeId, variant, innerContainerSize, }: import("./ButtonGroupBasic.types").ButtonGroupBasicProps) => JSX.Element;
4
- };
5
- export default _default;
6
- export declare const Base: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./ButtonGroupBasic.types").ButtonGroupBasicProps>;
@@ -1,111 +0,0 @@
1
- import type { ComponentProps } from "react";
2
- import { SiteId } from "../../contexts/MenuContext/mapping";
3
- import type { GlobalSiteConfig } from "../../contexts/MenuContext/types";
4
- import { GlobalStoreId, ProductLine } from "../../types";
5
- import { Language } from "../../types/constants";
6
- import { GlobalHeader } from "./Header";
7
- /**
8
- * HACK: instead of using ComponentStory and StoryMeta we use raw Story and Meta so we can add debug flags that are
9
- * needed for custom rendering of different story scenario's without that are on MenuContextProvider but not actually
10
- * passed in for the <Header/> itself
11
- */
12
- type CustomHeaderProps = ComponentProps<typeof GlobalHeader> & {
13
- context: SiteId;
14
- storeId?: GlobalStoreId;
15
- simulateAppropriateSubnavigations?: boolean;
16
- pathname?: string;
17
- globalSiteConfig?: GlobalSiteConfig;
18
- language?: Language;
19
- };
20
- declare const _default: {
21
- title: string;
22
- parameters: {
23
- layout: string;
24
- };
25
- argTypes: {
26
- context: {
27
- control: "select";
28
- options: SiteId[];
29
- };
30
- motif: {
31
- control: "radio";
32
- options: string[];
33
- };
34
- };
35
- };
36
- export default _default;
37
- export declare const StoreUnifiUS: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
38
- export declare const StoreUnifiEU: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
39
- export declare const StoreUnifiCA: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
40
- export declare const StoreUnifiME: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
41
- export declare const StoreUISP_US: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
42
- export declare const Generic: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
43
- export declare const UI: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
44
- export declare const UISP: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
45
- export declare const Techspecs: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
46
- export declare const Experts_UI: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
47
- export declare const Experts_UISP: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
48
- export declare const UWC: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
49
- export declare const NavigationLoading: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
50
- export declare const SearchLoading: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
51
- export declare const StoreCartModal: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Header.types").HeaderProps>;
52
- export declare const Isolated: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, {
53
- className?: string;
54
- motif: import("@ubnt/ui-components").Motif;
55
- translations?: import("./Header.types").HeaderTranslations;
56
- handleContinueShopping: () => void;
57
- showLineLoader?: boolean;
58
- account?: {
59
- loading?: import("./Header.types").HeaderAccount["loading"];
60
- customer?: {
61
- picture?: import("./Header.types").HeaderAccountCustomer["picture"];
62
- };
63
- };
64
- logo?: import("./Header.types").HeaderLogo;
65
- } & Pick<import("./Header.types").HeaderProps, "embedConfig">>;
66
- export declare const Pro: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("./Header.types").HeaderProps, "className" | "motif" | "cart" | "account" | "translations" | "onModalOpen" | "onCartClick" | "showLineLoader" | "accountMenu"> & {
67
- embedConfig?: import("./Header.types").HeaderEmbedConfig;
68
- handleStorePickerClick?: () => void;
69
- currentCountryName?: string;
70
- earlyAccess?: import("./Header.types").ProHeaderEarlyAccess;
71
- handlePurchaseHistoryClick?: () => void;
72
- handleOrderHistoryClick?: () => void;
73
- productLineOptions?: import("./Header.types").HeaderProductLineOption[];
74
- productLineValue?: ProductLine;
75
- handleProductLineChange?: (type: ProductLine) => void;
76
- handleMobileMenuClick?: () => void;
77
- onLanguageChange?: (e: React.MouseEvent<HTMLElement>, link: string, language: Language) => void;
78
- searchValue?: string;
79
- onSearch?: (searchTerm: string) => void;
80
- searchInputWidth?: number;
81
- searchInputChildren?: import("react").ReactNode;
82
- onSearchFocus?: () => void;
83
- onSearchBlur?: () => void;
84
- onSearchClick?: () => void;
85
- categories: import("./Header.types").ProHeaderCategories;
86
- hideInlineCategories?: boolean;
87
- logo?: import("./Header.types").HeaderLogo;
88
- }>;
89
- export declare const ProEmbedded: import("@storybook/core/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("./Header.types").HeaderProps, "className" | "motif" | "cart" | "account" | "translations" | "onModalOpen" | "onCartClick" | "showLineLoader" | "accountMenu"> & {
90
- embedConfig?: import("./Header.types").HeaderEmbedConfig;
91
- handleStorePickerClick?: () => void;
92
- currentCountryName?: string;
93
- earlyAccess?: import("./Header.types").ProHeaderEarlyAccess;
94
- handlePurchaseHistoryClick?: () => void;
95
- handleOrderHistoryClick?: () => void;
96
- productLineOptions?: import("./Header.types").HeaderProductLineOption[];
97
- productLineValue?: ProductLine;
98
- handleProductLineChange?: (type: ProductLine) => void;
99
- handleMobileMenuClick?: () => void;
100
- onLanguageChange?: (e: React.MouseEvent<HTMLElement>, link: string, language: Language) => void;
101
- searchValue?: string;
102
- onSearch?: (searchTerm: string) => void;
103
- searchInputWidth?: number;
104
- searchInputChildren?: import("react").ReactNode;
105
- onSearchFocus?: () => void;
106
- onSearchBlur?: () => void;
107
- onSearchClick?: () => void;
108
- categories: import("./Header.types").ProHeaderCategories;
109
- hideInlineCategories?: boolean;
110
- logo?: import("./Header.types").HeaderLogo;
111
- }>;
@@ -1,7 +0,0 @@
1
- import type { Nullish } from "../../../types";
2
- import { ProductLine } from "../../../types";
3
- interface HeaderLogoIconProps {
4
- productLine: Nullish<ProductLine>;
5
- }
6
- export declare const HeaderLogoIcon: ({ productLine }: HeaderLogoIconProps) => JSX.Element;
7
- export {};
@@ -1,46 +0,0 @@
1
- 'use strict';
2
-
3
- var jsxRuntime = require('react/jsx-runtime');
4
- require('../../../constants/icons/index.js');
5
- require('../../../types/index.js');
6
- require('../../StyleableSvgImage/index.js');
7
- var StyleableSvgImage = require('../../StyleableSvgImage/StyleableSvgImage.js');
8
- var _externalAssets_BPYvPCPi = require("../../../assets/logo.svg");
9
- var generated = require('../../../types/generated.js');
10
- var _externalAssets_TKrekyEi = require("../../../assets/logoUisp.svg");
11
- var _externalAssets_BH7iT_0Q = require("../../../assets/logoUnifi.svg");
12
- function _interopDefault(e) {
13
- return e && e.__esModule ? e : {
14
- default: e
15
- };
16
- }
17
- var _externalAssets_BPYvPCPi__default = /*#__PURE__*/_interopDefault(_externalAssets_BPYvPCPi);
18
- var _externalAssets_TKrekyEi__default = /*#__PURE__*/_interopDefault(_externalAssets_TKrekyEi);
19
- var _externalAssets_BH7iT_0Q__default = /*#__PURE__*/_interopDefault(_externalAssets_BH7iT_0Q);
20
- "use strict";
21
- const HeaderLogoIcon = ({
22
- productLine
23
- }) => {
24
- switch (productLine) {
25
- case generated.ProductLine.Unifi:
26
- return /* @__PURE__ */jsxRuntime.jsx(StyleableSvgImage.StyleableSvgImage, {
27
- src: _externalAssets_BH7iT_0Q__default["default"],
28
- width: 59,
29
- height: 18
30
- });
31
- case generated.ProductLine.Uisp:
32
- return /* @__PURE__ */jsxRuntime.jsx(StyleableSvgImage.StyleableSvgImage, {
33
- src: _externalAssets_TKrekyEi__default["default"],
34
- width: 56.5,
35
- height: 18
36
- });
37
- default:
38
- return /* @__PURE__ */jsxRuntime.jsx(StyleableSvgImage.StyleableSvgImage, {
39
- src: _externalAssets_BPYvPCPi__default["default"],
40
- width: 17.86,
41
- height: 18
42
- });
43
- }
44
- };
45
- exports.HeaderLogoIcon = HeaderLogoIcon;
46
- //# sourceMappingURL=LogoIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LogoIcon.js","sources":["../../../../src/components/Header/LogoIcon/LogoIcon.tsx"],"sourcesContent":["import * as icons from \"../../../constants/icons\";\nimport type { Nullish } from \"../../../types\";\nimport { ProductLine } from \"../../../types\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\n\ninterface HeaderLogoIconProps {\n productLine: Nullish<ProductLine>;\n}\n\nexport const HeaderLogoIcon = ({ productLine }: HeaderLogoIconProps) => {\n // #############################################################################\n // Render\n // #############################################################################\n switch (productLine) {\n case ProductLine.Unifi:\n return (\n <StyleableSvgImage\n src={icons.header.logoUnifi}\n width={59}\n height={18}\n />\n );\n case ProductLine.Uisp:\n return (\n <StyleableSvgImage\n src={icons.header.logoUisp}\n width={56.5}\n height={18}\n />\n );\n default:\n return (\n <StyleableSvgImage src={icons.header.logo} width={17.86} height={18} />\n );\n }\n};\n"],"names":["HeaderLogoIcon","productLine","ProductLine","Unifi","jsx","StyleableSvgImage","src","icons.header.logoUnifi","width","height","Uisp","icons.header.logoUisp","icons.header.logo"],"mappings":";;;;;;;;;;;;;;;;;;;;AASO,MAAMA,cAAiB,GAAAA,CAAC;EAAEC;CAAuC,KAAA;EAItE,QAAQA,WAAa;IACnB,KAAKC,SAAY,CAAAA,WAAA,CAAAC,KAAA;MAEb,sBAAAC,UAAA,CAAAA,GAAA,CAACC,iBAAA,CAAAA,iBAAA,EAAA;QACCC,GAAA,EAAKC,iCAAa,CAAA,SAAA,CAAA;QAClBC,KAAO,EAAA,EAAA;QACPC,MAAQ,EAAA;MAAA,CAAA,CACV;IAEJ,KAAKP,SAAY,CAAAA,WAAA,CAAAQ,IAAA;MAEb,sBAAAN,UAAA,CAAAA,GAAA,CAACC,iBAAA,CAAAA,iBAAA,EAAA;QACCC,GAAA,EAAKK,iCAAa,CAAA,SAAA,CAAA;QAClBH,KAAO,EAAA,IAAA;QACPC,MAAQ,EAAA;MAAA,CAAA,CACV;IAEJ;MAEI,sBAAAL,UAAA,CAAAA,GAAA,CAACC;QAAkBC,GAAK,EAAAM,iCAAAA,CAAAA,SAAAA,CAAmB;QAAAJ,KAAA,EAAO,KAAO;QAAAC,MAAA,EAAQ;MAAI,CAAA,CAAA;EAE3E;AACF,CAAA;"}
@@ -1,36 +0,0 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import '../../../constants/icons/index.mjs';
3
- import '../../../types/index.mjs';
4
- import '../../StyleableSvgImage/index.mjs';
5
- import { StyleableSvgImage } from '../../StyleableSvgImage/StyleableSvgImage.mjs';
6
- import _externalAssets_BPYvPCPi__default from "../../../assets/logo.svg";
7
- import { ProductLine } from '../../../types/generated.mjs';
8
- import _externalAssets_TKrekyEi__default from "../../../assets/logoUisp.svg";
9
- import _externalAssets_BH7iT_0Q__default from "../../../assets/logoUnifi.svg";
10
- "use strict";
11
- const HeaderLogoIcon = ({
12
- productLine
13
- }) => {
14
- switch (productLine) {
15
- case ProductLine.Unifi:
16
- return /* @__PURE__ */jsx(StyleableSvgImage, {
17
- src: _externalAssets_BH7iT_0Q__default,
18
- width: 59,
19
- height: 18
20
- });
21
- case ProductLine.Uisp:
22
- return /* @__PURE__ */jsx(StyleableSvgImage, {
23
- src: _externalAssets_TKrekyEi__default,
24
- width: 56.5,
25
- height: 18
26
- });
27
- default:
28
- return /* @__PURE__ */jsx(StyleableSvgImage, {
29
- src: _externalAssets_BPYvPCPi__default,
30
- width: 17.86,
31
- height: 18
32
- });
33
- }
34
- };
35
- export { HeaderLogoIcon };
36
- //# sourceMappingURL=LogoIcon.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LogoIcon.mjs","sources":["../../../../src/components/Header/LogoIcon/LogoIcon.tsx"],"sourcesContent":["import * as icons from \"../../../constants/icons\";\nimport type { Nullish } from \"../../../types\";\nimport { ProductLine } from \"../../../types\";\nimport { StyleableSvgImage } from \"../../StyleableSvgImage\";\n\ninterface HeaderLogoIconProps {\n productLine: Nullish<ProductLine>;\n}\n\nexport const HeaderLogoIcon = ({ productLine }: HeaderLogoIconProps) => {\n // #############################################################################\n // Render\n // #############################################################################\n switch (productLine) {\n case ProductLine.Unifi:\n return (\n <StyleableSvgImage\n src={icons.header.logoUnifi}\n width={59}\n height={18}\n />\n );\n case ProductLine.Uisp:\n return (\n <StyleableSvgImage\n src={icons.header.logoUisp}\n width={56.5}\n height={18}\n />\n );\n default:\n return (\n <StyleableSvgImage src={icons.header.logo} width={17.86} height={18} />\n );\n }\n};\n"],"names":["HeaderLogoIcon","productLine","ProductLine","Unifi","jsx","StyleableSvgImage","src","icons.header.logoUnifi","width","height","Uisp","icons.header.logoUisp","icons.header.logo"],"mappings":";;;;;;;;;;AASO,MAAMA,cAAiB,GAAAA,CAAC;EAAEC;CAAuC,KAAA;EAItE,QAAQA,WAAa;IACnB,KAAKC,WAAY,CAAAC,KAAA;MAEb,sBAAAC,GAAA,CAACC,iBAAA,EAAA;QACCC,GAAA,EAAKC,iCAAa;QAClBC,KAAO,EAAA,EAAA;QACPC,MAAQ,EAAA;MAAA,CAAA,CACV;IAEJ,KAAKP,WAAY,CAAAQ,IAAA;MAEb,sBAAAN,GAAA,CAACC,iBAAA,EAAA;QACCC,GAAA,EAAKK,iCAAa;QAClBH,KAAO,EAAA,IAAA;QACPC,MAAQ,EAAA;MAAA,CAAA,CACV;IAEJ;MAEI,sBAAAL,GAAA,CAACC;QAAkBC,GAAK,EAAAM,iCAAmB;QAAAJ,KAAA,EAAO,KAAO;QAAAC,MAAA,EAAQ;MAAI,CAAA,CAAA;EAE3E;AACF,CAAA;"}
@@ -1 +0,0 @@
1
- export * from "./LogoIcon";
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var LogoIcon = require('./LogoIcon.js');
4
- "use strict";
5
- exports.HeaderLogoIcon = LogoIcon.HeaderLogoIcon;
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,3 +0,0 @@
1
- export { HeaderLogoIcon } from './LogoIcon.mjs';
2
- "use strict";
3
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,2 +0,0 @@
1
- import type { ProductTechSpecsProps } from "./ProductTechSpecs.types";
2
- export declare const ProductTechSpecs: ({ sections, }: ProductTechSpecsProps) => JSX.Element;
@@ -1,81 +0,0 @@
1
- 'use strict';
2
-
3
- var jsxRuntime = require('react/jsx-runtime');
4
- var React = require('react');
5
- var typeGuards = require('../../utils/typeGuards.js');
6
- var ProductTechSpecs_styles = require('./ProductTechSpecs.styles.js');
7
- function _interopDefault(e) {
8
- return e && e.__esModule ? e : {
9
- default: e
10
- };
11
- }
12
- var React__default = /*#__PURE__*/_interopDefault(React);
13
- "use strict";
14
- const ProductTechSpecs = ({
15
- sections
16
- }) => {
17
- const renderFeatureValue = React.useCallback(value => {
18
- const lines = value.split("\n");
19
- return /* @__PURE__ */jsxRuntime.jsx(ProductTechSpecs_styles.Cell, {
20
- children: lines.map((line, i) => /* @__PURE__ */jsxRuntime.jsxs(React__default["default"].Fragment, {
21
- children: [i > 0 && /* @__PURE__ */jsxRuntime.jsx("br", {}), line]
22
- }, i))
23
- });
24
- }, []);
25
- const parsedSections = React.useMemo(() => {
26
- return sections.map(section => {
27
- const {
28
- withParentId,
29
- withoutParentId
30
- } = section.features.reduce((acc, feature) => {
31
- if (feature.parentId === null) {
32
- acc.withoutParentId.push(feature);
33
- } else {
34
- acc.withParentId.push(feature);
35
- }
36
- return acc;
37
- }, {
38
- withParentId: [],
39
- withoutParentId: []
40
- });
41
- const features = withoutParentId.map(parentFeature => {
42
- const children = withParentId.filter(childFeature => childFeature.parentId === parentFeature.id);
43
- const mappedFeature = {
44
- ...parentFeature,
45
- children
46
- };
47
- return mappedFeature.children.length > 0 || !!mappedFeature.value ? mappedFeature : null;
48
- }).filter(typeGuards.isNonNullish);
49
- return {
50
- id: section.id,
51
- label: section.label,
52
- features
53
- };
54
- }).filter(section => section.features.length > 0);
55
- }, [sections]);
56
- console.log(parsedSections);
57
- return /* @__PURE__ */jsxRuntime.jsx(ProductTechSpecs_styles.Wrap, {
58
- children: parsedSections.map((section, i) => /* @__PURE__ */jsxRuntime.jsxs(React__default["default"].Fragment, {
59
- children: [i > 0 && /* @__PURE__ */jsxRuntime.jsx(ProductTechSpecs_styles.SectionDivider, {}), /* @__PURE__ */jsxRuntime.jsx(ProductTechSpecs_styles.Row, {
60
- children: /* @__PURE__ */jsxRuntime.jsx(ProductTechSpecs_styles.Heading, {
61
- children: section.label
62
- })
63
- }), section.features.map(feature => /* @__PURE__ */jsxRuntime.jsxs(React__default["default"].Fragment, {
64
- children: [/* @__PURE__ */jsxRuntime.jsxs(ProductTechSpecs_styles.Row, {
65
- children: [/* @__PURE__ */jsxRuntime.jsx(ProductTechSpecs_styles.Cell, {
66
- children: feature.label
67
- }), feature.value && renderFeatureValue(feature.value)]
68
- }, feature.id), feature.children.length > 0 && feature.children.map((childFeature, i2) => /* @__PURE__ */jsxRuntime.jsxs(ProductTechSpecs_styles.Row, {
69
- children: [/* @__PURE__ */jsxRuntime.jsx(ProductTechSpecs_styles.Tree, {
70
- $isLast: i2 === feature.children.length - 1
71
- }), /* @__PURE__ */jsxRuntime.jsx(ProductTechSpecs_styles.Branch, {}), /* @__PURE__ */jsxRuntime.jsx(ProductTechSpecs_styles.Cell, {
72
- $isChildRowFirstCell: true,
73
- children: childFeature.label
74
- }), childFeature.value && renderFeatureValue(childFeature.value)]
75
- }, childFeature.id))]
76
- }, feature.id))]
77
- }, section.id))
78
- });
79
- };
80
- exports.ProductTechSpecs = ProductTechSpecs;
81
- //# sourceMappingURL=ProductTechSpecs.js.map