@ubnt/store.core 9.64.0-beta.1 → 9.64.0-new-design

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 (1062) hide show
  1. package/CHANGELOG.md +131 -615
  2. package/lib/_virtual/_virtual_multi-entry.js +15 -25
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +13 -13
  5. package/lib/apis/smartcat.d.ts +12 -2
  6. package/lib/apis/smartcat.js +27 -4
  7. package/lib/apis/smartcat.js.map +1 -1
  8. package/lib/apis/smartcat.mjs +27 -4
  9. package/lib/apis/smartcat.mjs.map +1 -1
  10. package/lib/assets/arrow2.svg +3 -0
  11. package/lib/assets/cart-secondary.svg +5 -0
  12. package/lib/assets/close2.svg +2 -3
  13. package/lib/assets/close3.svg +3 -2
  14. package/lib/assets/express.jpg +0 -0
  15. package/lib/assets/express2.jpg +0 -0
  16. package/lib/assets/express7.jpg +0 -0
  17. package/lib/assets/express72.jpg +0 -0
  18. package/lib/assets/icon-location-pin.svg +5 -0
  19. package/lib/assets/icons/{menu/icon-globe.svg.js → cart-secondary.svg.js} +6 -6
  20. package/lib/assets/icons/cart-secondary.svg.js.map +1 -0
  21. package/lib/assets/icons/cart-secondary.svg.mjs +3 -0
  22. package/lib/assets/icons/cart-secondary.svg.mjs.map +1 -0
  23. package/lib/{components/ModelCompareV3/assets/crestron.svg.js → assets/icons/menu/icon-location-pin.svg.js} +6 -6
  24. package/lib/assets/icons/menu/icon-location-pin.svg.js.map +1 -0
  25. package/lib/assets/icons/menu/icon-location-pin.svg.mjs +3 -0
  26. package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +1 -0
  27. package/lib/assets/logoUnifi.svg +10 -2
  28. package/lib/assets/minus4.svg +8 -8
  29. package/lib/assets/minus5.svg +8 -8
  30. package/lib/assets/payment-apple-pay.svg +12 -1
  31. package/lib/assets/payment-card.svg +12 -1
  32. package/lib/assets/payment-google-pay.svg +1 -1
  33. package/lib/assets/plus5.svg +9 -9
  34. package/lib/assets/plus6.svg +9 -9
  35. package/lib/assets/udr2.jpg +0 -0
  36. package/lib/assets/udr3.jpg +0 -0
  37. package/lib/assets/udr7.jpg +0 -0
  38. package/lib/assets/udr72.jpg +0 -0
  39. package/lib/components/Accordion/Accordion.js +13 -13
  40. package/lib/components/Accordion/Accordion.js.map +1 -1
  41. package/lib/components/Accordion/Accordion.mjs +9 -9
  42. package/lib/components/Accordion/Accordion.mjs.map +1 -1
  43. package/lib/components/Accordion/Accordion.styles.d.ts +18 -18
  44. package/lib/components/Accordion/Accordion.styles.js +22 -28
  45. package/lib/components/Accordion/Accordion.styles.js.map +1 -1
  46. package/lib/components/Accordion/Accordion.styles.mjs +22 -28
  47. package/lib/components/Accordion/Accordion.styles.mjs.map +1 -1
  48. package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +21 -23
  49. package/lib/components/Avatar/Avatar.js +5 -6
  50. package/lib/components/Avatar/Avatar.js.map +1 -1
  51. package/lib/components/Avatar/Avatar.mjs +3 -4
  52. package/lib/components/Avatar/Avatar.mjs.map +1 -1
  53. package/lib/components/Avatar/Avatar.styles.d.ts +2 -2
  54. package/lib/components/BackInStock/BackInStock.styles.d.ts +7 -12
  55. package/lib/components/Badge/Badge.styles.d.ts +2 -2
  56. package/lib/components/Banner/Banner.js +4 -4
  57. package/lib/components/Banner/Banner.js.map +1 -1
  58. package/lib/components/Banner/Banner.mjs +4 -4
  59. package/lib/components/Banner/Banner.mjs.map +1 -1
  60. package/lib/components/Banner/Banner.styles.d.ts +16 -16
  61. package/lib/components/Banner/Banner.styles.js +9 -9
  62. package/lib/components/Banner/Banner.styles.js.map +1 -1
  63. package/lib/components/Banner/Banner.styles.mjs +9 -9
  64. package/lib/components/Banner/Banner.styles.mjs.map +1 -1
  65. package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -2
  66. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +9 -9
  67. package/lib/components/Button/Button.js +12 -5
  68. package/lib/components/Button/Button.js.map +1 -1
  69. package/lib/components/Button/Button.mjs +8 -1
  70. package/lib/components/Button/Button.mjs.map +1 -1
  71. package/lib/components/Button/Button.styles.d.ts +4 -4
  72. package/lib/components/Button/CartButton.d.ts +3 -1
  73. package/lib/components/Button/CartButton.js +11 -6
  74. package/lib/components/Button/CartButton.js.map +1 -1
  75. package/lib/components/Button/CartButton.mjs +8 -4
  76. package/lib/components/Button/CartButton.mjs.map +1 -1
  77. package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  78. package/lib/components/ButtonGroup/ButtonGroup.js +11 -4
  79. package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
  80. package/lib/components/ButtonGroup/ButtonGroup.mjs +11 -4
  81. package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
  82. package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +12 -8
  83. package/lib/components/ButtonGroup/ButtonGroup.styles.js +46 -6
  84. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  85. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +46 -6
  86. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  87. package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +5 -0
  88. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +5 -5
  89. package/lib/components/ButtonGroupBasic/index.stories.d.ts +6 -0
  90. package/lib/components/CardSection/Card/Card.js +16 -16
  91. package/lib/components/CardSection/Card/Card.js.map +1 -1
  92. package/lib/components/CardSection/Card/Card.mjs +10 -10
  93. package/lib/components/CardSection/Card/Card.mjs.map +1 -1
  94. package/lib/components/CardSection/Card/Card.styles.d.ts +21 -21
  95. package/lib/components/CardSection/Card/Card.styles.js +22 -22
  96. package/lib/components/CardSection/Card/Card.styles.js.map +1 -1
  97. package/lib/components/CardSection/Card/Card.styles.mjs +22 -22
  98. package/lib/components/CardSection/Card/Card.styles.mjs.map +1 -1
  99. package/lib/components/CardSection/CardSection.js +2 -2
  100. package/lib/components/CardSection/CardSection.styles.d.ts +4 -4
  101. package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +11 -11
  102. package/lib/components/CartIcon/CartIcon.js +4 -4
  103. package/lib/components/CartIcon/CartIcon.js.map +1 -1
  104. package/lib/components/CartIcon/CartIcon.mjs +2 -2
  105. package/lib/components/CartIcon/CartIcon.mjs.map +1 -1
  106. package/lib/components/CartIcon/CartIcon.styles.d.ts +5 -5
  107. package/lib/components/CartIcon/CartIcon.styles.js +4 -4
  108. package/lib/components/CartIcon/CartIcon.styles.js.map +1 -1
  109. package/lib/components/CartIcon/CartIcon.styles.mjs +4 -4
  110. package/lib/components/CartIcon/CartIcon.styles.mjs.map +1 -1
  111. package/lib/components/CartSummary/CartSummary.js +1 -1
  112. package/lib/components/CartSummary/CartSummary.js.map +1 -1
  113. package/lib/components/CartSummary/CartSummary.mjs +1 -1
  114. package/lib/components/CartSummary/CartSummary.mjs.map +1 -1
  115. package/lib/components/CartSummary/CartSummary.styles.d.ts +13 -19
  116. package/lib/components/CartSummary/CartSummary.styles.js +2 -2
  117. package/lib/components/CartSummary/CartSummary.styles.js.map +1 -1
  118. package/lib/components/CartSummary/CartSummary.styles.mjs +2 -2
  119. package/lib/components/CartSummary/CartSummary.styles.mjs.map +1 -1
  120. package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +8 -6
  121. package/lib/components/CategoryTabs/CategoryTabs.styles.js +9 -6
  122. package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
  123. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +8 -7
  124. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
  125. package/lib/components/Checkbox/Checkbox.js +4 -7
  126. package/lib/components/Checkbox/Checkbox.js.map +1 -1
  127. package/lib/components/Checkbox/Checkbox.mjs +0 -3
  128. package/lib/components/Checkbox/Checkbox.mjs.map +1 -1
  129. package/lib/components/Checkbox/Checkbox.styles.d.ts +3 -3
  130. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  131. package/lib/components/CloserLookSection/CloserLookSection.styles.d.ts +8 -8
  132. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  133. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.d.ts +3 -3
  134. package/lib/components/Compare/Compare.styles.d.ts +34 -36
  135. package/lib/components/CompareChart/CompareChart.styles.d.ts +36 -40
  136. package/lib/components/CompareSection/CompareSection.styles.d.ts +16 -18
  137. package/lib/components/Container/Container.d.ts +1 -1
  138. package/lib/components/Container/Container.js +5 -4
  139. package/lib/components/Container/Container.js.map +1 -1
  140. package/lib/components/Container/Container.mjs +5 -4
  141. package/lib/components/Container/Container.mjs.map +1 -1
  142. package/lib/components/Container/Container.styles.d.ts +3 -3
  143. package/lib/components/Container/index.stories.d.ts +5 -5
  144. package/lib/components/CustomImage/CustomImage.js +12 -12
  145. package/lib/components/CustomImage/CustomImage.styles.d.ts +12 -12
  146. package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +4 -4
  147. package/lib/components/Explore/Explore.js +5 -5
  148. package/lib/components/Explore/Explore.styles.d.ts +28 -36
  149. package/lib/components/Explore/Explore.styles.js +6 -6
  150. package/lib/components/Explore/Explore.styles.js.map +1 -1
  151. package/lib/components/Explore/Explore.styles.mjs +6 -6
  152. package/lib/components/Explore/Explore.styles.mjs.map +1 -1
  153. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.d.ts +3 -5
  154. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  155. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.d.ts +15 -15
  156. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +23 -23
  157. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
  158. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.d.ts +22 -22
  159. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
  160. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
  161. package/lib/components/Footer/Footer.js +3 -2
  162. package/lib/components/Footer/Footer.js.map +1 -1
  163. package/lib/components/Footer/Footer.mjs +1 -0
  164. package/lib/components/Footer/Footer.mjs.map +1 -1
  165. package/lib/components/Footer/Footer.styles.d.ts +34 -39
  166. package/lib/components/Footer/Footer.styles.js +1 -1
  167. package/lib/components/Footer/Footer.styles.js.map +1 -1
  168. package/lib/components/Footer/Footer.styles.mjs +1 -1
  169. package/lib/components/Footer/Footer.styles.mjs.map +1 -1
  170. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  171. package/lib/components/Gallery/Gallery.context.js +17 -17
  172. package/lib/components/Gallery/Gallery.js +10 -10
  173. package/lib/components/Gallery/Gallery.js.map +1 -1
  174. package/lib/components/Gallery/Gallery.mjs +1 -1
  175. package/lib/components/Gallery/Gallery.mjs.map +1 -1
  176. package/lib/components/Gallery/Gallery.styles.d.ts +8 -12
  177. package/lib/components/Gallery/Gallery.styles.js +1 -3
  178. package/lib/components/Gallery/Gallery.styles.js.map +1 -1
  179. package/lib/components/Gallery/Gallery.styles.mjs +1 -3
  180. package/lib/components/Gallery/Gallery.styles.mjs.map +1 -1
  181. package/lib/components/Gallery/GalleryControls/GalleryControls.js +5 -5
  182. package/lib/components/Gallery/GalleryControls/GalleryControls.js.map +1 -1
  183. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs +1 -1
  184. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs.map +1 -1
  185. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.d.ts +9 -9
  186. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js +2 -2
  187. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js.map +1 -1
  188. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs +2 -2
  189. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs.map +1 -1
  190. package/lib/components/Gallery/GalleryItem/GalleryItem.js +13 -13
  191. package/lib/components/Gallery/GalleryItem/GalleryItem.js.map +1 -1
  192. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs +5 -5
  193. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs.map +1 -1
  194. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.d.ts +10 -10
  195. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js +11 -11
  196. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js.map +1 -1
  197. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs +11 -11
  198. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs.map +1 -1
  199. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  200. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.d.ts +8 -8
  201. package/lib/components/GradientButton/GradientButton.d.ts +1 -1
  202. package/lib/components/GradientButton/GradientButton.js +0 -2
  203. package/lib/components/GradientButton/GradientButton.js.map +1 -1
  204. package/lib/components/GradientButton/GradientButton.mjs +0 -2
  205. package/lib/components/GradientButton/GradientButton.mjs.map +1 -1
  206. package/lib/components/GradientButton/GradientButton.styles.d.ts +4 -4
  207. package/lib/components/GradientButton/GradientButton.styles.js +6 -6
  208. package/lib/components/GradientButton/GradientButton.styles.js.map +1 -1
  209. package/lib/components/GradientButton/GradientButton.styles.mjs +6 -6
  210. package/lib/components/GradientButton/GradientButton.styles.mjs.map +1 -1
  211. package/lib/components/GridGallery/GridGallery.js +9 -9
  212. package/lib/components/GridGallery/GridGallery.js.map +1 -1
  213. package/lib/components/GridGallery/GridGallery.mjs +1 -1
  214. package/lib/components/GridGallery/GridGallery.mjs.map +1 -1
  215. package/lib/components/GridGallery/GridGallery.styles.d.ts +13 -13
  216. package/lib/components/GridGallery/GridGallery.styles.js +2 -2
  217. package/lib/components/GridGallery/GridGallery.styles.js.map +1 -1
  218. package/lib/components/GridGallery/GridGallery.styles.mjs +2 -2
  219. package/lib/components/GridGallery/GridGallery.styles.mjs.map +1 -1
  220. package/lib/components/GridGallery/GridModal/GridModal.js +7 -7
  221. package/lib/components/GridGallery/GridModal/GridModal.js.map +1 -1
  222. package/lib/components/GridGallery/GridModal/GridModal.mjs +1 -1
  223. package/lib/components/GridGallery/GridModal/GridModal.mjs.map +1 -1
  224. package/lib/components/GridGallery/GridModal/GridModal.styles.d.ts +7 -7
  225. package/lib/components/GridGallery/GridModal/GridModal.styles.js +4 -4
  226. package/lib/components/GridGallery/GridModal/GridModal.styles.js.map +1 -1
  227. package/lib/components/GridGallery/GridModal/GridModal.styles.mjs +4 -4
  228. package/lib/components/GridGallery/GridModal/GridModal.styles.mjs.map +1 -1
  229. package/lib/components/Header/AccountFrame/AccountFrame.js +12 -12
  230. package/lib/components/Header/AccountFrame/AccountFrame.js.map +1 -1
  231. package/lib/components/Header/AccountFrame/AccountFrame.mjs +1 -1
  232. package/lib/components/Header/AccountFrame/AccountFrame.mjs.map +1 -1
  233. package/lib/components/Header/AccountFrame/AccountFrame.styles.d.ts +15 -19
  234. package/lib/components/Header/AccountFrame/AccountFrame.styles.js +2 -2
  235. package/lib/components/Header/AccountFrame/AccountFrame.styles.js.map +1 -1
  236. package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs +2 -2
  237. package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs.map +1 -1
  238. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  239. package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.d.ts +3 -3
  240. package/lib/components/Header/AccountMenu/AccountMenu.js +30 -20
  241. package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
  242. package/lib/components/Header/AccountMenu/AccountMenu.mjs +13 -3
  243. package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
  244. package/lib/components/Header/AccountMenu/AccountMenu.styles.d.ts +12 -30
  245. package/lib/components/Header/CartModal/CartModal.styles.d.ts +13 -15
  246. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  247. package/lib/components/Header/CartModal/Empty/Empty.styles.d.ts +1 -1
  248. package/lib/components/Header/CartModal/Item/Item.styles.d.ts +10 -10
  249. package/lib/components/Header/CartModalV2/CartModal.js +5 -5
  250. package/lib/components/Header/CartModalV2/CartModal.styles.d.ts +21 -23
  251. package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
  252. package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +13 -13
  253. package/lib/components/Header/Header.js +40 -40
  254. package/lib/components/Header/Header.js.map +1 -1
  255. package/lib/components/Header/Header.mjs +6 -6
  256. package/lib/components/Header/Header.mjs.map +1 -1
  257. package/lib/components/Header/Header.stories.d.ts +111 -0
  258. package/lib/components/Header/Header.styles.d.ts +40 -49
  259. package/lib/components/Header/Header.styles.js +11 -33
  260. package/lib/components/Header/Header.styles.js.map +1 -1
  261. package/lib/components/Header/Header.styles.mjs +11 -32
  262. package/lib/components/Header/Header.styles.mjs.map +1 -1
  263. package/lib/components/Header/Header.types.d.ts +29 -5
  264. package/lib/components/Header/Header.types.js +2 -1
  265. package/lib/components/Header/Header.types.js.map +1 -1
  266. package/lib/components/Header/Header.types.mjs +2 -1
  267. package/lib/components/Header/Header.types.mjs.map +1 -1
  268. package/lib/components/Header/IsolatedHeader.d.ts +1 -0
  269. package/lib/components/Header/IsolatedHeader.js +50 -50
  270. package/lib/components/Header/IsolatedHeader.js.map +1 -1
  271. package/lib/components/Header/IsolatedHeader.mjs +47 -46
  272. package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
  273. package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
  274. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.d.ts +17 -14
  275. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js +51 -0
  276. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js.map +1 -1
  277. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs +47 -1
  278. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs.map +1 -1
  279. package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.d.ts +3 -3
  280. package/lib/components/Header/LinksModal/LinksModal.styles.d.ts +4 -4
  281. package/lib/components/Header/LogoIcon/LogoIcon.d.ts +7 -0
  282. package/lib/components/Header/LogoIcon/LogoIcon.js +46 -0
  283. package/lib/components/Header/LogoIcon/LogoIcon.js.map +1 -0
  284. package/lib/components/Header/LogoIcon/LogoIcon.mjs +36 -0
  285. package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +1 -0
  286. package/lib/components/Header/LogoIcon/index.d.ts +1 -0
  287. package/lib/components/Header/LogoIcon/index.js +6 -0
  288. package/lib/components/Header/LogoIcon/index.js.map +1 -0
  289. package/lib/components/Header/LogoIcon/index.mjs +3 -0
  290. package/lib/components/Header/LogoIcon/index.mjs.map +1 -0
  291. package/lib/components/Header/MenuItem/MenuItem.js +5 -4
  292. package/lib/components/Header/MenuItem/MenuItem.js.map +1 -1
  293. package/lib/components/Header/MenuItem/MenuItem.mjs +5 -4
  294. package/lib/components/Header/MenuItem/MenuItem.mjs.map +1 -1
  295. package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +15 -15
  296. package/lib/components/Header/MenuItem/MenuItem.styles.js +11 -11
  297. package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
  298. package/lib/components/Header/MenuItem/MenuItem.styles.mjs +11 -11
  299. package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
  300. package/lib/components/Header/MenuItem/MenuItem.types.d.ts +1 -0
  301. package/lib/components/Header/Navigation/Carousel/Carousel.js +11 -11
  302. package/lib/components/Header/Navigation/Carousel/Carousel.js.map +1 -1
  303. package/lib/components/Header/Navigation/Carousel/Carousel.mjs +6 -6
  304. package/lib/components/Header/Navigation/Carousel/Carousel.mjs.map +1 -1
  305. package/lib/components/Header/Navigation/Carousel/Carousel.styles.d.ts +20 -20
  306. package/lib/components/Header/Navigation/Carousel/Carousel.styles.js +16 -16
  307. package/lib/components/Header/Navigation/Carousel/Carousel.styles.js.map +1 -1
  308. package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs +16 -16
  309. package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs.map +1 -1
  310. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +19 -19
  311. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js.map +1 -1
  312. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs +7 -7
  313. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs.map +1 -1
  314. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +23 -29
  315. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +19 -19
  316. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
  317. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs +19 -19
  318. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs.map +1 -1
  319. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +15 -15
  320. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
  321. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +9 -9
  322. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
  323. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +36 -40
  324. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js +18 -18
  325. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
  326. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs +18 -18
  327. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs.map +1 -1
  328. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.d.ts +1 -1
  329. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +124 -117
  330. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
  331. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +119 -112
  332. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
  333. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +14 -7
  334. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +15 -1
  335. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
  336. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +13 -2
  337. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
  338. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +12 -6
  339. package/lib/components/Header/Overlay/Overlay.js +3 -3
  340. package/lib/components/Header/Overlay/Overlay.styles.d.ts +2 -2
  341. package/lib/components/Header/ProHeader/ProHeader.d.ts +9 -5
  342. package/lib/components/Header/ProHeader/ProHeader.js +290 -189
  343. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  344. package/lib/components/Header/ProHeader/ProHeader.mjs +270 -171
  345. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  346. package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +49 -40
  347. package/lib/components/Header/ProHeader/ProHeader.styles.js +206 -68
  348. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  349. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +195 -67
  350. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  351. package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +3 -3
  352. package/lib/components/Header/translations/ar.json.js +4 -1
  353. package/lib/components/Header/translations/ar.json.js.map +1 -1
  354. package/lib/components/Header/translations/ar.json.mjs +4 -2
  355. package/lib/components/Header/translations/ar.json.mjs.map +1 -1
  356. package/lib/components/Header/translations/de.json.js +4 -1
  357. package/lib/components/Header/translations/de.json.js.map +1 -1
  358. package/lib/components/Header/translations/de.json.mjs +4 -2
  359. package/lib/components/Header/translations/de.json.mjs.map +1 -1
  360. package/lib/components/Header/translations/el.json.js +4 -1
  361. package/lib/components/Header/translations/el.json.js.map +1 -1
  362. package/lib/components/Header/translations/el.json.mjs +4 -2
  363. package/lib/components/Header/translations/el.json.mjs.map +1 -1
  364. package/lib/components/Header/translations/en.json.js +7 -1
  365. package/lib/components/Header/translations/en.json.js.map +1 -1
  366. package/lib/components/Header/translations/en.json.mjs +6 -2
  367. package/lib/components/Header/translations/en.json.mjs.map +1 -1
  368. package/lib/components/Header/translations/es.json.js +4 -1
  369. package/lib/components/Header/translations/es.json.js.map +1 -1
  370. package/lib/components/Header/translations/es.json.mjs +4 -2
  371. package/lib/components/Header/translations/es.json.mjs.map +1 -1
  372. package/lib/components/Header/translations/fr.json.js +4 -1
  373. package/lib/components/Header/translations/fr.json.js.map +1 -1
  374. package/lib/components/Header/translations/fr.json.mjs +4 -2
  375. package/lib/components/Header/translations/fr.json.mjs.map +1 -1
  376. package/lib/components/Header/translations/it.json.js +4 -1
  377. package/lib/components/Header/translations/it.json.js.map +1 -1
  378. package/lib/components/Header/translations/it.json.mjs +4 -2
  379. package/lib/components/Header/translations/it.json.mjs.map +1 -1
  380. package/lib/components/Header/translations/ja.json.js +4 -1
  381. package/lib/components/Header/translations/ja.json.js.map +1 -1
  382. package/lib/components/Header/translations/ja.json.mjs +4 -2
  383. package/lib/components/Header/translations/ja.json.mjs.map +1 -1
  384. package/lib/components/Header/translations/pt-BR.json.js +4 -1
  385. package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
  386. package/lib/components/Header/translations/pt-BR.json.mjs +4 -2
  387. package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
  388. package/lib/components/Header/translations/zh-Hans.json.js +4 -1
  389. package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
  390. package/lib/components/Header/translations/zh-Hans.json.mjs +4 -2
  391. package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
  392. package/lib/components/Header/translations/zh-Hant-TW.json.js +4 -1
  393. package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
  394. package/lib/components/Header/translations/zh-Hant-TW.json.mjs +4 -2
  395. package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
  396. package/lib/components/Hero/Hero.js +5 -5
  397. package/lib/components/Hero/Hero.styles.d.ts +28 -28
  398. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +12 -12
  399. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  400. package/lib/components/HeroVideo/HeroVideo.styles.d.ts +7 -7
  401. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +14 -14
  402. package/lib/components/ImageCarousel/ImageCarousel.js +30 -30
  403. package/lib/components/ImageCarousel/ImageCarousel.styles.d.ts +34 -38
  404. package/lib/components/ImageCarousel/ImageCarousel.styles.js +4 -5
  405. package/lib/components/ImageCarousel/ImageCarousel.styles.js.map +1 -1
  406. package/lib/components/ImageCarousel/ImageCarousel.styles.mjs +4 -5
  407. package/lib/components/ImageCarousel/ImageCarousel.styles.mjs.map +1 -1
  408. package/lib/components/ImageModal/ImageModal.styles.d.ts +6 -8
  409. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  410. package/lib/components/ImageSequence/ImageSequence.styles.d.ts +8 -8
  411. package/lib/components/InputSelect/InputSelect.styles.d.ts +8 -4
  412. package/lib/components/LandingPage/Block/Block.styles.d.ts +4 -4
  413. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  414. package/lib/components/LandingPage/Cards/Card/Card.styles.d.ts +17 -17
  415. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  416. package/lib/components/LandingPage/Cards/Cards.styles.d.ts +9 -9
  417. package/lib/components/LandingPage/Cards/Cards.styles.js +1 -1
  418. package/lib/components/LandingPage/Cards/Cards.styles.js.map +1 -1
  419. package/lib/components/LandingPage/Cards/Cards.styles.mjs +1 -1
  420. package/lib/components/LandingPage/Cards/Cards.styles.mjs.map +1 -1
  421. package/lib/components/LandingPage/LandingPage.js +2 -2
  422. package/lib/components/LandingPage/LandingPage.styles.d.ts +5 -5
  423. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  424. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +3 -3
  425. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  426. package/lib/components/LandingPageSearch/LandingPageSearch.styles.d.ts +2 -2
  427. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  428. package/lib/components/LandingPageSearch/Modal/Modal.styles.d.ts +22 -26
  429. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
  430. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.d.ts +22 -22
  431. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  432. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +21 -23
  433. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +54 -60
  434. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +49 -57
  435. package/lib/components/LearnMoreLink/LearnMoreLink.styles.d.ts +2 -2
  436. package/lib/components/Loader/Loader.styles.d.ts +4 -4
  437. package/lib/components/Loader/Spinner/Spinner.styles.d.ts +3 -3
  438. package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
  439. package/lib/components/LoaderDots/LoaderDots.js +3 -1
  440. package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
  441. package/lib/components/LoaderDots/LoaderDots.mjs +3 -1
  442. package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
  443. package/lib/components/LoaderDots/LoaderDots.styles.d.ts +4 -3
  444. package/lib/components/LoaderDots/LoaderDots.styles.js +11 -1
  445. package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
  446. package/lib/components/LoaderDots/LoaderDots.styles.mjs +11 -1
  447. package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
  448. package/lib/components/LoaderDots/LoaderDots.types.d.ts +2 -0
  449. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  450. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.d.ts +9 -11
  451. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  452. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +25 -25
  453. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js +2 -2
  454. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js.map +1 -1
  455. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs +2 -2
  456. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs.map +1 -1
  457. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  458. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.d.ts +6 -6
  459. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.d.ts +8 -8
  460. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  461. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.d.ts +18 -20
  462. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js +2 -2
  463. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js.map +1 -1
  464. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs +2 -2
  465. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs.map +1 -1
  466. package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.d.ts +11 -11
  467. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.d.ts +14 -14
  468. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  469. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.d.ts +24 -28
  470. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js +2 -2
  471. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js.map +1 -1
  472. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs +2 -2
  473. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs.map +1 -1
  474. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  475. package/lib/components/MicrositeHero/MicrositeHero.styles.d.ts +41 -41
  476. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  477. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.d.ts +6 -6
  478. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  479. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.d.ts +15 -15
  480. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  481. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.d.ts +15 -15
  482. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.d.ts +12 -14
  483. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js +2 -2
  484. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js.map +1 -1
  485. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs +2 -2
  486. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs.map +1 -1
  487. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  488. package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.styles.d.ts +3 -5
  489. package/lib/components/MicrositeSection/Features/Features.styles.d.ts +15 -15
  490. package/lib/components/MicrositeSection/MicrositeSection.styles.d.ts +24 -24
  491. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +6 -8
  492. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  493. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.d.ts +2 -2
  494. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +12 -12
  495. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.d.ts +17 -17
  496. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  497. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  498. package/lib/components/Microsites/MicrositeProductPage.styles.d.ts +8 -16
  499. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  500. package/lib/components/MobileModal/MobileModal.js +4 -4
  501. package/lib/components/MobileModal/MobileModal.styles.d.ts +8 -8
  502. package/lib/components/Modal/Modal.js +3 -3
  503. package/lib/components/Modal/Modal.styles.d.ts +1 -1
  504. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  505. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  506. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  507. package/lib/components/ModelCompareV3/ModelCompareV3.styles.d.ts +34 -84
  508. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +7 -8
  509. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
  510. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs +7 -8
  511. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs.map +1 -1
  512. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +0 -1
  513. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  514. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  515. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  516. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  517. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  518. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  519. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  520. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  521. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  522. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.d.ts +2 -2
  523. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  524. package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.d.ts +1 -1
  525. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  526. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.js +5 -5
  527. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.mjs +2 -2
  528. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.js +5 -5
  529. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.mjs +2 -2
  530. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +5 -5
  531. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
  532. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.js +5 -5
  533. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.mjs +2 -2
  534. package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.js +1 -1
  535. package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.mjs +2 -2
  536. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.js +1 -1
  537. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.mjs +2 -2
  538. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.js +1 -1
  539. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
  540. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.js +1 -1
  541. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.mjs +2 -2
  542. package/lib/components/ModelCompareV3/data/CloudGateways.js +6 -6
  543. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +4 -4
  544. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +2 -3
  545. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
  546. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +2 -3
  547. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
  548. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +3 -10
  549. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
  550. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +3 -10
  551. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
  552. package/lib/components/ModelCompareV3/data/Switching.js +2 -3
  553. package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
  554. package/lib/components/ModelCompareV3/data/Switching.mjs +2 -3
  555. package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
  556. package/lib/components/ModelCompareV3/data/products/aggregation.js +0 -7
  557. package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
  558. package/lib/components/ModelCompareV3/data/products/aggregation.mjs +0 -7
  559. package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
  560. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +1 -1
  561. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
  562. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +1 -1
  563. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
  564. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +0 -7
  565. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
  566. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +0 -7
  567. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
  568. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +0 -7
  569. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
  570. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -7
  571. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
  572. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +0 -7
  573. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
  574. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -7
  575. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +1 -1
  576. package/lib/components/ModelCompareV3/data/products/express.js +1 -1
  577. package/lib/components/ModelCompareV3/data/products/express.mjs +1 -1
  578. package/lib/components/ModelCompareV3/data/products/express7.js +1 -1
  579. package/lib/components/ModelCompareV3/data/products/express7.mjs +1 -1
  580. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +0 -7
  581. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
  582. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +0 -7
  583. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
  584. package/lib/components/ModelCompareV3/data/products/missionCritical.js +0 -7
  585. package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
  586. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +0 -7
  587. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
  588. package/lib/components/ModelCompareV3/data/products/professionalHd24.js +0 -7
  589. package/lib/components/ModelCompareV3/data/products/professionalHd24.js.map +1 -1
  590. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs +0 -7
  591. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs.map +1 -1
  592. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js +0 -7
  593. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js.map +1 -1
  594. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs +0 -7
  595. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs.map +1 -1
  596. package/lib/components/ModelCompareV3/data/products/professionalMax16.js +0 -7
  597. package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
  598. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +0 -7
  599. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
  600. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +0 -7
  601. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
  602. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +0 -7
  603. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
  604. package/lib/components/ModelCompareV3/data/products/professionalMax24.js +0 -7
  605. package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
  606. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +0 -7
  607. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
  608. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +0 -7
  609. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
  610. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +0 -7
  611. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
  612. package/lib/components/ModelCompareV3/data/products/professionalMax48.js +0 -7
  613. package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
  614. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +0 -7
  615. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
  616. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +0 -7
  617. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
  618. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +0 -7
  619. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
  620. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +0 -8
  621. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
  622. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +0 -8
  623. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
  624. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +0 -7
  625. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
  626. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +0 -7
  627. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
  628. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js +0 -7
  629. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js.map +1 -1
  630. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs +0 -7
  631. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs.map +1 -1
  632. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -10
  633. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
  634. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -10
  635. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
  636. package/lib/components/ModelCompareV3/data/products/switchesStandard.js +0 -7
  637. package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
  638. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +0 -7
  639. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
  640. package/lib/components/ModelCompareV3/data/products/udr.js +1 -1
  641. package/lib/components/ModelCompareV3/data/products/udr.mjs +1 -1
  642. package/lib/components/ModelCompareV3/data/products/udr7.js +1 -1
  643. package/lib/components/ModelCompareV3/data/products/udr7.mjs +1 -1
  644. package/lib/components/ModelCompareV3/data/properties/index.d.ts +0 -1
  645. package/lib/components/ModelCompareV3/data/properties/index.js +0 -2
  646. package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
  647. package/lib/components/ModelCompareV3/data/properties/index.mjs +0 -1
  648. package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
  649. package/lib/components/ModelCompareV3/translations/ar.json.js +10 -10
  650. package/lib/components/ModelCompareV3/translations/ar.json.mjs +10 -10
  651. package/lib/components/ModelCompareV3/translations/de.json.js +2 -2
  652. package/lib/components/ModelCompareV3/translations/de.json.mjs +2 -2
  653. package/lib/components/ModelCompareV3/translations/el.json.js +1 -1
  654. package/lib/components/ModelCompareV3/translations/el.json.mjs +1 -1
  655. package/lib/components/ModelCompareV3/translations/en.json.js +0 -2
  656. package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
  657. package/lib/components/ModelCompareV3/translations/en.json.mjs +0 -2
  658. package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
  659. package/lib/components/ModelCompareV3/translations/es.json.js +2 -2
  660. package/lib/components/ModelCompareV3/translations/es.json.mjs +2 -2
  661. package/lib/components/ModelCompareV3/translations/fr.json.js +1 -1
  662. package/lib/components/ModelCompareV3/translations/fr.json.mjs +1 -1
  663. package/lib/components/ModelCompareV3/translations/it.json.js +1 -1
  664. package/lib/components/ModelCompareV3/translations/it.json.mjs +1 -1
  665. package/lib/components/ModelCompareV3/translations/ja.json.js +7 -7
  666. package/lib/components/ModelCompareV3/translations/ja.json.mjs +7 -7
  667. package/lib/components/ModelCompareV3/translations/pt-BR.json.js +1 -1
  668. package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +1 -1
  669. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  670. package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +5 -5
  671. package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +5 -5
  672. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +8 -8
  673. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +8 -8
  674. package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +5 -5
  675. package/lib/components/Pagination/Pagination.js +3 -3
  676. package/lib/components/Pagination/Pagination.styles.d.ts +4 -4
  677. package/lib/components/Popover/Popover.styles.d.ts +7 -11
  678. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  679. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.d.ts +7 -7
  680. package/lib/components/ProductCard/ProductCard.js +7 -7
  681. package/lib/components/ProductCard/ProductCard.styles.d.ts +16 -16
  682. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  683. package/lib/components/ProductCardPopup/ProductCardPopup.styles.d.ts +37 -45
  684. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js +3 -3
  685. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js.map +1 -1
  686. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs +3 -3
  687. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs.map +1 -1
  688. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  689. package/lib/components/ProductCompare/ProductCompare.styles.d.ts +18 -18
  690. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  691. package/lib/components/ProductDetails/ProductDetails.styles.d.ts +2 -2
  692. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  693. package/lib/components/ProductGrid/ProductGrid.styles.d.ts +13 -10
  694. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  695. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.d.ts +6 -6
  696. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts +9 -11
  697. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +6 -6
  698. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +7 -7
  699. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  700. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.d.ts +6 -6
  701. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +14 -14
  702. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +2 -0
  703. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +79 -0
  704. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
  705. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +71 -0
  706. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +1 -0
  707. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +5 -0
  708. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +11 -0
  709. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +86 -0
  710. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
  711. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +72 -0
  712. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -0
  713. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +12 -0
  714. package/lib/components/ProductTechSpecsV2/index.d.ts +1 -0
  715. package/lib/components/ProductTechSpecsV2/index.js +6 -0
  716. package/lib/components/ProductTechSpecsV2/index.js.map +1 -0
  717. package/lib/components/ProductTechSpecsV2/index.mjs +3 -0
  718. package/lib/components/ProductTechSpecsV2/index.mjs.map +1 -0
  719. package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +18 -20
  720. package/lib/components/ProductWizard/Options/Options.js +3 -3
  721. package/lib/components/ProductWizard/Options/Options.styles.d.ts +2 -2
  722. package/lib/components/ProductWizard/ProductWizard.js +2 -2
  723. package/lib/components/ProductWizard/ProductWizard.styles.d.ts +16 -22
  724. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +10 -10
  725. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js.map +1 -1
  726. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs +5 -5
  727. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs.map +1 -1
  728. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.d.ts +9 -9
  729. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js +1 -1
  730. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js.map +1 -1
  731. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs +1 -1
  732. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs.map +1 -1
  733. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  734. package/lib/components/QuantityControls/QuantityControls.js +6 -6
  735. package/lib/components/QuantityControls/QuantityControls.js.map +1 -1
  736. package/lib/components/QuantityControls/QuantityControls.mjs +2 -2
  737. package/lib/components/QuantityControls/QuantityControls.mjs.map +1 -1
  738. package/lib/components/QuantityControls/QuantityControls.styles.d.ts +2 -2
  739. package/lib/components/QuantityControls/QuantityControls.types.d.ts +1 -1
  740. package/lib/components/QuantityInput/QuantityInput.js +6 -1
  741. package/lib/components/QuantityInput/QuantityInput.js.map +1 -1
  742. package/lib/components/QuantityInput/QuantityInput.mjs +6 -1
  743. package/lib/components/QuantityInput/QuantityInput.mjs.map +1 -1
  744. package/lib/components/QuantityInput/QuantityInput.styles.d.ts +12 -16
  745. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  746. package/lib/components/RelatedProducts/RelatedProducts.styles.d.ts +14 -14
  747. package/lib/components/RelatedProducts/RelatedProducts.styles.js +2 -2
  748. package/lib/components/RelatedProducts/RelatedProducts.styles.js.map +1 -1
  749. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs +2 -2
  750. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs.map +1 -1
  751. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +21 -23
  752. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +16 -36
  753. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +16 -38
  754. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +1 -1
  755. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +2 -602
  756. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
  757. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +2 -598
  758. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
  759. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  760. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.d.ts +6 -6
  761. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +1 -5
  762. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +0 -4
  763. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
  764. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +0 -4
  765. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
  766. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  767. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.d.ts +13 -13
  768. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +5 -5
  769. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.d.ts +20 -20
  770. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  771. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +6 -6
  772. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  773. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.d.ts +6 -6
  774. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  775. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  776. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  777. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  778. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  779. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +7 -7
  780. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.d.ts +9 -9
  781. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  782. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  783. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.d.ts +1 -1
  784. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.d.ts +5 -5
  785. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  786. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.d.ts +10 -10
  787. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +17 -17
  788. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
  789. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.d.ts +17 -19
  790. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  791. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  792. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  793. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  794. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  795. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.d.ts +16 -16
  796. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  797. package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.d.ts +3 -3
  798. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.d.ts +3 -3
  799. package/lib/components/ResourceCalculatorV1/translations/en.json.js +1 -5
  800. package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
  801. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +1 -5
  802. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
  803. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  804. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  805. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.d.ts +3 -3
  806. package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
  807. package/lib/components/ScrollWrapper/ScrollWrapper.js +34 -26
  808. package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
  809. package/lib/components/ScrollWrapper/ScrollWrapper.mjs +16 -8
  810. package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
  811. package/lib/components/ScrollWrapper/ScrollWrapper.styles.d.ts +14 -18
  812. package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +2 -0
  813. package/lib/components/Search/Input/Input.d.ts +1 -1
  814. package/lib/components/Search/Input/Input.js +8 -8
  815. package/lib/components/Search/Input/Input.js.map +1 -1
  816. package/lib/components/Search/Input/Input.mjs +4 -4
  817. package/lib/components/Search/Input/Input.mjs.map +1 -1
  818. package/lib/components/Search/Input/Input.styles.d.ts +11 -13
  819. package/lib/components/Search/Input/Input.styles.js +1 -2
  820. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  821. package/lib/components/Search/Input/Input.styles.mjs +1 -2
  822. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  823. package/lib/components/Search/Input/Input.types.d.ts +3 -2
  824. package/lib/components/Search/Modal/Modal.js +3 -3
  825. package/lib/components/Search/Modal/Modal.styles.d.ts +18 -20
  826. package/lib/components/SearchInput/Input.styles.d.ts +7 -9
  827. package/lib/components/SkeletonFootnote/SkeletonFootnote.d.ts +1 -1
  828. package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.d.ts +3 -3
  829. package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.d.ts +3 -3
  830. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.d.ts +8 -8
  831. package/lib/components/StaticModal/StaticModal.styles.d.ts +2 -2
  832. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  833. package/lib/components/StorageSliders/Slider/Slider.styles.d.ts +5 -7
  834. package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
  835. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  836. package/lib/components/StorageSliders/StorageSliders.styles.d.ts +12 -12
  837. package/lib/components/StorybookUtils/StoryButtonColumn.d.ts +1 -1
  838. package/lib/components/StorybookUtils/StoryButtonRow.d.ts +1 -1
  839. package/lib/components/StorybookUtils/StoryWrapper.d.ts +2 -2
  840. package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +9 -9
  841. package/lib/components/Toggle/Toggle.styles.d.ts +3 -3
  842. package/lib/components/Toggle/Toggle.styles.js +1 -1
  843. package/lib/components/Toggle/Toggle.styles.js.map +1 -1
  844. package/lib/components/Toggle/Toggle.styles.mjs +1 -1
  845. package/lib/components/Toggle/Toggle.styles.mjs.map +1 -1
  846. package/lib/components/Tooltip/Tooltip.js +5 -5
  847. package/lib/components/Tooltip/Tooltip.styles.d.ts +3 -33
  848. package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +17 -17
  849. package/lib/components/UICare/UICare.styles.d.ts +16 -19
  850. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.d.ts +6 -6
  851. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.d.ts +7 -7
  852. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  853. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.d.ts +18 -18
  854. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  855. package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +65 -75
  856. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  857. package/lib/components/VariantSelector/VariantSelector.styles.d.ts +13 -17
  858. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.d.ts +3 -3
  859. package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +28 -32
  860. package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +19 -23
  861. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +6 -8
  862. package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +5 -5
  863. package/lib/components/VideoPlayerNew/VideoPlayer.js +20 -20
  864. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
  865. package/lib/components/VideoPlayerNew/VideoPlayer.styles.d.ts +28 -31
  866. package/lib/components/VideoPlayerNew/VideoPlayer.styles.js +2 -2
  867. package/lib/components/VideoPlayerNew/VideoPlayer.styles.js.map +1 -1
  868. package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs +2 -2
  869. package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs.map +1 -1
  870. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  871. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  872. package/lib/components/index.d.ts +1 -0
  873. package/lib/components/index.js +2 -0
  874. package/lib/components/index.js.map +1 -1
  875. package/lib/components/index.mjs +2 -0
  876. package/lib/components/index.mjs.map +1 -1
  877. package/lib/{components/ResourceCalculatorV1/assets/consoles/udr7.png.js → constants/icons/header/arrow.svg.js} +6 -6
  878. package/lib/constants/icons/header/arrow.svg.js.map +1 -0
  879. package/lib/constants/icons/header/arrow.svg.mjs +3 -0
  880. package/lib/constants/icons/header/arrow.svg.mjs.map +1 -0
  881. package/lib/constants/icons/header/index.d.ts +1 -0
  882. package/lib/constants/icons/header/index.js +9 -0
  883. package/lib/constants/icons/header/index.js.map +1 -1
  884. package/lib/constants/icons/header/index.mjs +2 -0
  885. package/lib/constants/icons/header/index.mjs.map +1 -1
  886. package/lib/constants/icons/options/colors/black.svg.js +5 -5
  887. package/lib/constants/icons/options/colors/index.js +3 -3
  888. package/lib/constants/icons/options/styles/black.svg.js +5 -5
  889. package/lib/constants/icons/options/styles/index.js +3 -3
  890. package/lib/constants/mixin.d.ts +3 -3
  891. package/lib/constants/optionIcons.js +6 -6
  892. package/lib/constants/optionIcons.mjs +4 -4
  893. package/lib/constants/proStoreCategories/mapping/filters.d.ts +17 -0
  894. package/lib/constants/proStoreCategories/mapping/filters.js +17 -0
  895. package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
  896. package/lib/constants/proStoreCategories/mapping/filters.mjs +17 -0
  897. package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
  898. package/lib/constants/proStoreCategories/mapping/index.d.ts +3 -0
  899. package/lib/constants/proStoreCategories/mapping/index.js +25 -6
  900. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  901. package/lib/constants/proStoreCategories/mapping/index.mjs +25 -6
  902. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  903. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +5 -0
  904. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +3 -0
  905. package/lib/constants/proStoreCategories/mapping/unifi.js +3 -0
  906. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  907. package/lib/constants/proStoreCategories/mapping/unifi.mjs +3 -0
  908. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  909. package/lib/constants/proStoreCategories/translations/ar.json.js +9 -5
  910. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  911. package/lib/constants/proStoreCategories/translations/ar.json.mjs +9 -5
  912. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  913. package/lib/constants/proStoreCategories/translations/de.json.js +7 -3
  914. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  915. package/lib/constants/proStoreCategories/translations/de.json.mjs +7 -3
  916. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  917. package/lib/constants/proStoreCategories/translations/el.json.js +9 -5
  918. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  919. package/lib/constants/proStoreCategories/translations/el.json.mjs +9 -5
  920. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  921. package/lib/constants/proStoreCategories/translations/en.json.js +5 -0
  922. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  923. package/lib/constants/proStoreCategories/translations/en.json.mjs +5 -1
  924. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  925. package/lib/constants/proStoreCategories/translations/es.json.js +8 -4
  926. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  927. package/lib/constants/proStoreCategories/translations/es.json.mjs +8 -4
  928. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  929. package/lib/constants/proStoreCategories/translations/fr.json.js +8 -1
  930. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  931. package/lib/constants/proStoreCategories/translations/fr.json.mjs +8 -2
  932. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  933. package/lib/constants/proStoreCategories/translations/it.json.js +8 -4
  934. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  935. package/lib/constants/proStoreCategories/translations/it.json.mjs +8 -4
  936. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  937. package/lib/constants/proStoreCategories/translations/ja.json.js +8 -4
  938. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  939. package/lib/constants/proStoreCategories/translations/ja.json.mjs +8 -4
  940. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  941. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +7 -3
  942. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  943. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +7 -3
  944. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  945. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +8 -1
  946. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  947. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +8 -2
  948. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  949. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +8 -1
  950. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  951. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +8 -2
  952. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  953. package/lib/constants/proStoreFilters/mapping.d.ts +44 -8
  954. package/lib/constants/proStoreFilters/mapping.js +130 -16
  955. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  956. package/lib/constants/proStoreFilters/mapping.mjs +130 -16
  957. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  958. package/lib/constants/theme.js +4 -0
  959. package/lib/constants/theme.js.map +1 -1
  960. package/lib/constants/theme.mjs +4 -0
  961. package/lib/constants/theme.mjs.map +1 -1
  962. package/lib/contexts/MenuContext/context.js +34 -34
  963. package/lib/contexts/MenuContext/context.js.map +1 -1
  964. package/lib/contexts/MenuContext/context.mjs +1 -1
  965. package/lib/contexts/MenuContext/context.mjs.map +1 -1
  966. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  967. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  968. package/lib/contexts/MenuContext/presets.d.ts +1 -1
  969. package/lib/contexts/MenuContext/presets.js +2 -4
  970. package/lib/contexts/MenuContext/presets.js.map +1 -1
  971. package/lib/contexts/MenuContext/presets.mjs +2 -4
  972. package/lib/contexts/MenuContext/presets.mjs.map +1 -1
  973. package/lib/helpers/index.d.ts +0 -1
  974. package/lib/helpers/index.js +1 -11
  975. package/lib/helpers/index.js.map +1 -1
  976. package/lib/helpers/index.mjs +1 -2
  977. package/lib/helpers/index.mjs.map +1 -1
  978. package/lib/helpers/proStoreCategories.js +2 -2
  979. package/lib/helpers/ux.d.ts +8 -0
  980. package/lib/helpers/ux.js +15 -0
  981. package/lib/helpers/ux.js.map +1 -1
  982. package/lib/helpers/ux.mjs +15 -1
  983. package/lib/helpers/ux.mjs.map +1 -1
  984. package/lib/hooks/useHasTouch.js +3 -3
  985. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  986. package/lib/hooks/useHorizontalScroll.js +2 -2
  987. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  988. package/lib/hooks/useScrollToY.js +2 -2
  989. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  990. package/lib/hooks/useTranslation.js +6 -6
  991. package/lib/types/generated.d.ts +1 -1
  992. package/lib/types/generated.js.map +1 -1
  993. package/lib/types/generated.mjs.map +1 -1
  994. package/lib/types/index.d.ts +0 -1
  995. package/lib/types/index.js +0 -2
  996. package/lib/types/index.js.map +1 -1
  997. package/lib/types/index.mjs +0 -1
  998. package/lib/types/index.mjs.map +1 -1
  999. package/lib/utils/address.d.ts +62 -278
  1000. package/lib/utils/address.js +8 -11
  1001. package/lib/utils/address.js.map +1 -1
  1002. package/lib/utils/address.mjs +8 -11
  1003. package/lib/utils/address.mjs.map +1 -1
  1004. package/lib/utils/array.d.ts +0 -4
  1005. package/lib/utils/array.js +0 -10
  1006. package/lib/utils/array.js.map +1 -1
  1007. package/lib/utils/array.mjs +1 -10
  1008. package/lib/utils/array.mjs.map +1 -1
  1009. package/lib/utils/nextjs/ssr/registry.js +2 -2
  1010. package/package.json +43 -42
  1011. package/lib/assets/crestron.svg +0 -3
  1012. package/lib/assets/icons/menu/icon-globe.svg.js.map +0 -1
  1013. package/lib/assets/icons/menu/icon-globe.svg.mjs +0 -3
  1014. package/lib/assets/icons/menu/icon-globe.svg.mjs.map +0 -1
  1015. package/lib/assets/ucg-fiber.png +0 -0
  1016. package/lib/assets/udr7.png +0 -0
  1017. package/lib/assets/ux.png +0 -0
  1018. package/lib/assets/ux7.png +0 -0
  1019. package/lib/components/ModelCompareV3/assets/crestron.svg.js.map +0 -1
  1020. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +0 -3
  1021. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +0 -1
  1022. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +0 -2
  1023. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +0 -18
  1024. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +0 -1
  1025. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +0 -10
  1026. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +0 -1
  1027. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.js +0 -27
  1028. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.js.map +0 -1
  1029. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.mjs +0 -3
  1030. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.mjs.map +0 -1
  1031. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.js.map +0 -1
  1032. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.mjs +0 -3
  1033. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.mjs.map +0 -1
  1034. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.js +0 -27
  1035. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.js.map +0 -1
  1036. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.mjs +0 -3
  1037. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.mjs.map +0 -1
  1038. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.js +0 -27
  1039. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.js.map +0 -1
  1040. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.mjs +0 -3
  1041. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.mjs.map +0 -1
  1042. package/lib/helpers/product.d.ts +0 -87
  1043. package/lib/helpers/product.js +0 -346
  1044. package/lib/helpers/product.js.map +0 -1
  1045. package/lib/helpers/product.mjs +0 -335
  1046. package/lib/helpers/product.mjs.map +0 -1
  1047. package/lib/helpers/product.test.d.ts +0 -1
  1048. package/lib/types/product.d.ts +0 -87
  1049. package/lib/types/product.js +0 -14
  1050. package/lib/types/product.js.map +0 -1
  1051. package/lib/types/product.mjs +0 -13
  1052. package/lib/types/product.mjs.map +0 -1
  1053. package/lib/utils/productSort.d.ts +0 -41
  1054. package/lib/utils/productSort.js +0 -67
  1055. package/lib/utils/productSort.js.map +0 -1
  1056. package/lib/utils/productSort.mjs +0 -60
  1057. package/lib/utils/productSort.mjs.map +0 -1
  1058. package/lib/utils/validations/lastNameSuperRefinement.d.ts +0 -11
  1059. package/lib/utils/validations/lastNameSuperRefinement.js +0 -25
  1060. package/lib/utils/validations/lastNameSuperRefinement.js.map +0 -1
  1061. package/lib/utils/validations/lastNameSuperRefinement.mjs +0 -21
  1062. package/lib/utils/validations/lastNameSuperRefinement.mjs.map +0 -1
@@ -1,27 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', {
4
- value: true
5
- });
6
- var ux = require("../../../../assets/ux.png");
7
- function _interopDefault(e) {
8
- return e && e.__esModule ? e : {
9
- default: e
10
- };
11
- }
12
- var ux__default = /*#__PURE__*/_interopDefault(ux);
13
- Object.defineProperty(exports, "default", {
14
- enumerable: true,
15
- get: function () {
16
- return ux__default["default"];
17
- }
18
- });
19
- Object.keys(ux).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 ux[k];
24
- }
25
- });
26
- });
27
- //# sourceMappingURL=ux.png.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ux.png.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,3 +0,0 @@
1
- export * from "../../../../assets/ux.png";
2
- export { default } from "../../../../assets/ux.png";
3
- //# sourceMappingURL=ux.png.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ux.png.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,27 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', {
4
- value: true
5
- });
6
- var ux7 = require("../../../../assets/ux7.png");
7
- function _interopDefault(e) {
8
- return e && e.__esModule ? e : {
9
- default: e
10
- };
11
- }
12
- var ux7__default = /*#__PURE__*/_interopDefault(ux7);
13
- Object.defineProperty(exports, "default", {
14
- enumerable: true,
15
- get: function () {
16
- return ux7__default["default"];
17
- }
18
- });
19
- Object.keys(ux7).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 ux7[k];
24
- }
25
- });
26
- });
27
- //# sourceMappingURL=ux7.png.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ux7.png.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,3 +0,0 @@
1
- export * from "../../../../assets/ux7.png";
2
- export { default } from "../../../../assets/ux7.png";
3
- //# sourceMappingURL=ux7.png.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ux7.png.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,87 +0,0 @@
1
- import type { ParsedCategoryItem } from "../constants/proStoreCategories";
2
- import type { CollectionSection, MappedProductSection, Nullish, ProductTagFragment, Section, StorefrontOption, StorefrontProduct, StoreId } from "../types";
3
- export declare const isNonNullish: <T>(entry: T | null | undefined) => entry is T;
4
- /**
5
- * Removes products that have tag starting with `EXCLUDE_PRODUCT_FROM_STORE_GRID_TAG_PREFIX`
6
- * and ends with `storeId`, e.g. `"exclude-from-store-grid:us`
7
- *
8
- * @warning Use this function only on grid and breadcrumbs products
9
- */
10
- export declare const removeExcludedProducts: <T extends {
11
- tags: ProductTagFragment[];
12
- }>(products: T[], storeId: StoreId) => T[];
13
- export declare enum HDDProductSlugs {
14
- HDD_1TB = "uacc-hdd-s-1tb",
15
- HDD_8TB_Enterprise = "uacc-hdd-e-8tb",
16
- HDD_16TB_Enterprise = "uacc-hdd-e-16tb"
17
- }
18
- /**
19
- * Recursively create section hierarchy
20
- */
21
- export declare const createSectionHierarchy: (sections: CollectionSection[], level?: number) => Section[];
22
- export declare enum MagicCollectionTags {
23
- /**
24
- * Used to determine if collection should be shown in an accessory
25
- * layout style where sections are placed inside variant cards
26
- */
27
- LayoutAccessories = "layout-accessories",
28
- /**
29
- * Used to determine if collection is pro-store specific and should
30
- * be redirected to pro-store's appropriate category
31
- */
32
- ProStore = "pro-store",
33
- /**
34
- * Used to disable length options (disable product splitting by "length")
35
- */
36
- DisableLengthOptions = "disable-length-options",
37
- /**
38
- * Used to disable speed options (disable product splitting by "speed")
39
- */
40
- DisableSpeedOptions = "disable-speed-options"
41
- }
42
- export declare enum ProductOptions {
43
- Length = "length",
44
- Speed = "speed",
45
- Color = "color"
46
- }
47
- export declare const COLLECTION_SECTION_OTHER_ID = "other";
48
- /**
49
- * Create product groups
50
- */
51
- export declare const getProductGroups: <T extends StorefrontProduct & {
52
- options: StorefrontOption[];
53
- }>(products?: T[], sectionHierarchy?: Nullish<Section[]>, tags?: Array<{
54
- id: string;
55
- name: string;
56
- }>) => MappedProductSection<T>[] | undefined;
57
- export declare const getProStoreCategory: ({ queryCategory, product, ignoreQuery, }: {
58
- queryCategory?: string;
59
- product: Pick<StorefrontProduct, "collectionSlug" | "organizationalCollectionSlug" | "proCollectionSlug">;
60
- ignoreQuery?: boolean;
61
- }) => string | null;
62
- type StoreProductsData = ({
63
- category: {
64
- id: string;
65
- label: string | null;
66
- } | undefined;
67
- } & {
68
- products: StorefrontProduct[];
69
- }) | {
70
- productGroups: MappedProductSection<StorefrontProduct>[];
71
- };
72
- export declare const getStoreProducts: ({ storeId, queryCategory, currentProduct, collections, allCategoryItems, }: {
73
- storeId: StoreId;
74
- queryCategory: string | undefined;
75
- currentProduct: Pick<StorefrontProduct, "id" | "slug" | "collectionSlug" | "organizationalCollectionSlug" | "proCollectionSlug">;
76
- collections: Array<{
77
- slug: string;
78
- sections: Array<{
79
- id: string;
80
- title: string;
81
- productTags: Array<string>;
82
- }>;
83
- products: Array<Pick<StorefrontProduct, "id" | "slug" | "tags" | "variants" | "options" | "title" | "status" | "minDisplayPrice">>;
84
- }>;
85
- allCategoryItems: ParsedCategoryItem[];
86
- }) => StoreProductsData;
87
- export {};
@@ -1,346 +0,0 @@
1
- 'use strict';
2
-
3
- var lodashEs = require('lodash-es');
4
- require('../constants/proStoreCategories/index.js');
5
- require('../types/index.js');
6
- var array = require('../utils/array.js');
7
- var productSort = require('../utils/productSort.js');
8
- var proStoreCategories = require('./proStoreCategories.js');
9
- var unifi = require('../constants/proStoreCategories/mapping/unifi.js');
10
- var uisp = require('../constants/proStoreCategories/mapping/uisp.js');
11
- var product = require('../types/product.js');
12
- "use strict";
13
- const isNonNullish = entry => entry !== null && entry !== void 0;
14
- const EXCLUDE_PRODUCT_FROM_STORE_GRID_TAG_PREFIX = "exclude-from-store-grid:";
15
- const removeExcludedProducts = (products, storeId) => {
16
- const excludeTag = `${EXCLUDE_PRODUCT_FROM_STORE_GRID_TAG_PREFIX}${storeId}`.toLowerCase();
17
- return products.filter(product => {
18
- return !product.tags.some(tag => tag.name.toLowerCase() === excludeTag);
19
- });
20
- };
21
- const isAccessoryCategoryItem = categoryItem => {
22
- return !!categoryItem && [unifi.UniFiCategoryId.Accessories, uisp.UISPCategoryId.AccessoryTech].includes(
23
- // TODO: Check why this TS error appears
24
- // @ts-expect-error: Unreachable code error
25
- categoryItem.id);
26
- };
27
- var HDDProductSlugs = /* @__PURE__ */(HDDProductSlugs2 => {
28
- HDDProductSlugs2["HDD_1TB"] = "uacc-hdd-s-1tb";
29
- HDDProductSlugs2["HDD_8TB_Enterprise"] = "uacc-hdd-e-8tb";
30
- HDDProductSlugs2["HDD_16TB_Enterprise"] = "uacc-hdd-e-16tb";
31
- return HDDProductSlugs2;
32
- })(HDDProductSlugs || {});
33
- const isAllowedAccessoryCategoryProduct = ({
34
- slug
35
- }) => {
36
- const allowedAccessoryProductSlugs = ["u-lte", "u-lte-backup-pro", "uacc-hdd-s-1tb" /* HDD_1TB */, "uacc-hdd-e-8tb" /* HDD_8TB_Enterprise */, "uacc-hdd-e-16tb" /* HDD_16TB_Enterprise */];
37
- return allowedAccessoryProductSlugs.includes(slug);
38
- };
39
- const isAccessoryCategorySubItem = (categorySubItem, allCategoryItems) => {
40
- const categoryItem = allCategoryItems.find(item => item.items?.some(subItem => subItem.id === categorySubItem.id));
41
- return isAccessoryCategoryItem(categoryItem);
42
- };
43
- const createSectionHierarchy = (sections, level = 1) => {
44
- const currentLevelSections = sections.filter(section => section.productTags.length === level);
45
- if (!currentLevelSections.length) {
46
- return [];
47
- }
48
- return currentLevelSections.map(section => ({
49
- ...section,
50
- items: createSectionHierarchy(sections.filter(nextSection => section.productTags.every(tag => nextSection.productTags.includes(tag))), level + 1)
51
- }));
52
- };
53
- var MagicCollectionTags = /* @__PURE__ */(MagicCollectionTags2 => {
54
- MagicCollectionTags2["LayoutAccessories"] = "layout-accessories";
55
- MagicCollectionTags2["ProStore"] = "pro-store";
56
- MagicCollectionTags2["DisableLengthOptions"] = "disable-length-options";
57
- MagicCollectionTags2["DisableSpeedOptions"] = "disable-speed-options";
58
- return MagicCollectionTags2;
59
- })(MagicCollectionTags || {});
60
- var ProductOptions = /* @__PURE__ */(ProductOptions2 => {
61
- ProductOptions2["Length"] = "length";
62
- ProductOptions2["Speed"] = "speed";
63
- ProductOptions2["Color"] = "color";
64
- return ProductOptions2;
65
- })(ProductOptions || {});
66
- const formatOptionValueTitleToTag = optionValueTitle => optionValueTitle.toLowerCase().replace(/[,\s]/g, "").replace(".", "-");
67
- const divideProductByOption = (product, optionTitle) => {
68
- const option = product.options.find(option2 => option2.slug === optionTitle);
69
- if (!option) {
70
- return [product];
71
- }
72
- return option.values.map(value => {
73
- return {
74
- ...product,
75
- options: product.options.filter(option2 => option2.slug !== optionTitle),
76
- tags: [...product.tags, {
77
- id: value.id,
78
- name: formatOptionValueTitleToTag(value.slug)
79
- }],
80
- variants: product.variants.filter(variant => variant.optionValueIds?.includes(value.id))
81
- };
82
- });
83
- };
84
- const COLLECTION_SECTION_OTHER_ID = "other";
85
- const UNIT_FACTORS = {
86
- m: 1,
87
- km: 1e3
88
- };
89
- const DISTANCE_REGEX = /^\s*(\d+)\s*(m|km)\s*$/;
90
- const mapProductsToSections = (products, section) => {
91
- const productsInThisSection = products.filter(product => {
92
- return section.productTags.every(sectionTag => {
93
- return product.tags.find(tag => tag.name === sectionTag);
94
- });
95
- });
96
- if (productsInThisSection.length === 0) {
97
- return void 0;
98
- }
99
- const items = section?.items?.map(item => mapProductsToSections(productsInThisSection, item)).filter(isNonNullish) ?? [];
100
- const otherProducts = productsInThisSection.filter(product => {
101
- return !items.some(item => item.products.find(p => p.id === product.id));
102
- });
103
- if (otherProducts.length && items.length) {
104
- items.push({
105
- id: `${section.id}-${COLLECTION_SECTION_OTHER_ID}`,
106
- // TODO: Add translation
107
- title: "Other",
108
- productTags: section.productTags,
109
- items: [],
110
- products: otherProducts
111
- });
112
- }
113
- return {
114
- ...section,
115
- items,
116
- products: productsInThisSection
117
- };
118
- };
119
- const compareDistanceTitles = (a, b) => {
120
- const aMatch = a.title.match(DISTANCE_REGEX);
121
- const bMatch = b.title.match(DISTANCE_REGEX);
122
- if (!aMatch?.[1] || !aMatch[2] || !bMatch?.[1] || !bMatch[2]) {
123
- return 0;
124
- }
125
- const aValue = parseInt(aMatch[1]) * (UNIT_FACTORS[aMatch[2]] || 0);
126
- const bValue = parseInt(bMatch[1]) * (UNIT_FACTORS[bMatch[2]] || 0);
127
- return aValue - bValue;
128
- };
129
- const processSectionProductsWithDistanceInOptions = sections => {
130
- return sections.map(section => ({
131
- ...section,
132
- items: section.items.map(sec => {
133
- const section2 = lodashEs.cloneDeep(sec);
134
- const sectionWithDistanceTag = section2.items.find(section3 => section3.productTags.includes("distance"));
135
- const sectionsMainProductTag = sectionWithDistanceTag?.productTags.filter(tag => tag !== "distance");
136
- if (!sectionWithDistanceTag || !sectionsMainProductTag) {
137
- return section2;
138
- }
139
- sectionWithDistanceTag.products.forEach(product => {
140
- const optionValues = product?.options[0]?.values;
141
- if (!optionValues?.length) {
142
- return;
143
- }
144
- const formattedOptionValues = optionValues.map(value => ({
145
- ...value,
146
- titleInTagFormat: formatOptionValueTitleToTag(value.title)
147
- }));
148
- formattedOptionValues.forEach(currentValue => {
149
- const newSecondLevelSectionsTags = [...sectionsMainProductTag, currentValue.titleInTagFormat];
150
- const alreadyExistingSecondLevelSection = section2.items.findIndex(section3 => array.areEqualArrays(section3.productTags, newSecondLevelSectionsTags));
151
- const variantToAdd = product.variants.find(variant => variant.optionValueIds?.includes(currentValue.id));
152
- if (!variantToAdd) {
153
- return;
154
- }
155
- const productToAdd = {
156
- ...product,
157
- options: product.options.filter(option => option.values.some(value => value.id === currentValue.id)).map(option => ({
158
- ...option,
159
- values: option.values.filter(value => value.id === currentValue.id)
160
- })),
161
- variants: [variantToAdd]
162
- };
163
- if (alreadyExistingSecondLevelSection >= 0) {
164
- section2.items[alreadyExistingSecondLevelSection]?.products.push(productToAdd);
165
- } else {
166
- const sectionToAdd = {
167
- id: currentValue.id,
168
- // TODO: Maybe so>me different ID would be better
169
- items: [],
170
- // FIXME: This is problem!
171
- products: [productToAdd],
172
- productTags: newSecondLevelSectionsTags,
173
- title: currentValue.title
174
- };
175
- section2.items.push(sectionToAdd);
176
- }
177
- });
178
- });
179
- return {
180
- ...section2,
181
- items: section2.items.sort(compareDistanceTitles).filter(section3 => !section3.productTags.includes("distance"))
182
- };
183
- })
184
- }));
185
- };
186
- const processSectionsWithOutOfStockProducts = section => {
187
- const isDisabled = section.products.every(product$1 => product$1.variants.every(variant => variant.status !== product.DisplayProductStatus.Available));
188
- return {
189
- ...section,
190
- isDisabled,
191
- items: section.items.map(processSectionsWithOutOfStockProducts)
192
- };
193
- };
194
- const getProductGroups = (products, sectionHierarchy, tags) => {
195
- if (!products?.length || !sectionHierarchy) return void 0;
196
- const processedProducts = products.flatMap(product => {
197
- const disableLengthOptions = tags?.find(tag => tag.name === "disable-length-options" /* DisableLengthOptions */);
198
- const lengthOptions = !disableLengthOptions && product?.options?.find(option => option.slug === "length" /* Length */);
199
- if (lengthOptions && product.options !== void 0) {
200
- return divideProductByOption(product, "length" /* Length */);
201
- }
202
- const disableSpeedOptions = tags?.find(tag => tag.name === "disable-speed-options" /* DisableSpeedOptions */);
203
- const speedOptions = !disableSpeedOptions && product?.options?.find(option => {
204
- return option.slug === "speed" /* Speed */;
205
- });
206
- if (speedOptions) {
207
- return divideProductByOption(product, "speed" /* Speed */);
208
- }
209
- return [product];
210
- });
211
- const mappedProductGroups = sectionHierarchy.map(section => {
212
- return mapProductsToSections(processedProducts, section);
213
- }).filter(section => !!section);
214
- const otherProducts = products.filter(product => {
215
- return !mappedProductGroups.some(section => {
216
- return section.products.find(p => p.id === product.id);
217
- });
218
- });
219
- if (otherProducts.length) {
220
- otherProducts.forEach(product => {
221
- mappedProductGroups.push({
222
- id: product.id,
223
- products: [product],
224
- title: "",
225
- items: [],
226
- productTags: []
227
- });
228
- });
229
- }
230
- const processedProductGroups = processSectionProductsWithDistanceInOptions(mappedProductGroups).map(processSectionsWithOutOfStockProducts);
231
- return processedProductGroups.sort((a, b) => {
232
- const aFirstProductId = a?.products?.[0]?.id;
233
- const bFirstProductId = b?.products?.[0]?.id;
234
- const aFirstProduct = products.findIndex(product => product.id === aFirstProductId);
235
- const bFirstProduct = products.findIndex(product => product.id === bFirstProductId);
236
- return aFirstProduct - bFirstProduct;
237
- });
238
- };
239
- const getProStoreCategory = ({
240
- queryCategory,
241
- product,
242
- ignoreQuery
243
- }) => {
244
- return (
245
- /**
246
- * If category specified via the url search/query parameter then use it
247
- */
248
- !ignoreQuery && queryCategory ||
249
- /**
250
- * Attempt to find category by it's default collection or fallback to the virtual default collection
251
- */
252
- proStoreCategories.getSubCategoryIdByCollectionSlug(product.collectionSlug) || proStoreCategories.getSubCategoryIdByCollectionSlug(product.organizationalCollectionSlug) ||
253
- /**
254
- * If all else fails fallback detecting to category from pro store collection, unlikely but wouldn't hurt to do so
255
- */
256
- proStoreCategories.getSubCategoryIdByCollectionSlug(product.proCollectionSlug)
257
- );
258
- };
259
- const getStoreProducts = ({
260
- storeId,
261
- queryCategory,
262
- currentProduct,
263
- collections,
264
- allCategoryItems
265
- }) => {
266
- const returnObj = {
267
- category: void 0,
268
- products: []
269
- };
270
- const category = getProStoreCategory({
271
- queryCategory,
272
- product: currentProduct
273
- });
274
- const categoryItem = allCategoryItems.find(item => item.items?.some(subItem => subItem.id === category));
275
- const categorySubItem = categoryItem?.items?.find(subItem => subItem.id === category);
276
- const categoryId = categorySubItem?.id ?? category;
277
- if (categoryId) {
278
- returnObj.category = {
279
- id: categoryId,
280
- label: categoryItem?.label ?? null
281
- };
282
- }
283
- const filteredCollections = collections.map(collection => ({
284
- ...collection,
285
- products: removeExcludedProducts(collection.products, storeId)
286
- }));
287
- if (categoryItem?.hideSubItems) {
288
- const products = filteredCollections.flatMap(collection => collection.products);
289
- if (isAccessoryCategoryItem(categoryItem)) {
290
- returnObj.products = isAllowedAccessoryCategoryProduct(currentProduct) ? products.filter(isAllowedAccessoryCategoryProduct) : [];
291
- } else {
292
- returnObj.products = products;
293
- }
294
- } else {
295
- const collection = filteredCollections.find(collection2 => collection2.products.some(el => el.id === currentProduct.id));
296
- if (!collection) {
297
- throw new Error("Collection not found");
298
- }
299
- const subItems = (categoryItem?.items?.slice(1) ?? allCategoryItems.flatMap(el => el.items?.slice(1))).filter(Boolean);
300
- const subItem = subItems.find(item => item.collectionSlugs.includes(collection.slug));
301
- if (subItem && returnObj.category) {
302
- returnObj.category = {
303
- id: subItem.id,
304
- label: subItem.label
305
- };
306
- }
307
- const subItemCollections = filteredCollections.filter(el => subItem?.collectionSlugs.includes(el.slug));
308
- const products = subItemCollections.flatMap(el => el.products);
309
- if (subItem) {
310
- if (isAccessoryCategorySubItem(subItem, allCategoryItems)) {
311
- returnObj.products = isAllowedAccessoryCategoryProduct(currentProduct) ? products.filter(isAllowedAccessoryCategoryProduct) : [];
312
- } else {
313
- returnObj.products = products;
314
- }
315
- }
316
- const sections = subItemCollections.flatMap(el => el.sections);
317
- const sectionHierarchy = createSectionHierarchy(sections);
318
- const productGroups = getProductGroups(products, sectionHierarchy);
319
- if (productGroups) {
320
- return {
321
- category: returnObj.category,
322
- productGroups: productGroups.sort((a, b) => {
323
- if (a.products[0] && b.products[0]) {
324
- return productSort.sortProducts(null, storeId)(a.products[0], b.products[0]);
325
- }
326
- return 0;
327
- })
328
- };
329
- }
330
- }
331
- return {
332
- ...returnObj,
333
- products: returnObj.products.sort(productSort.sortProducts(null, storeId))
334
- };
335
- };
336
- exports.COLLECTION_SECTION_OTHER_ID = COLLECTION_SECTION_OTHER_ID;
337
- exports.HDDProductSlugs = HDDProductSlugs;
338
- exports.MagicCollectionTags = MagicCollectionTags;
339
- exports.ProductOptions = ProductOptions;
340
- exports.createSectionHierarchy = createSectionHierarchy;
341
- exports.getProStoreCategory = getProStoreCategory;
342
- exports.getProductGroups = getProductGroups;
343
- exports.getStoreProducts = getStoreProducts;
344
- exports.isNonNullish = isNonNullish;
345
- exports.removeExcludedProducts = removeExcludedProducts;
346
- //# sourceMappingURL=product.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"product.js","sources":["../../src/helpers/product.ts"],"sourcesContent":["import { cloneDeep } from \"lodash-es\";\n\nimport type {\n ParsedCategoryItem,\n ParsedCategorySubItem,\n} from \"../constants/proStoreCategories\";\nimport {\n UISPCategoryId,\n UniFiCategoryId,\n} from \"../constants/proStoreCategories\";\nimport type {\n CollectionSection,\n MappedProductSection,\n Nullish,\n ProductTagFragment,\n Section,\n StorefrontOption,\n StorefrontProduct,\n StoreId,\n} from \"../types\";\nimport { DisplayProductStatus } from \"../types\";\nimport { areEqualArrays } from \"../utils/array\";\nimport { sortProducts } from \"../utils/productSort\";\nimport { getSubCategoryIdByCollectionSlug } from \"./proStoreCategories\";\n\nexport const isNonNullish = <T>(entry: T | null | undefined): entry is T =>\n entry !== null && entry !== undefined;\n\n/**\n * Prefix for tags that is added to product to exclude it from store grid\n * and breadcrumbs but still show it in other places (e.g. search and new user store)\n *\n * The full tag would include the store ID for specifying which from which\n * store to exclude the product.\n *\n * @example `\"exclude-from-store-grid:us`\n */\nconst EXCLUDE_PRODUCT_FROM_STORE_GRID_TAG_PREFIX =\n \"exclude-from-store-grid:\" as const;\n\n/**\n * Removes products that have tag starting with `EXCLUDE_PRODUCT_FROM_STORE_GRID_TAG_PREFIX`\n * and ends with `storeId`, e.g. `\"exclude-from-store-grid:us`\n *\n * @warning Use this function only on grid and breadcrumbs products\n */\nexport const removeExcludedProducts = <\n T extends { tags: ProductTagFragment[] },\n>(\n products: T[],\n storeId: StoreId,\n): T[] => {\n const excludeTag =\n `${EXCLUDE_PRODUCT_FROM_STORE_GRID_TAG_PREFIX}${storeId}`.toLowerCase();\n\n return products.filter((product) => {\n return !product.tags.some((tag) => tag.name.toLowerCase() === excludeTag);\n });\n};\n\nconst isAccessoryCategoryItem = (\n categoryItem: Nullish<ParsedCategoryItem>,\n): boolean => {\n return (\n !!categoryItem &&\n [UniFiCategoryId.Accessories, UISPCategoryId.AccessoryTech].includes(\n // TODO: Check why this TS error appears\n // @ts-expect-error: Unreachable code error\n categoryItem.id,\n )\n );\n};\n\nexport enum HDDProductSlugs {\n HDD_1TB = \"uacc-hdd-s-1tb\",\n // Currently disabled and replaced dirty with HDD_8TB_Enterprise\n // HDD_8TB = \"uacc-hdd-s-8tb\",\n HDD_8TB_Enterprise = \"uacc-hdd-e-8tb\",\n HDD_16TB_Enterprise = \"uacc-hdd-e-16tb\",\n}\n\nconst isAllowedAccessoryCategoryProduct = ({\n slug,\n}: {\n slug: string;\n}): boolean => {\n const allowedAccessoryProductSlugs = [\n \"u-lte\",\n \"u-lte-backup-pro\",\n HDDProductSlugs.HDD_1TB,\n HDDProductSlugs.HDD_8TB_Enterprise,\n HDDProductSlugs.HDD_16TB_Enterprise,\n ];\n\n return allowedAccessoryProductSlugs.includes(slug);\n};\n\nconst isAccessoryCategorySubItem = (\n categorySubItem: ParsedCategorySubItem,\n allCategoryItems: ParsedCategoryItem[],\n): boolean => {\n const categoryItem = allCategoryItems.find((item) =>\n item.items?.some((subItem) => subItem.id === categorySubItem.id),\n );\n\n return isAccessoryCategoryItem(categoryItem);\n};\n\n/**\n * Recursively create section hierarchy\n */\nexport const createSectionHierarchy = (\n sections: CollectionSection[],\n level = 1,\n): Section[] => {\n const currentLevelSections = sections.filter(\n (section) => section.productTags.length === level,\n );\n\n if (!currentLevelSections.length) {\n return [];\n }\n\n return currentLevelSections.map((section) => ({\n ...section,\n items: createSectionHierarchy(\n sections.filter((nextSection) =>\n section.productTags.every((tag) =>\n nextSection.productTags.includes(tag),\n ),\n ),\n level + 1,\n ),\n }));\n};\n\nexport enum MagicCollectionTags {\n /**\n * Used to determine if collection should be shown in an accessory\n * layout style where sections are placed inside variant cards\n */\n LayoutAccessories = \"layout-accessories\",\n /**\n * Used to determine if collection is pro-store specific and should\n * be redirected to pro-store's appropriate category\n */\n ProStore = \"pro-store\",\n /**\n * Used to disable length options (disable product splitting by \"length\")\n */\n DisableLengthOptions = \"disable-length-options\",\n /**\n * Used to disable speed options (disable product splitting by \"speed\")\n */\n DisableSpeedOptions = \"disable-speed-options\",\n}\n\nexport enum ProductOptions {\n // Used for finding option category using option slug\n Length = \"length\",\n Speed = \"speed\",\n Color = \"color\",\n}\n\n/**\n * Format option value title to tag.\n * This removes spaces, dots, commas, and make all lower case.\n * TODO: We could use the tag formatter from admin panel here.\n */\nconst formatOptionValueTitleToTag = (optionValueTitle: string) =>\n optionValueTitle.toLowerCase().replace(/[,\\s]/g, \"\").replace(\".\", \"-\");\n\n/**\n * Divides a product in multiple products by an option\n */\nconst divideProductByOption = <\n T extends StorefrontProduct & {\n options: StorefrontOption[];\n },\n>(\n product: T,\n optionTitle: ProductOptions,\n) => {\n const option = product.options.find((option) => option.slug === optionTitle);\n\n if (!option) {\n return [product];\n }\n\n return option.values.map((value) => {\n return {\n ...product,\n options: product.options.filter((option) => option.slug !== optionTitle),\n tags: [\n ...product.tags,\n {\n id: value.id,\n name: formatOptionValueTitleToTag(value.slug),\n },\n ],\n variants: product.variants.filter((variant) =>\n variant.optionValueIds?.includes(value.id),\n ),\n };\n });\n};\n\nexport const COLLECTION_SECTION_OTHER_ID = \"other\";\n\n// A mapping of unit suffixes to conversion factors in meters\nconst UNIT_FACTORS: Record<string, number> = {\n m: 1,\n km: 1000,\n};\n\n// A regular expression to extract the numerical value and unit suffix, with optional whitespace\nconst DISTANCE_REGEX = /^\\s*(\\d+)\\s*(m|km)\\s*$/;\n\n/**\n * Recursively map products to sections based on tags\n *\n * TODO: Add tests\n */\nconst mapProductsToSections = <T extends StorefrontProduct>(\n products: T[],\n section: Section,\n): MappedProductSection<T> | undefined => {\n // Filter products which have all tags from this section\n const productsInThisSection = products.filter((product) => {\n return section.productTags.every((sectionTag) => {\n return product.tags.find((tag) => tag.name === sectionTag);\n });\n });\n\n // If there are no products in this section, we don't want to show it\n if (productsInThisSection.length === 0) {\n return undefined;\n }\n\n // Recursively map products to sub-sections\n const items =\n section?.items\n ?.map((item) => mapProductsToSections(productsInThisSection, item))\n .filter(isNonNullish) ?? [];\n\n // Filter products which are not in any sub-section\n const otherProducts = productsInThisSection.filter((product) => {\n return !items.some((item) =>\n item.products.find((p) => p.id === product.id),\n );\n });\n\n // If there are products which are not in any sub-section, we want to create \"Other\" section\n if (otherProducts.length && items.length) {\n items.push({\n id: `${section.id}-${COLLECTION_SECTION_OTHER_ID}`,\n // TODO: Add translation\n title: \"Other\",\n productTags: section.productTags,\n items: [],\n products: otherProducts,\n });\n }\n\n return {\n ...section,\n items,\n products: productsInThisSection,\n };\n};\n\n// A predicate function that compares two section titles\nconst compareDistanceTitles = <T>(\n a: MappedProductSection<T>,\n b: MappedProductSection<T>,\n) => {\n const aMatch = a.title.match(DISTANCE_REGEX) as [string, string, string];\n const bMatch = b.title.match(DISTANCE_REGEX) as [string, string, string];\n\n if (!aMatch?.[1] || !aMatch[2] || !bMatch?.[1] || !bMatch[2]) {\n return 0;\n }\n\n const aValue = parseInt(aMatch[1]!) * (UNIT_FACTORS[aMatch[2]] || 0);\n const bValue = parseInt(bMatch[1]!) * (UNIT_FACTORS[bMatch[2]] || 0);\n\n return aValue - bValue;\n};\n\n/**\n * Process sections with products which have \"distance\" tag or/and has\n * \"distance\" option in options list. If there are such products, we want to\n * to add to the appropriate distance section or create a new one.\n */\nconst processSectionProductsWithDistanceInOptions = <\n T extends StorefrontProduct & {\n options: StorefrontOption[];\n },\n>(\n sections: MappedProductSection<T>[],\n) => {\n return sections.map((section) => ({\n ...section,\n items: section.items.map((sec) => {\n // Make a deep copy of the object, otherwise you will modify the original value\n const section = cloneDeep(sec);\n\n // TODO: Move the magic tag to a constants file, here and in other places as well\n const sectionWithDistanceTag = section.items.find((section) =>\n section.productTags.includes(\"distance\"),\n );\n\n // Here we take the first element because this is 2nd level section and it should have only 2 elements in the list\n const sectionsMainProductTag = sectionWithDistanceTag?.productTags.filter(\n (tag) => tag !== \"distance\",\n );\n\n // If there is no section with \"distance\" tag, then we can skip this\n if (!sectionWithDistanceTag || !sectionsMainProductTag) {\n return section;\n }\n\n sectionWithDistanceTag.products.forEach((product) => {\n /**\n * FIXME: Flat mapping is unsafe here. This part was written with a guarantee that these\n * products only have one option type by which they differ\n */\n const optionValues = product?.options[0]?.values;\n\n // FIXME: We need to add error handling here for cases where product has distance tag but does not have variants\n if (!optionValues?.length) {\n return;\n }\n\n /**\n * Format the option titles so that we can match them with the tags used.\n * This removes spaces, dots, commas, and make all lower case.\n * TODO: We could use the tag formatter from admin panel here.\n */\n const formattedOptionValues = optionValues.map((value) => ({\n ...value,\n titleInTagFormat: formatOptionValueTitleToTag(value.title),\n }));\n\n formattedOptionValues.forEach((currentValue) => {\n const newSecondLevelSectionsTags = [\n ...sectionsMainProductTag,\n currentValue.titleInTagFormat,\n ];\n\n const alreadyExistingSecondLevelSection = section.items.findIndex(\n (section) =>\n areEqualArrays(section.productTags, newSecondLevelSectionsTags),\n );\n\n const variantToAdd = product.variants.find((variant) =>\n variant.optionValueIds?.includes(currentValue.id),\n );\n\n // TODO: Add error handling\n if (!variantToAdd) {\n return;\n }\n\n const productToAdd: T = {\n ...product,\n options: product.options\n .filter((option) =>\n option.values.some((value) => value.id === currentValue.id),\n )\n .map((option) => ({\n ...option,\n values: option.values.filter(\n (value) => value.id === currentValue.id,\n ),\n })),\n variants: [variantToAdd],\n };\n\n if (alreadyExistingSecondLevelSection >= 0) {\n section.items[alreadyExistingSecondLevelSection]?.products.push(\n productToAdd,\n );\n } else {\n const sectionToAdd: MappedProductSection<T> = {\n id: currentValue.id, // TODO: Maybe so>me different ID would be better\n items: [], // FIXME: This is problem!\n products: [productToAdd],\n productTags: newSecondLevelSectionsTags,\n title: currentValue.title,\n };\n\n section.items.push(sectionToAdd);\n }\n });\n });\n\n return {\n ...section,\n items: section.items\n .sort(compareDistanceTitles)\n .filter((section) => !section.productTags.includes(\"distance\")),\n };\n }),\n }));\n};\n\n/**\n * Goes through all sections and sets isDisabled flag to true if all products\n * in the section are not available\n */\nconst processSectionsWithOutOfStockProducts = <\n T extends { variants: { status: Nullish<DisplayProductStatus> }[] },\n>(\n section: MappedProductSection<T>,\n): MappedProductSection<T> => {\n const isDisabled = section.products.every((product) =>\n product.variants.every(\n (variant) => variant.status !== DisplayProductStatus.Available,\n ),\n );\n\n return {\n ...section,\n isDisabled,\n items: section.items.map(processSectionsWithOutOfStockProducts),\n };\n};\n\n/**\n * Create product groups\n */\nexport const getProductGroups = <\n T extends StorefrontProduct & {\n options: StorefrontOption[];\n },\n>(\n products?: T[],\n sectionHierarchy?: Nullish<Section[]>,\n tags?: Array<{\n id: string;\n name: string;\n }>,\n) => {\n if (!products?.length || !sectionHierarchy) return undefined;\n\n const processedProducts = products.flatMap((product) => {\n const disableLengthOptions = tags?.find(\n (tag) => tag.name === MagicCollectionTags.DisableLengthOptions,\n );\n const lengthOptions =\n !disableLengthOptions &&\n product?.options?.find((option) => option.slug === ProductOptions.Length);\n\n if (lengthOptions && product.options !== undefined) {\n return divideProductByOption(product, ProductOptions.Length);\n }\n\n const disableSpeedOptions = tags?.find(\n (tag) => tag.name === MagicCollectionTags.DisableSpeedOptions,\n );\n const speedOptions =\n !disableSpeedOptions &&\n product?.options?.find((option) => {\n return option.slug === ProductOptions.Speed;\n });\n\n if (speedOptions) {\n return divideProductByOption(product, ProductOptions.Speed);\n }\n\n return [product];\n });\n\n const mappedProductGroups = sectionHierarchy\n .map((section) => {\n return mapProductsToSections(processedProducts, section);\n })\n .filter((section): section is MappedProductSection<T> => !!section);\n\n const otherProducts = products.filter((product) => {\n return !mappedProductGroups.some((section) => {\n return section.products.find((p) => p.id === product.id);\n });\n });\n\n // If there are products which are not in any section, we want to create \"Other\" section\n if (otherProducts.length) {\n otherProducts.forEach((product) => {\n mappedProductGroups.push({\n id: product.id,\n products: [product],\n title: \"\",\n items: [],\n productTags: [],\n });\n });\n }\n\n const processedProductGroups = processSectionProductsWithDistanceInOptions(\n mappedProductGroups,\n ).map(processSectionsWithOutOfStockProducts);\n\n /**\n * Sort product groups by the order of the first product in each group\n * based on the order of the products that is in collection settings\n */\n return processedProductGroups.sort((a, b) => {\n const aFirstProductId = a?.products?.[0]?.id;\n const bFirstProductId = b?.products?.[0]?.id;\n\n const aFirstProduct = products.findIndex(\n (product) => product.id === aFirstProductId,\n );\n\n const bFirstProduct = products.findIndex(\n (product) => product.id === bFirstProductId,\n );\n\n return aFirstProduct - bFirstProduct;\n });\n};\n\nexport const getProStoreCategory = ({\n queryCategory,\n product,\n ignoreQuery,\n}: {\n queryCategory?: string;\n product: Pick<\n StorefrontProduct,\n \"collectionSlug\" | \"organizationalCollectionSlug\" | \"proCollectionSlug\"\n >;\n ignoreQuery?: boolean;\n}): string | null => {\n return (\n /**\n * If category specified via the url search/query parameter then use it\n */\n (!ignoreQuery && queryCategory) ||\n /**\n * Attempt to find category by it's default collection or fallback to the virtual default collection\n */\n getSubCategoryIdByCollectionSlug(product.collectionSlug) ||\n getSubCategoryIdByCollectionSlug(product.organizationalCollectionSlug) ||\n /**\n * If all else fails fallback detecting to category from pro store collection, unlikely but wouldn't hurt to do so\n */\n getSubCategoryIdByCollectionSlug(product.proCollectionSlug)\n );\n};\n\ntype StoreProductsData =\n | ({\n category: { id: string; label: string | null } | undefined;\n } & {\n products: StorefrontProduct[];\n })\n | {\n productGroups: MappedProductSection<StorefrontProduct>[];\n };\n\nexport const getStoreProducts = ({\n storeId,\n queryCategory,\n currentProduct,\n collections,\n allCategoryItems,\n}: {\n storeId: StoreId;\n queryCategory: string | undefined;\n currentProduct: Pick<\n StorefrontProduct,\n | \"id\"\n | \"slug\"\n | \"collectionSlug\"\n | \"organizationalCollectionSlug\"\n | \"proCollectionSlug\"\n >;\n collections: Array<{\n slug: string;\n sections: Array<{\n id: string;\n title: string;\n productTags: Array<string>;\n }>;\n products: Array<\n Pick<\n StorefrontProduct,\n | \"id\"\n | \"slug\"\n | \"tags\"\n | \"variants\"\n | \"options\"\n | \"title\"\n | \"status\"\n | \"minDisplayPrice\"\n >\n >;\n }>;\n allCategoryItems: ParsedCategoryItem[];\n}): StoreProductsData => {\n const returnObj: StoreProductsData = {\n category: undefined,\n products: [],\n };\n\n const category = getProStoreCategory({\n queryCategory,\n product: currentProduct,\n });\n\n // Find the category item and sub-item\n const categoryItem = allCategoryItems.find((item) =>\n item.items?.some((subItem) => subItem.id === category),\n );\n const categorySubItem = categoryItem?.items?.find(\n (subItem) => subItem.id === category,\n );\n\n // Set the base category\n const categoryId = categorySubItem?.id ?? category;\n if (categoryId) {\n returnObj.category = {\n id: categoryId,\n label: categoryItem?.label ?? null,\n };\n }\n\n // Removes products that need to be excluded from product grid from the collections\n const filteredCollections = collections.map((collection) => ({\n ...collection,\n products: removeExcludedProducts(collection.products, storeId),\n }));\n\n if (categoryItem?.hideSubItems) {\n const products = filteredCollections.flatMap(\n (collection) => collection.products,\n );\n\n if (isAccessoryCategoryItem(categoryItem)) {\n // Show allowed products\n returnObj.products = isAllowedAccessoryCategoryProduct(currentProduct)\n ? products.filter(isAllowedAccessoryCategoryProduct)\n : [];\n } else {\n // Show all products of collections\n returnObj.products = products;\n }\n } else {\n // Find the collection in which the product is in\n const collection = filteredCollections.find((collection) =>\n collection.products.some((el) => el.id === currentProduct.id),\n );\n\n if (!collection) {\n throw new Error(\"Collection not found\");\n }\n\n const subItems = (\n categoryItem?.items?.slice(1) ??\n allCategoryItems.flatMap((el) => el.items?.slice(1))\n ).filter(Boolean);\n\n // Find sub-category item that has this collection\n const subItem = subItems.find((item) =>\n item.collectionSlugs.includes(collection.slug),\n );\n\n // Update category\n if (subItem && returnObj.category) {\n returnObj.category = {\n id: subItem.id,\n label: subItem.label,\n };\n }\n\n // Find all collections data that are included in subItem\n const subItemCollections = filteredCollections.filter((el) =>\n subItem?.collectionSlugs.includes(el.slug),\n );\n\n const products = subItemCollections.flatMap((el) => el.products);\n\n if (subItem) {\n if (isAccessoryCategorySubItem(subItem, allCategoryItems)) {\n // Show allowed products\n returnObj.products = isAllowedAccessoryCategoryProduct(currentProduct)\n ? products.filter(isAllowedAccessoryCategoryProduct)\n : [];\n } else {\n // Show all products of found collection\n returnObj.products = products;\n }\n }\n\n // #############################################################################\n // Product groups\n // #############################################################################\n const sections = subItemCollections.flatMap((el) => el.sections);\n\n const sectionHierarchy = createSectionHierarchy(sections);\n\n const productGroups = getProductGroups(products, sectionHierarchy);\n\n if (productGroups) {\n return {\n category: returnObj.category,\n productGroups: productGroups.sort((a, b) => {\n if (a.products[0] && b.products[0]) {\n return sortProducts(null, storeId)(a.products[0], b.products[0]);\n }\n\n return 0;\n }),\n };\n }\n }\n\n return {\n ...returnObj,\n products: returnObj.products.sort(sortProducts(null, storeId)),\n };\n};\n"],"names":["isNonNullish","entry","EXCLUDE_PRODUCT_FROM_STORE_GRID_TAG_PREFIX","removeExcludedProducts","products","storeId","excludeTag","toLowerCase","filter","product","tags","some","tag","name","isAccessoryCategoryItem","categoryItem","UniFiCategoryId","Accessories","UISPCategoryId","AccessoryTech","includes","id","HDDProductSlugs","isAllowedAccessoryCategoryProduct","slug","allowedAccessoryProductSlugs","isAccessoryCategorySubItem","categorySubItem","allCategoryItems","find","item","items","subItem","createSectionHierarchy","sections","level","currentLevelSections","section","productTags","length","map","nextSection","every","MagicCollectionTags","ProductOptions","formatOptionValueTitleToTag","optionValueTitle","replace","divideProductByOption","optionTitle","option","options","values","value","variants","variant","optionValueIds","COLLECTION_SECTION_OTHER_ID","UNIT_FACTORS","m","km","DISTANCE_REGEX","mapProductsToSections","productsInThisSection","sectionTag","otherProducts","p","push","title","compareDistanceTitles","a","b","aMatch","match","bMatch","aValue","parseInt","bValue","processSectionProductsWithDistanceInOptions","sec","cloneDeep","sectionWithDistanceTag","sectionsMainProductTag","forEach","optionValues","formattedOptionValues","titleInTagFormat","currentValue","newSecondLevelSectionsTags","alreadyExistingSecondLevelSection","findIndex","areEqualArrays","variantToAdd","productToAdd","sectionToAdd","sort","processSectionsWithOutOfStockProducts","isDisabled","status","DisplayProductStatus","Available","getProductGroups","sectionHierarchy","processedProducts","flatMap","disableLengthOptions","lengthOptions","disableSpeedOptions","speedOptions","mappedProductGroups","processedProductGroups","aFirstProductId","bFirstProductId","aFirstProduct","bFirstProduct","getProStoreCategory","queryCategory","ignoreQuery","getSubCategoryIdByCollectionSlug","collectionSlug","organizationalCollectionSlug","proCollectionSlug","getStoreProducts","currentProduct","collections","returnObj","category","categoryId","label","filteredCollections","collection","hideSubItems","el","Error","subItems","slice","Boolean","collectionSlugs","subItemCollections","productGroups","sortProducts"],"mappings":";;;;;;;;;;;;AAyBO,MAAMA,YAAe,GAAIC,KAC9B,IAAAA,KAAA,KAAU,QAAQA,KA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