@ubnt/store.core 9.38.0-beta.5 → 9.38.1

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 (806) hide show
  1. package/CHANGELOG.md +3 -289
  2. package/lib/_virtual/_virtual_multi-entry.js +2 -15
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +0 -2
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/apis/smartcat.js.map +1 -1
  7. package/lib/apis/smartcat.mjs.map +1 -1
  8. package/lib/assets/attention.svg +5 -5
  9. package/lib/assets/attention2.svg +5 -5
  10. package/lib/assets/close2.svg +2 -3
  11. package/lib/assets/close3.svg +3 -2
  12. package/lib/assets/minus4.svg +8 -8
  13. package/lib/assets/minus5.svg +8 -8
  14. package/lib/assets/pause.svg +3 -3
  15. package/lib/assets/pause2.svg +3 -3
  16. package/lib/assets/plus5.svg +9 -9
  17. package/lib/assets/plus6.svg +9 -9
  18. package/lib/assets/ucgMax.jpg +0 -0
  19. package/lib/assets/ucgMax2.jpg +0 -0
  20. package/lib/assets/ucgUltra.jpg +0 -0
  21. package/lib/assets/ucgUltra2.jpg +0 -0
  22. package/lib/assets/udmProMax.jpg +0 -0
  23. package/lib/assets/udmProMax2.jpg +0 -0
  24. package/lib/components/Accordion/Accordion.js.map +1 -1
  25. package/lib/components/Accordion/Accordion.mjs.map +1 -1
  26. package/lib/components/Accordion/Accordion.styles.js.map +1 -1
  27. package/lib/components/Accordion/Accordion.styles.mjs.map +1 -1
  28. package/lib/components/Avatar/Avatar.js.map +1 -1
  29. package/lib/components/Avatar/Avatar.mjs.map +1 -1
  30. package/lib/components/BackInStock/BackInStock.types.d.ts +0 -1
  31. package/lib/components/Banner/Banner.styles.js.map +1 -1
  32. package/lib/components/Banner/Banner.styles.mjs.map +1 -1
  33. package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
  34. package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
  35. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  36. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  37. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.d.ts +1 -1
  38. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +4 -16
  39. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
  40. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +5 -17
  41. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
  42. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +1 -5
  43. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +17 -82
  44. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
  45. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +17 -82
  46. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
  47. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +0 -4
  48. package/lib/components/CloserLookSection/CloserLookSection.js.map +1 -1
  49. package/lib/components/CloserLookSection/CloserLookSection.mjs.map +1 -1
  50. package/lib/components/CloserLookSection/CloserLookSection.styles.js.map +1 -1
  51. package/lib/components/CloserLookSection/CloserLookSection.styles.mjs.map +1 -1
  52. package/lib/components/Container/Container.styles.js.map +1 -1
  53. package/lib/components/Container/Container.styles.mjs.map +1 -1
  54. package/lib/components/CustomImage/CustomImage.js +1 -1
  55. package/lib/components/CustomImage/CustomImage.js.map +1 -1
  56. package/lib/components/CustomImage/CustomImage.mjs +1 -1
  57. package/lib/components/CustomImage/CustomImage.mjs.map +1 -1
  58. package/lib/components/CustomImage/CustomImage.styles.js.map +1 -1
  59. package/lib/components/CustomImage/CustomImage.styles.mjs.map +1 -1
  60. package/lib/components/Explore/Explore.js.map +1 -1
  61. package/lib/components/Explore/Explore.mjs.map +1 -1
  62. package/lib/components/Explore/ExploreData.js +13 -15
  63. package/lib/components/Explore/ExploreData.js.map +1 -1
  64. package/lib/components/Explore/ExploreData.mjs +13 -15
  65. package/lib/components/Explore/ExploreData.mjs.map +1 -1
  66. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +1 -1
  67. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js.map +1 -1
  68. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
  69. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs.map +1 -1
  70. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js.map +1 -1
  71. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs.map +1 -1
  72. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
  73. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
  74. package/lib/components/Footer/Footer.js +1 -1
  75. package/lib/components/Footer/Footer.js.map +1 -1
  76. package/lib/components/Footer/Footer.mjs +1 -1
  77. package/lib/components/Footer/Footer.mjs.map +1 -1
  78. package/lib/components/Footer/Footer.styles.js.map +1 -1
  79. package/lib/components/Footer/Footer.styles.mjs.map +1 -1
  80. package/lib/components/Gallery/Gallery.js.map +1 -1
  81. package/lib/components/Gallery/Gallery.mjs.map +1 -1
  82. package/lib/components/Gallery/Gallery.styles.js.map +1 -1
  83. package/lib/components/Gallery/Gallery.styles.mjs.map +1 -1
  84. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js.map +1 -1
  85. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs.map +1 -1
  86. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js.map +1 -1
  87. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs.map +1 -1
  88. package/lib/components/GradientButton/GradientButton.styles.js.map +1 -1
  89. package/lib/components/GradientButton/GradientButton.styles.mjs.map +1 -1
  90. package/lib/components/GridGallery/GridGallery.js.map +1 -1
  91. package/lib/components/GridGallery/GridGallery.mjs.map +1 -1
  92. package/lib/components/Header/AccountFrame/AccountFrame.js.map +1 -1
  93. package/lib/components/Header/AccountFrame/AccountFrame.mjs.map +1 -1
  94. package/lib/components/Header/AccountFrame/AccountFrame.styles.js.map +1 -1
  95. package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs.map +1 -1
  96. package/lib/components/Header/AccountMenu/AccountMenu.styles.d.ts +11 -11
  97. package/lib/components/Header/AccountMenu/megaphone.http.service.js.map +1 -1
  98. package/lib/components/Header/AccountMenu/megaphone.http.service.mjs.map +1 -1
  99. package/lib/components/Header/CartModalV2/Item/Item.js.map +1 -1
  100. package/lib/components/Header/CartModalV2/Item/Item.mjs.map +1 -1
  101. package/lib/components/Header/Header.js +3 -3
  102. package/lib/components/Header/Header.js.map +1 -1
  103. package/lib/components/Header/Header.mjs +3 -3
  104. package/lib/components/Header/Header.mjs.map +1 -1
  105. package/lib/components/Header/Header.styles.js.map +1 -1
  106. package/lib/components/Header/Header.styles.mjs.map +1 -1
  107. package/lib/components/Header/LanguageFrame/LanguageFrame.js.map +1 -1
  108. package/lib/components/Header/LanguageFrame/LanguageFrame.mjs.map +1 -1
  109. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js.map +1 -1
  110. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs.map +1 -1
  111. package/lib/components/Header/Navigation/Carousel/Carousel.js.map +1 -1
  112. package/lib/components/Header/Navigation/Carousel/Carousel.mjs.map +1 -1
  113. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
  114. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs.map +1 -1
  115. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  116. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  117. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  118. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  119. package/lib/components/Hero/Hero.js.map +1 -1
  120. package/lib/components/Hero/Hero.mjs.map +1 -1
  121. package/lib/components/Hero/Hero.styles.js.map +1 -1
  122. package/lib/components/Hero/Hero.styles.mjs.map +1 -1
  123. package/lib/components/ImageCarousel/ImageCarousel.styles.js.map +1 -1
  124. package/lib/components/ImageCarousel/ImageCarousel.styles.mjs.map +1 -1
  125. package/lib/components/LandingPage/Cards/Card/Card.js.map +1 -1
  126. package/lib/components/LandingPage/Cards/Card/Card.mjs.map +1 -1
  127. package/lib/components/LandingPage/Cards/Cards.js.map +1 -1
  128. package/lib/components/LandingPage/Cards/Cards.mjs.map +1 -1
  129. package/lib/components/LandingPage/Cards/Cards.styles.js.map +1 -1
  130. package/lib/components/LandingPage/Cards/Cards.styles.mjs.map +1 -1
  131. package/lib/components/LandingPage/LandingPage.js.map +1 -1
  132. package/lib/components/LandingPage/LandingPage.mjs.map +1 -1
  133. package/lib/components/LandingPagePro/LandingPagePro.js.map +1 -1
  134. package/lib/components/LandingPagePro/LandingPagePro.mjs.map +1 -1
  135. package/lib/components/LandingPageSearch/Modal/Modal.js.map +1 -1
  136. package/lib/components/LandingPageSearch/Modal/Modal.mjs.map +1 -1
  137. package/lib/components/LandingPageSidebar/LandingPageSidebar.js.map +1 -1
  138. package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs.map +1 -1
  139. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js.map +1 -1
  140. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs.map +1 -1
  141. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.helpers.js.map +1 -1
  142. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.helpers.mjs.map +1 -1
  143. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.js.map +1 -1
  144. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.mjs.map +1 -1
  145. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.js.map +1 -1
  146. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.mjs.map +1 -1
  147. package/lib/components/MicrositeHero/MicrositeHero.js.map +1 -1
  148. package/lib/components/MicrositeHero/MicrositeHero.mjs.map +1 -1
  149. package/lib/components/MicrositeHero/MicrositeHero.styles.js.map +1 -1
  150. package/lib/components/MicrositeHero/MicrositeHero.styles.mjs.map +1 -1
  151. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js.map +1 -1
  152. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs.map +1 -1
  153. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.js.map +1 -1
  154. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.mjs.map +1 -1
  155. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js.map +1 -1
  156. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.mjs.map +1 -1
  157. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
  158. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
  159. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
  160. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
  161. package/lib/components/Microsites/MicrositeProductPage.js.map +1 -1
  162. package/lib/components/Microsites/MicrositeProductPage.mjs.map +1 -1
  163. package/lib/components/MobileModal/MobileModal.styles.js.map +1 -1
  164. package/lib/components/MobileModal/MobileModal.styles.mjs.map +1 -1
  165. package/lib/components/ModelCompareV3/HeaderShadow.js.map +1 -1
  166. package/lib/components/ModelCompareV3/HeaderShadow.mjs.map +1 -1
  167. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +0 -1
  168. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js.map +1 -1
  169. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +0 -1
  170. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs.map +1 -1
  171. package/lib/components/ModelCompareV3/ModelCompareV3.js.map +1 -1
  172. package/lib/components/ModelCompareV3/ModelCompareV3.mjs.map +1 -1
  173. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +0 -2
  174. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
  175. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs +0 -2
  176. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs.map +1 -1
  177. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +1 -10
  178. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
  179. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
  180. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
  181. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
  182. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  183. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  184. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
  185. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
  186. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
  187. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.mjs +2 -2
  188. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  189. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  190. package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
  191. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
  192. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +2 -3
  193. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
  194. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +2 -3
  195. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
  196. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +3 -10
  197. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
  198. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +3 -10
  199. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
  200. package/lib/components/ModelCompareV3/data/Switching.js +2 -3
  201. package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
  202. package/lib/components/ModelCompareV3/data/Switching.mjs +2 -3
  203. package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
  204. package/lib/components/ModelCompareV3/data/index.d.ts +37 -39
  205. package/lib/components/ModelCompareV3/data/index.js +74 -80
  206. package/lib/components/ModelCompareV3/data/index.js.map +1 -1
  207. package/lib/components/ModelCompareV3/data/index.mjs +74 -80
  208. package/lib/components/ModelCompareV3/data/index.mjs.map +1 -1
  209. package/lib/components/ModelCompareV3/data/products/UispRouter.js.map +1 -1
  210. package/lib/components/ModelCompareV3/data/products/UispRouter.mjs.map +1 -1
  211. package/lib/components/ModelCompareV3/data/products/UispRouterPro.js.map +1 -1
  212. package/lib/components/ModelCompareV3/data/products/UispRouterPro.mjs.map +1 -1
  213. package/lib/components/ModelCompareV3/data/products/aggregation.js +0 -7
  214. package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
  215. package/lib/components/ModelCompareV3/data/products/aggregation.mjs +0 -7
  216. package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
  217. package/lib/components/ModelCompareV3/data/products/airFiber11.js.map +1 -1
  218. package/lib/components/ModelCompareV3/data/products/airFiber11.mjs.map +1 -1
  219. package/lib/components/ModelCompareV3/data/products/airFiber24.js.map +1 -1
  220. package/lib/components/ModelCompareV3/data/products/airFiber24.mjs.map +1 -1
  221. package/lib/components/ModelCompareV3/data/products/airFiber24HiDensity.js.map +1 -1
  222. package/lib/components/ModelCompareV3/data/products/airFiber24HiDensity.mjs.map +1 -1
  223. package/lib/components/ModelCompareV3/data/products/airFiber2X.js.map +1 -1
  224. package/lib/components/ModelCompareV3/data/products/airFiber2X.mjs.map +1 -1
  225. package/lib/components/ModelCompareV3/data/products/airFiber5.js.map +1 -1
  226. package/lib/components/ModelCompareV3/data/products/airFiber5.mjs.map +1 -1
  227. package/lib/components/ModelCompareV3/data/products/airMAX5GHz16dBi120Sector.js.map +1 -1
  228. package/lib/components/ModelCompareV3/data/products/airMAX5GHz16dBi120Sector.mjs.map +1 -1
  229. package/lib/components/ModelCompareV3/data/products/airMAX5GHz17dBi90Sector.js.map +1 -1
  230. package/lib/components/ModelCompareV3/data/products/airMAX5GHz17dBi90Sector.mjs.map +1 -1
  231. package/lib/components/ModelCompareV3/data/products/airMAX5GHz19dBi120Sector.js.map +1 -1
  232. package/lib/components/ModelCompareV3/data/products/airMAX5GHz19dBi120Sector.mjs.map +1 -1
  233. package/lib/components/ModelCompareV3/data/products/airMAX5GHz20dBi90Sector.js.map +1 -1
  234. package/lib/components/ModelCompareV3/data/products/airMAX5GHz20dBi90Sector.mjs.map +1 -1
  235. package/lib/components/ModelCompareV3/data/products/buildingBridge.js.map +1 -1
  236. package/lib/components/ModelCompareV3/data/products/buildingBridge.mjs.map +1 -1
  237. package/lib/components/ModelCompareV3/data/products/buildingBridgeXG.js.map +1 -1
  238. package/lib/components/ModelCompareV3/data/products/buildingBridgeXG.mjs.map +1 -1
  239. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +2 -4
  240. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
  241. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +2 -4
  242. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
  243. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js +2 -2
  244. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js.map +1 -1
  245. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs +2 -2
  246. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs.map +1 -1
  247. package/lib/components/ModelCompareV3/data/products/edgePointR6.js.map +1 -1
  248. package/lib/components/ModelCompareV3/data/products/edgePointR6.mjs.map +1 -1
  249. package/lib/components/ModelCompareV3/data/products/edgePointR8.js.map +1 -1
  250. package/lib/components/ModelCompareV3/data/products/edgePointR8.mjs.map +1 -1
  251. package/lib/components/ModelCompareV3/data/products/edgePointS16Switch.js.map +1 -1
  252. package/lib/components/ModelCompareV3/data/products/edgePointS16Switch.mjs.map +1 -1
  253. package/lib/components/ModelCompareV3/data/products/edgeRouter10x.js.map +1 -1
  254. package/lib/components/ModelCompareV3/data/products/edgeRouter10x.mjs.map +1 -1
  255. package/lib/components/ModelCompareV3/data/products/edgeRouter12.js.map +1 -1
  256. package/lib/components/ModelCompareV3/data/products/edgeRouter12.mjs.map +1 -1
  257. package/lib/components/ModelCompareV3/data/products/edgeRouter12p.js.map +1 -1
  258. package/lib/components/ModelCompareV3/data/products/edgeRouter12p.mjs.map +1 -1
  259. package/lib/components/ModelCompareV3/data/products/edgeRouter4.js.map +1 -1
  260. package/lib/components/ModelCompareV3/data/products/edgeRouter4.mjs.map +1 -1
  261. package/lib/components/ModelCompareV3/data/products/edgeRouter6Poe.js.map +1 -1
  262. package/lib/components/ModelCompareV3/data/products/edgeRouter6Poe.mjs.map +1 -1
  263. package/lib/components/ModelCompareV3/data/products/edgeRouterInfinity.js.map +1 -1
  264. package/lib/components/ModelCompareV3/data/products/edgeRouterInfinity.mjs.map +1 -1
  265. package/lib/components/ModelCompareV3/data/products/edgeRouterX.js.map +1 -1
  266. package/lib/components/ModelCompareV3/data/products/edgeRouterX.mjs.map +1 -1
  267. package/lib/components/ModelCompareV3/data/products/edgeRouterXSfp.js.map +1 -1
  268. package/lib/components/ModelCompareV3/data/products/edgeRouterXSfp.mjs.map +1 -1
  269. package/lib/components/ModelCompareV3/data/products/edgeSwitch10x.js.map +1 -1
  270. package/lib/components/ModelCompareV3/data/products/edgeSwitch10x.mjs.map +1 -1
  271. package/lib/components/ModelCompareV3/data/products/edgeSwitch10xp.js.map +1 -1
  272. package/lib/components/ModelCompareV3/data/products/edgeSwitch10xp.mjs.map +1 -1
  273. package/lib/components/ModelCompareV3/data/products/edgeSwitch16xg.js.map +1 -1
  274. package/lib/components/ModelCompareV3/data/products/edgeSwitch16xg.mjs.map +1 -1
  275. package/lib/components/ModelCompareV3/data/products/edgeSwitch16xp.js.map +1 -1
  276. package/lib/components/ModelCompareV3/data/products/edgeSwitch16xp.mjs.map +1 -1
  277. package/lib/components/ModelCompareV3/data/products/edgeSwitch16xpoe150.js.map +1 -1
  278. package/lib/components/ModelCompareV3/data/products/edgeSwitch16xpoe150.mjs.map +1 -1
  279. package/lib/components/ModelCompareV3/data/products/edgeSwitch18x.js.map +1 -1
  280. package/lib/components/ModelCompareV3/data/products/edgeSwitch18x.mjs.map +1 -1
  281. package/lib/components/ModelCompareV3/data/products/edgeSwitch24lite.js.map +1 -1
  282. package/lib/components/ModelCompareV3/data/products/edgeSwitch24lite.mjs.map +1 -1
  283. package/lib/components/ModelCompareV3/data/products/edgeSwitch24poe-500.js.map +1 -1
  284. package/lib/components/ModelCompareV3/data/products/edgeSwitch24poe-500.mjs.map +1 -1
  285. package/lib/components/ModelCompareV3/data/products/edgeSwitch24poe.js.map +1 -1
  286. package/lib/components/ModelCompareV3/data/products/edgeSwitch24poe.mjs.map +1 -1
  287. package/lib/components/ModelCompareV3/data/products/edgeSwitch48lite.js.map +1 -1
  288. package/lib/components/ModelCompareV3/data/products/edgeSwitch48lite.mjs.map +1 -1
  289. package/lib/components/ModelCompareV3/data/products/edgeSwitch48poe.js.map +1 -1
  290. package/lib/components/ModelCompareV3/data/products/edgeSwitch48poe.mjs.map +1 -1
  291. package/lib/components/ModelCompareV3/data/products/edgeswitch48poe-750.js.map +1 -1
  292. package/lib/components/ModelCompareV3/data/products/edgeswitch48poe-750.mjs.map +1 -1
  293. package/lib/components/ModelCompareV3/data/products/edgeswitch5xp.js.map +1 -1
  294. package/lib/components/ModelCompareV3/data/products/edgeswitch5xp.mjs.map +1 -1
  295. package/lib/components/ModelCompareV3/data/products/edgeswitch8poe.js.map +1 -1
  296. package/lib/components/ModelCompareV3/data/products/edgeswitch8poe.mjs.map +1 -1
  297. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +0 -7
  298. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
  299. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +0 -7
  300. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
  301. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +0 -7
  302. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
  303. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -7
  304. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
  305. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +0 -7
  306. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
  307. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -7
  308. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +1 -1
  309. package/lib/components/ModelCompareV3/data/products/express.js +3 -3
  310. package/lib/components/ModelCompareV3/data/products/express.js.map +1 -1
  311. package/lib/components/ModelCompareV3/data/products/express.mjs +3 -3
  312. package/lib/components/ModelCompareV3/data/products/express.mjs.map +1 -1
  313. package/lib/components/ModelCompareV3/data/products/fiberInstant.js.map +1 -1
  314. package/lib/components/ModelCompareV3/data/products/fiberInstant.mjs.map +1 -1
  315. package/lib/components/ModelCompareV3/data/products/fiberNanog.js.map +1 -1
  316. package/lib/components/ModelCompareV3/data/products/fiberNanog.mjs.map +1 -1
  317. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js +2 -4
  318. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
  319. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +2 -4
  320. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
  321. package/lib/components/ModelCompareV3/data/products/gatewayLite.js +2 -4
  322. package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
  323. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +2 -4
  324. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs.map +1 -1
  325. package/lib/components/ModelCompareV3/data/products/gatewayMax.js +2 -4
  326. package/lib/components/ModelCompareV3/data/products/gatewayMax.js.map +1 -1
  327. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs +2 -4
  328. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs.map +1 -1
  329. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js +2 -4
  330. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
  331. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +2 -4
  332. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs.map +1 -1
  333. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +0 -7
  334. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
  335. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +0 -7
  336. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
  337. package/lib/components/ModelCompareV3/data/products/ltuExtremeRange.js.map +1 -1
  338. package/lib/components/ModelCompareV3/data/products/ltuExtremeRange.mjs.map +1 -1
  339. package/lib/components/ModelCompareV3/data/products/ltuLongRange.js.map +1 -1
  340. package/lib/components/ModelCompareV3/data/products/ltuLongRange.mjs.map +1 -1
  341. package/lib/components/ModelCompareV3/data/products/ltuPro.js.map +1 -1
  342. package/lib/components/ModelCompareV3/data/products/ltuPro.mjs.map +1 -1
  343. package/lib/components/ModelCompareV3/data/products/missionCritical.js +0 -7
  344. package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
  345. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +0 -7
  346. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
  347. package/lib/components/ModelCompareV3/data/products/nanoStation5AC.js.map +1 -1
  348. package/lib/components/ModelCompareV3/data/products/nanoStation5AC.mjs.map +1 -1
  349. package/lib/components/ModelCompareV3/data/products/nanoStation5ACLoco.js.map +1 -1
  350. package/lib/components/ModelCompareV3/data/products/nanoStation5ACLoco.mjs.map +1 -1
  351. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js +1 -3
  352. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js.map +1 -1
  353. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs +1 -3
  354. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs.map +1 -1
  355. package/lib/components/ModelCompareV3/data/products/prismStation5AC.js.map +1 -1
  356. package/lib/components/ModelCompareV3/data/products/prismStation5AC.mjs.map +1 -1
  357. package/lib/components/ModelCompareV3/data/products/professionalMax16.js +0 -7
  358. package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
  359. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +0 -7
  360. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
  361. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +0 -7
  362. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
  363. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +0 -7
  364. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
  365. package/lib/components/ModelCompareV3/data/products/professionalMax24.js +0 -7
  366. package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
  367. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +0 -7
  368. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
  369. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +0 -7
  370. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
  371. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +0 -7
  372. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
  373. package/lib/components/ModelCompareV3/data/products/professionalMax48.js +0 -7
  374. package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
  375. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +0 -7
  376. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
  377. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +0 -7
  378. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
  379. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +0 -7
  380. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
  381. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +0 -8
  382. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
  383. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +0 -8
  384. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
  385. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +0 -7
  386. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
  387. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +0 -7
  388. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
  389. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -10
  390. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
  391. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -10
  392. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
  393. package/lib/components/ModelCompareV3/data/products/switchesStandard.js +0 -7
  394. package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
  395. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +0 -7
  396. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
  397. package/lib/components/ModelCompareV3/data/products/ucgMax.js +2 -2
  398. package/lib/components/ModelCompareV3/data/products/ucgMax.js.map +1 -1
  399. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +2 -2
  400. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs.map +1 -1
  401. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +4 -4
  402. package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
  403. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +4 -4
  404. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs.map +1 -1
  405. package/lib/components/ModelCompareV3/data/products/udb.js.map +1 -1
  406. package/lib/components/ModelCompareV3/data/products/udb.mjs.map +1 -1
  407. package/lib/components/ModelCompareV3/data/products/udbPro.js.map +1 -1
  408. package/lib/components/ModelCompareV3/data/products/udbPro.mjs.map +1 -1
  409. package/lib/components/ModelCompareV3/data/products/udmPro.js +3 -3
  410. package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
  411. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +3 -3
  412. package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
  413. package/lib/components/ModelCompareV3/data/products/udmProMax.js +4 -4
  414. package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
  415. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +4 -4
  416. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
  417. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +3 -3
  418. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
  419. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +3 -3
  420. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
  421. package/lib/components/ModelCompareV3/data/products/udr.js +41 -5
  422. package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
  423. package/lib/components/ModelCompareV3/data/products/udr.mjs +21 -5
  424. package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
  425. package/lib/components/ModelCompareV3/data/products/udw.js +3 -3
  426. package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
  427. package/lib/components/ModelCompareV3/data/products/udw.mjs +3 -3
  428. package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
  429. package/lib/components/ModelCompareV3/data/products/uispSwitch.js.map +1 -1
  430. package/lib/components/ModelCompareV3/data/products/uispSwitch.mjs.map +1 -1
  431. package/lib/components/ModelCompareV3/data/properties/dedicatedSpectral.js +2 -2
  432. package/lib/components/ModelCompareV3/data/properties/dedicatedSpectral.js.map +1 -1
  433. package/lib/components/ModelCompareV3/data/properties/dedicatedSpectral.mjs +2 -2
  434. package/lib/components/ModelCompareV3/data/properties/dedicatedSpectral.mjs.map +1 -1
  435. package/lib/components/ModelCompareV3/data/properties/index.d.ts +0 -5
  436. package/lib/components/ModelCompareV3/data/properties/index.js +0 -10
  437. package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
  438. package/lib/components/ModelCompareV3/data/properties/index.mjs +0 -5
  439. package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
  440. package/lib/components/ModelCompareV3/translations/en.json.js +1 -31
  441. package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
  442. package/lib/components/ModelCompareV3/translations/en.json.mjs +1 -31
  443. package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
  444. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  445. package/lib/components/Pagination/Pagination.js.map +1 -1
  446. package/lib/components/Pagination/Pagination.mjs.map +1 -1
  447. package/lib/components/PriceRangeSlider/PriceRangeSlider.js.map +1 -1
  448. package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs.map +1 -1
  449. package/lib/components/ProductCard/ProductCard.js.map +1 -1
  450. package/lib/components/ProductCard/ProductCard.mjs.map +1 -1
  451. package/lib/components/ProductCardPopup/ProductCardPopup.js.map +1 -1
  452. package/lib/components/ProductCardPopup/ProductCardPopup.mjs.map +1 -1
  453. package/lib/components/ProductGrid/ProductGrid.js.map +1 -1
  454. package/lib/components/ProductGrid/ProductGrid.mjs.map +1 -1
  455. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts +3 -3
  456. package/lib/components/ProductSectionTabs/ProductSectionTabs.js.map +1 -1
  457. package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs.map +1 -1
  458. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
  459. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs.map +1 -1
  460. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js.map +1 -1
  461. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs.map +1 -1
  462. package/lib/components/RelatedProducts/RelatedProducts.js.map +1 -1
  463. package/lib/components/RelatedProducts/RelatedProducts.mjs.map +1 -1
  464. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js.map +1 -1
  465. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.mjs.map +1 -1
  466. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js.map +1 -1
  467. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.mjs.map +1 -1
  468. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
  469. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  470. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js.map +1 -1
  471. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.mjs.map +1 -1
  472. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
  473. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  474. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.js.map +1 -1
  475. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.mjs.map +1 -1
  476. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  477. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  478. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  479. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  480. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  481. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  482. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +2 -2
  483. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js.map +1 -1
  484. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +2 -2
  485. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs.map +1 -1
  486. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  487. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  488. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js.map +1 -1
  489. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.mjs.map +1 -1
  490. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
  491. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js.map +1 -1
  492. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
  493. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs.map +1 -1
  494. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  495. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  496. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  497. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  498. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js.map +1 -1
  499. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.mjs.map +1 -1
  500. package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
  501. package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
  502. package/lib/components/ScrollWrapper/ScrollWrapper.styles.js.map +1 -1
  503. package/lib/components/ScrollWrapper/ScrollWrapper.styles.mjs.map +1 -1
  504. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  505. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  506. package/lib/components/Search/Modal/Modal.js.map +1 -1
  507. package/lib/components/Search/Modal/Modal.mjs.map +1 -1
  508. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.js.map +1 -1
  509. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.mjs.map +1 -1
  510. package/lib/components/StorageSliders/Slider/Slider.styles.d.ts +1 -1
  511. package/lib/components/StorageSliders/StorageSliders.utils.js.map +1 -1
  512. package/lib/components/StorageSliders/StorageSliders.utils.mjs.map +1 -1
  513. package/lib/components/StyleableSvgImage/StyleableSvgImage.js.map +1 -1
  514. package/lib/components/StyleableSvgImage/StyleableSvgImage.mjs.map +1 -1
  515. package/lib/components/Tooltip/Tooltip.styles.d.ts +1 -0
  516. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js.map +1 -1
  517. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs.map +1 -1
  518. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js.map +1 -1
  519. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs.map +1 -1
  520. package/lib/components/VariantSelector/Variant/Variant.js.map +1 -1
  521. package/lib/components/VariantSelector/Variant/Variant.mjs.map +1 -1
  522. package/lib/components/VariantSelector/VariantSelector.constants.js.map +1 -1
  523. package/lib/components/VariantSelector/VariantSelector.constants.mjs.map +1 -1
  524. package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +3 -3
  525. package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +3 -3
  526. package/lib/components/VideoPlayerNew/VideoPlayer.js +2 -2
  527. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +2 -2
  528. package/lib/components/VideoPlayerNew/VideoPlayer.styles.d.ts +2 -2
  529. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  530. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  531. package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
  532. package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
  533. package/lib/constants/icons/menu/index.d.ts +0 -1
  534. package/lib/constants/icons/menu/index.js +0 -9
  535. package/lib/constants/icons/menu/index.js.map +1 -1
  536. package/lib/constants/icons/menu/index.mjs +0 -2
  537. package/lib/constants/icons/menu/index.mjs.map +1 -1
  538. package/lib/constants/layout.js.map +1 -1
  539. package/lib/constants/layout.mjs.map +1 -1
  540. package/lib/constants/postalCode.js.map +1 -1
  541. package/lib/constants/postalCode.mjs.map +1 -1
  542. package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -3
  543. package/lib/constants/proStoreCategories/mapping/index.js +46 -40
  544. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  545. package/lib/constants/proStoreCategories/mapping/index.mjs +44 -39
  546. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  547. package/lib/constants/proStoreCategories/mapping/redirects.js +3 -18
  548. package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
  549. package/lib/constants/proStoreCategories/mapping/redirects.mjs +3 -18
  550. package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
  551. package/lib/constants/proStoreCategories/mapping/uisp.d.ts +0 -1
  552. package/lib/constants/proStoreCategories/mapping/uisp.js +0 -1
  553. package/lib/constants/proStoreCategories/mapping/uisp.js.map +1 -1
  554. package/lib/constants/proStoreCategories/mapping/uisp.mjs +0 -1
  555. package/lib/constants/proStoreCategories/mapping/uisp.mjs.map +1 -1
  556. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +9 -8
  557. package/lib/constants/proStoreCategories/mapping/unifi.js +9 -8
  558. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  559. package/lib/constants/proStoreCategories/mapping/unifi.mjs +9 -8
  560. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  561. package/lib/constants/proStoreCategories/translations/ar.json.js +2 -6
  562. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  563. package/lib/constants/proStoreCategories/translations/ar.json.mjs +3 -6
  564. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  565. package/lib/constants/proStoreCategories/translations/de.json.js +2 -6
  566. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  567. package/lib/constants/proStoreCategories/translations/de.json.mjs +3 -6
  568. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  569. package/lib/constants/proStoreCategories/translations/el.json.js +2 -6
  570. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  571. package/lib/constants/proStoreCategories/translations/el.json.mjs +3 -6
  572. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  573. package/lib/constants/proStoreCategories/translations/en.json.js +2 -3
  574. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  575. package/lib/constants/proStoreCategories/translations/en.json.mjs +2 -3
  576. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  577. package/lib/constants/proStoreCategories/translations/es.json.js +2 -6
  578. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  579. package/lib/constants/proStoreCategories/translations/es.json.mjs +3 -6
  580. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  581. package/lib/constants/proStoreCategories/translations/fr.json.js +2 -3
  582. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  583. package/lib/constants/proStoreCategories/translations/fr.json.mjs +2 -3
  584. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  585. package/lib/constants/proStoreCategories/translations/it.json.js +2 -6
  586. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  587. package/lib/constants/proStoreCategories/translations/it.json.mjs +3 -6
  588. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  589. package/lib/constants/proStoreCategories/translations/ja.json.js +2 -6
  590. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  591. package/lib/constants/proStoreCategories/translations/ja.json.mjs +3 -6
  592. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  593. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +2 -6
  594. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  595. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +3 -6
  596. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  597. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +2 -3
  598. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  599. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +2 -3
  600. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  601. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +2 -3
  602. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  603. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +2 -3
  604. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  605. package/lib/constants/proStoreFilters/mapping.d.ts +1 -17
  606. package/lib/constants/proStoreFilters/mapping.js +0 -16
  607. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  608. package/lib/constants/proStoreFilters/mapping.mjs +0 -16
  609. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  610. package/lib/contexts/MenuContext/mapping.js +0 -12
  611. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  612. package/lib/contexts/MenuContext/mapping.mjs +0 -11
  613. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  614. package/lib/contexts/MenuContext/utils.js.map +1 -1
  615. package/lib/contexts/MenuContext/utils.mjs.map +1 -1
  616. package/lib/helpers/index.d.ts +0 -1
  617. package/lib/helpers/index.js +0 -11
  618. package/lib/helpers/index.js.map +1 -1
  619. package/lib/helpers/index.mjs +0 -1
  620. package/lib/helpers/index.mjs.map +1 -1
  621. package/lib/helpers/time.js.map +1 -1
  622. package/lib/helpers/time.mjs.map +1 -1
  623. package/lib/hooks/useTranslation.js.map +1 -1
  624. package/lib/hooks/useTranslation.mjs.map +1 -1
  625. package/lib/types/index.d.ts +0 -1
  626. package/lib/types/index.js +0 -2
  627. package/lib/types/index.js.map +1 -1
  628. package/lib/types/index.mjs +0 -1
  629. package/lib/types/index.mjs.map +1 -1
  630. package/lib/utils/address.d.ts +62 -278
  631. package/lib/utils/address.js +8 -11
  632. package/lib/utils/address.js.map +1 -1
  633. package/lib/utils/address.mjs +8 -11
  634. package/lib/utils/address.mjs.map +1 -1
  635. package/lib/utils/array.d.ts +0 -4
  636. package/lib/utils/array.js +0 -10
  637. package/lib/utils/array.js.map +1 -1
  638. package/lib/utils/array.mjs +1 -10
  639. package/lib/utils/array.mjs.map +1 -1
  640. package/lib/utils/money/allocators/fixedAmount.js.map +1 -1
  641. package/lib/utils/money/allocators/fixedAmount.mjs.map +1 -1
  642. package/lib/utils/money/format.js +1 -2
  643. package/lib/utils/money/format.js.map +1 -1
  644. package/lib/utils/money/format.mjs +1 -2
  645. package/lib/utils/money/format.mjs.map +1 -1
  646. package/lib/utils/money/misc.js.map +1 -1
  647. package/lib/utils/money/misc.mjs.map +1 -1
  648. package/lib/utils/nextjs/createInlineScript.js.map +1 -1
  649. package/lib/utils/nextjs/createInlineScript.mjs.map +1 -1
  650. package/lib/utils/nextjs/index.d.ts +0 -3
  651. package/lib/utils/nextjs/index.js +0 -5
  652. package/lib/utils/nextjs/index.js.map +1 -1
  653. package/lib/utils/nextjs/index.mjs +0 -3
  654. package/lib/utils/nextjs/index.mjs.map +1 -1
  655. package/lib/utils/nextjs/stringifyForInject.js.map +1 -1
  656. package/lib/utils/nextjs/stringifyForInject.mjs.map +1 -1
  657. package/lib/utils/number.js.map +1 -1
  658. package/lib/utils/number.mjs.map +1 -1
  659. package/lib/utils/tax/brazil.js.map +1 -1
  660. package/lib/utils/tax/brazil.mjs.map +1 -1
  661. package/lib/utils/wattage.js.map +1 -1
  662. package/lib/utils/wattage.mjs.map +1 -1
  663. package/package.json +10 -12
  664. package/lib/assets/basestation-xg.jpg +0 -0
  665. package/lib/assets/crestron.svg +0 -3
  666. package/lib/assets/e7-audience.jpg +0 -0
  667. package/lib/assets/e7.jpg +0 -0
  668. package/lib/assets/port2.svg +0 -5
  669. package/lib/assets/radio-60g.svg +0 -11
  670. package/lib/assets/wifiEnterprise.svg +0 -3
  671. package/lib/components/ModelCompareV3/assets/WiFi/basestation-xg.jpg.js +0 -27
  672. package/lib/components/ModelCompareV3/assets/WiFi/basestation-xg.jpg.js.map +0 -1
  673. package/lib/components/ModelCompareV3/assets/WiFi/basestation-xg.jpg.mjs +0 -3
  674. package/lib/components/ModelCompareV3/assets/WiFi/basestation-xg.jpg.mjs.map +0 -1
  675. package/lib/components/ModelCompareV3/assets/WiFi/e7-audience.jpg.js +0 -27
  676. package/lib/components/ModelCompareV3/assets/WiFi/e7-audience.jpg.js.map +0 -1
  677. package/lib/components/ModelCompareV3/assets/WiFi/e7-audience.jpg.mjs +0 -3
  678. package/lib/components/ModelCompareV3/assets/WiFi/e7-audience.jpg.mjs.map +0 -1
  679. package/lib/components/ModelCompareV3/assets/WiFi/e7.jpg.js +0 -27
  680. package/lib/components/ModelCompareV3/assets/WiFi/e7.jpg.js.map +0 -1
  681. package/lib/components/ModelCompareV3/assets/WiFi/e7.jpg.mjs +0 -3
  682. package/lib/components/ModelCompareV3/assets/WiFi/e7.jpg.mjs.map +0 -1
  683. package/lib/components/ModelCompareV3/assets/crestron.svg.js +0 -27
  684. package/lib/components/ModelCompareV3/assets/crestron.svg.js.map +0 -1
  685. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +0 -3
  686. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +0 -1
  687. package/lib/components/ModelCompareV3/assets/port.svg.js +0 -27
  688. package/lib/components/ModelCompareV3/assets/port.svg.js.map +0 -1
  689. package/lib/components/ModelCompareV3/assets/port.svg.mjs +0 -3
  690. package/lib/components/ModelCompareV3/assets/port.svg.mjs.map +0 -1
  691. package/lib/components/ModelCompareV3/assets/radio-60g.svg.js +0 -27
  692. package/lib/components/ModelCompareV3/assets/radio-60g.svg.js.map +0 -1
  693. package/lib/components/ModelCompareV3/assets/radio-60g.svg.mjs +0 -3
  694. package/lib/components/ModelCompareV3/assets/radio-60g.svg.mjs.map +0 -1
  695. package/lib/components/ModelCompareV3/data/EnterpriseWiFi.d.ts +0 -2
  696. package/lib/components/ModelCompareV3/data/EnterpriseWiFi.js +0 -28
  697. package/lib/components/ModelCompareV3/data/EnterpriseWiFi.js.map +0 -1
  698. package/lib/components/ModelCompareV3/data/EnterpriseWiFi.mjs +0 -26
  699. package/lib/components/ModelCompareV3/data/EnterpriseWiFi.mjs.map +0 -1
  700. package/lib/components/ModelCompareV3/data/MegaCapacityWiFI.d.ts +0 -2
  701. package/lib/components/ModelCompareV3/data/MegaCapacityWiFI.js +0 -26
  702. package/lib/components/ModelCompareV3/data/MegaCapacityWiFI.js.map +0 -1
  703. package/lib/components/ModelCompareV3/data/MegaCapacityWiFI.mjs +0 -24
  704. package/lib/components/ModelCompareV3/data/MegaCapacityWiFI.mjs.map +0 -1
  705. package/lib/components/ModelCompareV3/data/products/baseStationXG.d.ts +0 -2
  706. package/lib/components/ModelCompareV3/data/products/baseStationXG.js +0 -114
  707. package/lib/components/ModelCompareV3/data/products/baseStationXG.js.map +0 -1
  708. package/lib/components/ModelCompareV3/data/products/baseStationXG.mjs +0 -106
  709. package/lib/components/ModelCompareV3/data/products/baseStationXG.mjs.map +0 -1
  710. package/lib/components/ModelCompareV3/data/products/e7.d.ts +0 -2
  711. package/lib/components/ModelCompareV3/data/products/e7.js +0 -121
  712. package/lib/components/ModelCompareV3/data/products/e7.js.map +0 -1
  713. package/lib/components/ModelCompareV3/data/products/e7.mjs +0 -113
  714. package/lib/components/ModelCompareV3/data/products/e7.mjs.map +0 -1
  715. package/lib/components/ModelCompareV3/data/products/e7Audience.d.ts +0 -2
  716. package/lib/components/ModelCompareV3/data/products/e7Audience.js +0 -135
  717. package/lib/components/ModelCompareV3/data/products/e7Audience.js.map +0 -1
  718. package/lib/components/ModelCompareV3/data/products/e7Audience.mjs +0 -127
  719. package/lib/components/ModelCompareV3/data/products/e7Audience.mjs.map +0 -1
  720. package/lib/components/ModelCompareV3/data/products/e7Campus.d.ts +0 -2
  721. package/lib/components/ModelCompareV3/data/products/e7Campus.js +0 -119
  722. package/lib/components/ModelCompareV3/data/products/e7Campus.js.map +0 -1
  723. package/lib/components/ModelCompareV3/data/products/e7Campus.mjs +0 -111
  724. package/lib/components/ModelCompareV3/data/products/e7Campus.mjs.map +0 -1
  725. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +0 -2
  726. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +0 -18
  727. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +0 -1
  728. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +0 -10
  729. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +0 -1
  730. package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.d.ts +0 -2
  731. package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.js +0 -18
  732. package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.js.map +0 -1
  733. package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.mjs +0 -10
  734. package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.mjs.map +0 -1
  735. package/lib/components/ModelCompareV3/data/properties/rfFilteringTechnology.d.ts +0 -2
  736. package/lib/components/ModelCompareV3/data/properties/rfFilteringTechnology.js +0 -18
  737. package/lib/components/ModelCompareV3/data/properties/rfFilteringTechnology.js.map +0 -1
  738. package/lib/components/ModelCompareV3/data/properties/rfFilteringTechnology.mjs +0 -10
  739. package/lib/components/ModelCompareV3/data/properties/rfFilteringTechnology.mjs.map +0 -1
  740. package/lib/components/ModelCompareV3/data/properties/weatherproofing.d.ts +0 -2
  741. package/lib/components/ModelCompareV3/data/properties/weatherproofing.js +0 -18
  742. package/lib/components/ModelCompareV3/data/properties/weatherproofing.js.map +0 -1
  743. package/lib/components/ModelCompareV3/data/properties/weatherproofing.mjs +0 -10
  744. package/lib/components/ModelCompareV3/data/properties/weatherproofing.mjs.map +0 -1
  745. package/lib/components/ModelCompareV3/data/properties/wifi6Technology.d.ts +0 -2
  746. package/lib/components/ModelCompareV3/data/properties/wifi6Technology.js +0 -18
  747. package/lib/components/ModelCompareV3/data/properties/wifi6Technology.js.map +0 -1
  748. package/lib/components/ModelCompareV3/data/properties/wifi6Technology.mjs +0 -10
  749. package/lib/components/ModelCompareV3/data/properties/wifi6Technology.mjs.map +0 -1
  750. package/lib/constants/icons/menu/wifiEnterprise.svg.js +0 -27
  751. package/lib/constants/icons/menu/wifiEnterprise.svg.js.map +0 -1
  752. package/lib/constants/icons/menu/wifiEnterprise.svg.mjs +0 -3
  753. package/lib/constants/icons/menu/wifiEnterprise.svg.mjs.map +0 -1
  754. package/lib/helpers/product.d.ts +0 -87
  755. package/lib/helpers/product.js +0 -346
  756. package/lib/helpers/product.js.map +0 -1
  757. package/lib/helpers/product.mjs +0 -335
  758. package/lib/helpers/product.mjs.map +0 -1
  759. package/lib/helpers/product.test.d.ts +0 -1
  760. package/lib/types/product.d.ts +0 -87
  761. package/lib/types/product.js +0 -14
  762. package/lib/types/product.js.map +0 -1
  763. package/lib/types/product.mjs +0 -13
  764. package/lib/types/product.mjs.map +0 -1
  765. package/lib/utils/nextjs/patch.d.ts +0 -1
  766. package/lib/utils/nextjs/patch.js +0 -53
  767. package/lib/utils/nextjs/patch.js.map +0 -1
  768. package/lib/utils/nextjs/patch.mjs +0 -41
  769. package/lib/utils/nextjs/patch.mjs.map +0 -1
  770. package/lib/utils/nextjs/plugin.d.ts +0 -14
  771. package/lib/utils/nextjs/plugin.js +0 -41
  772. package/lib/utils/nextjs/plugin.js.map +0 -1
  773. package/lib/utils/nextjs/plugin.mjs +0 -39
  774. package/lib/utils/nextjs/plugin.mjs.map +0 -1
  775. package/lib/utils/nextjs/ssr/constants.d.ts +0 -8
  776. package/lib/utils/nextjs/ssr/constants.js +0 -8
  777. package/lib/utils/nextjs/ssr/constants.js.map +0 -1
  778. package/lib/utils/nextjs/ssr/constants.mjs +0 -6
  779. package/lib/utils/nextjs/ssr/constants.mjs.map +0 -1
  780. package/lib/utils/nextjs/ssr/registry.d.ts +0 -52
  781. package/lib/utils/nextjs/ssr/registry.js +0 -22
  782. package/lib/utils/nextjs/ssr/registry.js.map +0 -1
  783. package/lib/utils/nextjs/ssr/registry.mjs +0 -20
  784. package/lib/utils/nextjs/ssr/registry.mjs.map +0 -1
  785. package/lib/utils/nextjs/ssr/style-inject.d.ts +0 -21
  786. package/lib/utils/nextjs/ssr/style-inject.js +0 -47
  787. package/lib/utils/nextjs/ssr/style-inject.js.map +0 -1
  788. package/lib/utils/nextjs/ssr/style-inject.mjs +0 -43
  789. package/lib/utils/nextjs/ssr/style-inject.mjs.map +0 -1
  790. package/lib/utils/nextjs/ssr/transform-css-module.d.ts +0 -11
  791. package/lib/utils/nextjs/ssr/transform-css-module.js +0 -115
  792. package/lib/utils/nextjs/ssr/transform-css-module.js.map +0 -1
  793. package/lib/utils/nextjs/ssr/transform-css-module.mjs +0 -87
  794. package/lib/utils/nextjs/ssr/transform-css-module.mjs.map +0 -1
  795. package/lib/utils/nextjs/ssr/transform-css-module.test.d.ts +0 -1
  796. package/lib/utils/nextjs/ssr/types.d.ts +0 -10
  797. package/lib/utils/productSort.d.ts +0 -41
  798. package/lib/utils/productSort.js +0 -67
  799. package/lib/utils/productSort.js.map +0 -1
  800. package/lib/utils/productSort.mjs +0 -60
  801. package/lib/utils/productSort.mjs.map +0 -1
  802. package/lib/utils/validations/lastNameSuperRefinement.d.ts +0 -11
  803. package/lib/utils/validations/lastNameSuperRefinement.js +0 -25
  804. package/lib/utils/validations/lastNameSuperRefinement.js.map +0 -1
  805. package/lib/utils/validations/lastNameSuperRefinement.mjs +0 -21
  806. package/lib/utils/validations/lastNameSuperRefinement.mjs.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"transform-css-module.js","sources":["../../../../src/utils/nextjs/ssr/transform-css-module.ts"],"sourcesContent":["import type { PluginObj } from \"@babel/core\";\nimport * as t from \"@babel/types\";\nimport crypto from \"node:crypto\";\n\nfunction generateMd5(input: string): string {\n return crypto.createHash(\"md5\").update(input).digest(\"hex\");\n}\n\ntype Plugin = PluginObj<{\n // Store the name of the default import identifier for \"style-inject.es.js\"\n defaultImportName: null | string;\n}>;\n\n/**\n * FIXME: Currently this plugin won't:\n * - Handle existing source maps correctly and would strip from the output: \"//#\n * sourceMappingURL=BubbleContainer.module.css.js.map\"\n */\nexport const transformCssModule = (): Plugin => {\n return {\n visitor: {\n // Step 0: Setup state\n Program(_path, state) {\n state[\"defaultImportName\"] = null;\n },\n // Step 1: Find the default import from \"style-inject.es.js\"\n ImportDeclaration(path, state) {\n // Skip, if the default import name is already found (assuming there is only one per-file)\n if (state[\"defaultImportName\"]) {\n return;\n }\n\n // Look for imports for \"style-inject.es.js\" file\n const importSource = path.node.source.value;\n if (!importSource.endsWith(\"style-inject.es.js\")) {\n return;\n }\n\n // Check for default import specifier\n const defaultSpecifier = path.node.specifiers.find((specifier) =>\n t.isImportDefaultSpecifier(specifier),\n ) as t.ImportDefaultSpecifier | undefined;\n\n // Store the default import name\n if (defaultSpecifier) {\n // Fail if two instances of file is found\n state[\"defaultImportName\"] = defaultSpecifier.local.name;\n } else {\n throw new Error(\n \"Import for `style-inject.es.js` file not found in file\",\n );\n }\n },\n\n // Step 2: Find all calls to the imported identifier\n CallExpression(path, state) {\n // Ignore if the default import name is not found\n if (!state[\"defaultImportName\"]) {\n return;\n }\n\n // Check if the callee is the default import identifier\n const callee = path.node.callee;\n if (\n t.isIdentifier(callee) &&\n callee.name === state[\"defaultImportName\"]\n ) {\n const args = path.node.arguments;\n\n // If arguments are not between 1 and 2, fail\n if (!(args.length >= 1 && args.length <= 2)) {\n throw new Error(\"Unexpected number of arguments\");\n }\n\n /**\n * Validates that the function arguments are:\n * 1. needs to be a string literal or variable holding string\n * 2. (optional) string literal\n */\n if (\n !(\n (t.isStringLiteral(args[0]) || t.isIdentifier(args[0])) &&\n (!args[1] || t.isStringLiteral(args[1]))\n )\n ) {\n throw new Error(\"Unexpected argument types\");\n }\n\n // CSS string\n let cssString: string = \"\";\n\n // Try to remove duplicate string literal as first argument and instead re-use the a already generated variable\n if (t.isStringLiteral(args[0])) {\n cssString = args[0].value;\n\n let reusedVariable = null;\n path.scope.path.traverse({\n VariableDeclarator(variablePath) {\n const { id, init } = variablePath.node;\n\n // Match variables initialized with the same string value.\n if (t.isStringLiteral(init, { value: cssString })) {\n reusedVariable = id;\n variablePath.stop(); // Stop traversing once a match is found.\n }\n },\n });\n\n // Replace the string literal with the existing variable reference.\n if (reusedVariable) {\n path.node.arguments[0] = reusedVariable;\n }\n } else if (t.isIdentifier(args[0])) {\n // Extract value from variable\n const binding = path.scope.getBinding(args[0].name);\n if (\n binding &&\n t.isVariableDeclarator(binding.path.node) &&\n t.isStringLiteral(binding.path.node.init)\n ) {\n cssString = binding.path.node.init.value;\n }\n }\n\n if (!cssString) {\n throw new Error(\"Invalid first argument value\");\n }\n\n // Generate MD5 hash of the first argument's value\n // TODO: Looked into that styled-components use murmurhash. Also it's possible to use sha1 for longer key\n // (less % of collision)\n const hash = generateMd5(cssString);\n\n // Add the hash as the second argument\n const hashArg = t.stringLiteral(hash);\n if (args.length > 1) {\n // If a second argument exists, replace it\n args[1] = hashArg;\n } else {\n // Otherwise, add it as a new second argument\n args.push(hashArg);\n }\n }\n },\n },\n } satisfies Plugin;\n};\n"],"names":["generateMd5","input","crypto","createHash","update","digest","transformCssModule","visitor","Program","_path","state","ImportDeclaration","path","importSource","node","source","value","endsWith","defaultSpecifier","specifiers","find","specifier","t","isImportDefaultSpecifier","local","name","Error","CallExpression","callee","isIdentifier","args","arguments","length","isStringLiteral","cssString","reusedVariable","scope","traverse","VariableDeclarator","variablePath","id","init","stop","binding","getBinding","isVariableDeclarator","hash","hashArg","stringLiteral","push"],"mappings":"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"}
@@ -1,87 +0,0 @@
1
- import * as t from '@babel/types';
2
- import crypto from 'node:crypto';
3
- "use strict";
4
- function generateMd5(input) {
5
- return crypto.createHash("md5").update(input).digest("hex");
6
- }
7
- const transformCssModule = () => {
8
- return {
9
- visitor: {
10
- // Step 0: Setup state
11
- Program(_path, state) {
12
- state["defaultImportName"] = null;
13
- },
14
- // Step 1: Find the default import from "style-inject.es.js"
15
- ImportDeclaration(path, state) {
16
- if (state["defaultImportName"]) {
17
- return;
18
- }
19
- const importSource = path.node.source.value;
20
- if (!importSource.endsWith("style-inject.es.js")) {
21
- return;
22
- }
23
- const defaultSpecifier = path.node.specifiers.find(specifier => t.isImportDefaultSpecifier(specifier));
24
- if (defaultSpecifier) {
25
- state["defaultImportName"] = defaultSpecifier.local.name;
26
- } else {
27
- throw new Error("Import for `style-inject.es.js` file not found in file");
28
- }
29
- },
30
- // Step 2: Find all calls to the imported identifier
31
- CallExpression(path, state) {
32
- if (!state["defaultImportName"]) {
33
- return;
34
- }
35
- const callee = path.node.callee;
36
- if (t.isIdentifier(callee) && callee.name === state["defaultImportName"]) {
37
- const args = path.node.arguments;
38
- if (!(args.length >= 1 && args.length <= 2)) {
39
- throw new Error("Unexpected number of arguments");
40
- }
41
- if (!((t.isStringLiteral(args[0]) || t.isIdentifier(args[0])) && (!args[1] || t.isStringLiteral(args[1])))) {
42
- throw new Error("Unexpected argument types");
43
- }
44
- let cssString = "";
45
- if (t.isStringLiteral(args[0])) {
46
- cssString = args[0].value;
47
- let reusedVariable = null;
48
- path.scope.path.traverse({
49
- VariableDeclarator(variablePath) {
50
- const {
51
- id,
52
- init
53
- } = variablePath.node;
54
- if (t.isStringLiteral(init, {
55
- value: cssString
56
- })) {
57
- reusedVariable = id;
58
- variablePath.stop();
59
- }
60
- }
61
- });
62
- if (reusedVariable) {
63
- path.node.arguments[0] = reusedVariable;
64
- }
65
- } else if (t.isIdentifier(args[0])) {
66
- const binding = path.scope.getBinding(args[0].name);
67
- if (binding && t.isVariableDeclarator(binding.path.node) && t.isStringLiteral(binding.path.node.init)) {
68
- cssString = binding.path.node.init.value;
69
- }
70
- }
71
- if (!cssString) {
72
- throw new Error("Invalid first argument value");
73
- }
74
- const hash = generateMd5(cssString);
75
- const hashArg = t.stringLiteral(hash);
76
- if (args.length > 1) {
77
- args[1] = hashArg;
78
- } else {
79
- args.push(hashArg);
80
- }
81
- }
82
- }
83
- }
84
- };
85
- };
86
- export { transformCssModule };
87
- //# sourceMappingURL=transform-css-module.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transform-css-module.mjs","sources":["../../../../src/utils/nextjs/ssr/transform-css-module.ts"],"sourcesContent":["import type { PluginObj } from \"@babel/core\";\nimport * as t from \"@babel/types\";\nimport crypto from \"node:crypto\";\n\nfunction generateMd5(input: string): string {\n return crypto.createHash(\"md5\").update(input).digest(\"hex\");\n}\n\ntype Plugin = PluginObj<{\n // Store the name of the default import identifier for \"style-inject.es.js\"\n defaultImportName: null | string;\n}>;\n\n/**\n * FIXME: Currently this plugin won't:\n * - Handle existing source maps correctly and would strip from the output: \"//#\n * sourceMappingURL=BubbleContainer.module.css.js.map\"\n */\nexport const transformCssModule = (): Plugin => {\n return {\n visitor: {\n // Step 0: Setup state\n Program(_path, state) {\n state[\"defaultImportName\"] = null;\n },\n // Step 1: Find the default import from \"style-inject.es.js\"\n ImportDeclaration(path, state) {\n // Skip, if the default import name is already found (assuming there is only one per-file)\n if (state[\"defaultImportName\"]) {\n return;\n }\n\n // Look for imports for \"style-inject.es.js\" file\n const importSource = path.node.source.value;\n if (!importSource.endsWith(\"style-inject.es.js\")) {\n return;\n }\n\n // Check for default import specifier\n const defaultSpecifier = path.node.specifiers.find((specifier) =>\n t.isImportDefaultSpecifier(specifier),\n ) as t.ImportDefaultSpecifier | undefined;\n\n // Store the default import name\n if (defaultSpecifier) {\n // Fail if two instances of file is found\n state[\"defaultImportName\"] = defaultSpecifier.local.name;\n } else {\n throw new Error(\n \"Import for `style-inject.es.js` file not found in file\",\n );\n }\n },\n\n // Step 2: Find all calls to the imported identifier\n CallExpression(path, state) {\n // Ignore if the default import name is not found\n if (!state[\"defaultImportName\"]) {\n return;\n }\n\n // Check if the callee is the default import identifier\n const callee = path.node.callee;\n if (\n t.isIdentifier(callee) &&\n callee.name === state[\"defaultImportName\"]\n ) {\n const args = path.node.arguments;\n\n // If arguments are not between 1 and 2, fail\n if (!(args.length >= 1 && args.length <= 2)) {\n throw new Error(\"Unexpected number of arguments\");\n }\n\n /**\n * Validates that the function arguments are:\n * 1. needs to be a string literal or variable holding string\n * 2. (optional) string literal\n */\n if (\n !(\n (t.isStringLiteral(args[0]) || t.isIdentifier(args[0])) &&\n (!args[1] || t.isStringLiteral(args[1]))\n )\n ) {\n throw new Error(\"Unexpected argument types\");\n }\n\n // CSS string\n let cssString: string = \"\";\n\n // Try to remove duplicate string literal as first argument and instead re-use the a already generated variable\n if (t.isStringLiteral(args[0])) {\n cssString = args[0].value;\n\n let reusedVariable = null;\n path.scope.path.traverse({\n VariableDeclarator(variablePath) {\n const { id, init } = variablePath.node;\n\n // Match variables initialized with the same string value.\n if (t.isStringLiteral(init, { value: cssString })) {\n reusedVariable = id;\n variablePath.stop(); // Stop traversing once a match is found.\n }\n },\n });\n\n // Replace the string literal with the existing variable reference.\n if (reusedVariable) {\n path.node.arguments[0] = reusedVariable;\n }\n } else if (t.isIdentifier(args[0])) {\n // Extract value from variable\n const binding = path.scope.getBinding(args[0].name);\n if (\n binding &&\n t.isVariableDeclarator(binding.path.node) &&\n t.isStringLiteral(binding.path.node.init)\n ) {\n cssString = binding.path.node.init.value;\n }\n }\n\n if (!cssString) {\n throw new Error(\"Invalid first argument value\");\n }\n\n // Generate MD5 hash of the first argument's value\n // TODO: Looked into that styled-components use murmurhash. Also it's possible to use sha1 for longer key\n // (less % of collision)\n const hash = generateMd5(cssString);\n\n // Add the hash as the second argument\n const hashArg = t.stringLiteral(hash);\n if (args.length > 1) {\n // If a second argument exists, replace it\n args[1] = hashArg;\n } else {\n // Otherwise, add it as a new second argument\n args.push(hashArg);\n }\n }\n },\n },\n } satisfies Plugin;\n};\n"],"names":["generateMd5","input","crypto","createHash","update","digest","transformCssModule","visitor","Program","_path","state","ImportDeclaration","path","importSource","node","source","value","endsWith","defaultSpecifier","specifiers","find","specifier","t","isImportDefaultSpecifier","local","name","Error","CallExpression","callee","isIdentifier","args","arguments","length","isStringLiteral","cssString","reusedVariable","scope","traverse","VariableDeclarator","variablePath","id","init","stop","binding","getBinding","isVariableDeclarator","hash","hashArg","stringLiteral","push"],"mappings":"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"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- export type InjectedModule = {
2
- /**
3
- * The ID of the style tag (typically some stable unique hash derived CSS content)
4
- */
5
- id: string;
6
- /**
7
- * The CSS string to inject
8
- */
9
- css: string;
10
- };
@@ -1,41 +0,0 @@
1
- import type { Nullish, StorefrontProduct, StoreId, UnionToAllPossibleTuples } from "../types";
2
- import { DisplayProductStatus } from "../types";
3
- /**
4
- * Narrow MinimalProProductFragment type even more to the union of fields that are needed to sort product
5
- */
6
- type ProductMinFieldsForSorting = Pick<StorefrontProduct, "status" | "tags" | "minDisplayPrice"> & {
7
- variants: {
8
- availableInOtherStores: Array<{
9
- __typename: string;
10
- }>;
11
- }[];
12
- linkedProducts?: {
13
- status: StorefrontProduct["status"];
14
- }[];
15
- };
16
- export declare enum Sort {
17
- HighestPrice = "highest-price",
18
- LowestPrice = "lowest-price",
19
- Availability = "availability"
20
- }
21
- export declare enum SortOrder {
22
- Asc = "Asc",
23
- Desc = "Desc"
24
- }
25
- /**
26
- * Variants statuses sorted in ascending order from least preferable to most, so if some new status comes in, then the
27
- * lookup for `.indexOf()` would return `-1`, thus being "worse" then DisplayProductStatus.SoldOut and moved to the very
28
- * back of list
29
- */
30
- export declare const sortedStatusesByPriorityAsc: UnionToAllPossibleTuples<DisplayProductStatus>;
31
- export declare const sortByAvailabilityDesc: (current: ProductMinFieldsForSorting, next: ProductMinFieldsForSorting) => number;
32
- export declare const sortByPrice: (order: SortOrder) => (current: ProductMinFieldsForSorting, next: ProductMinFieldsForSorting) => number;
33
- /**
34
- * Sorts products based on the given sort type.
35
- * @param currentSort - sort type
36
- * @param sortByWeightTag - if false, then sort by weight tag is
37
- * ignored (e.g. for `Related Add-ons` where
38
- * we don't want to sort by weight tag)
39
- */
40
- export declare const sortProducts: (currentSort: Nullish<string | Sort>, storeId?: StoreId, sortByWeightTag?: boolean) => (current: ProductMinFieldsForSorting, next: ProductMinFieldsForSorting) => number;
41
- export {};
@@ -1,67 +0,0 @@
1
- 'use strict';
2
-
3
- require('../types/index.js');
4
- var array = require('./array.js');
5
- var product$1 = require('./product.js');
6
- var product = require('../types/product.js');
7
- "use strict";
8
- var Sort = /* @__PURE__ */(Sort2 => {
9
- Sort2["HighestPrice"] = "highest-price";
10
- Sort2["LowestPrice"] = "lowest-price";
11
- Sort2["Availability"] = "availability";
12
- return Sort2;
13
- })(Sort || {});
14
- var SortOrder = /* @__PURE__ */(SortOrder2 => {
15
- SortOrder2["Asc"] = "Asc";
16
- SortOrder2["Desc"] = "Desc";
17
- return SortOrder2;
18
- })(SortOrder || {});
19
- const sortedStatusesByPriorityAsc = [product.DisplayProductStatus.Unavailable, product.DisplayProductStatus.ComingSoon, product.DisplayProductStatus.SoldOut, product.DisplayProductStatus.RegionNotAvailable, product.DisplayProductStatus.Backorder, product.DisplayProductStatus.Available];
20
- const getProductStatusPriority = product$1 => {
21
- let sortStatus = product$1.status;
22
- if (product$1.variants.some(variant => variant.availableInOtherStores.length) || product$1.linkedProducts && product$1.linkedProducts.some(linkedProduct => linkedProduct.status === product.DisplayProductStatus.Available)) {
23
- sortStatus = product.DisplayProductStatus.Available;
24
- }
25
- return sortedStatusesByPriorityAsc.indexOf(sortStatus);
26
- };
27
- const sortByAvailabilityDesc = (current, next) => {
28
- return array.normalizeSortResult(getProductStatusPriority(next) - getProductStatusPriority(current));
29
- };
30
- const sortByPrice = order => (current, next) => {
31
- const currentProductPrice = current.minDisplayPrice.amount;
32
- const nextProductPrice = next.minDisplayPrice.amount;
33
- if (order === "Desc" /* Desc */) {
34
- return nextProductPrice - currentProductPrice;
35
- } else {
36
- return currentProductPrice - nextProductPrice;
37
- }
38
- };
39
- const sortProducts = (currentSort, storeId, sortByWeightTag = true) => (current, next) => {
40
- switch (currentSort) {
41
- // Sort by price
42
- case "highest-price" /* HighestPrice */:
43
- case "lowest-price" /* LowestPrice */:
44
- {
45
- return sortByPrice(currentSort === "highest-price" /* HighestPrice */ ? "Desc" /* Desc */ : "Asc" /* Asc */)(current, next);
46
- }
47
- case "availability" /* Availability */:
48
- {
49
- return sortByAvailabilityDesc(current, next);
50
- }
51
- default:
52
- {
53
- const sorts = [sortByAvailabilityDesc];
54
- if (sortByWeightTag) {
55
- sorts.push(product$1.sortByTagWeight(product$1.SortSiteId.Store, storeId));
56
- }
57
- return array.combineSorts(sorts)(current, next);
58
- }
59
- }
60
- };
61
- exports.Sort = Sort;
62
- exports.SortOrder = SortOrder;
63
- exports.sortByAvailabilityDesc = sortByAvailabilityDesc;
64
- exports.sortByPrice = sortByPrice;
65
- exports.sortProducts = sortProducts;
66
- exports.sortedStatusesByPriorityAsc = sortedStatusesByPriorityAsc;
67
- //# sourceMappingURL=productSort.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"productSort.js","sources":["../../src/utils/productSort.ts"],"sourcesContent":["import type {\n Nullish,\n StorefrontProduct,\n StoreId,\n UnionToAllPossibleTuples,\n} from \"../types\";\nimport { DisplayProductStatus } from \"../types\";\nimport { combineSorts, normalizeSortResult } from \"./array\";\nimport { sortByTagWeight, SortSiteId } from \"./product\";\n\n/**\n * Narrow MinimalProProductFragment type even more to the union of fields that are needed to sort product\n */\ntype ProductMinFieldsForSorting = Pick<\n StorefrontProduct,\n \"status\" | \"tags\" | \"minDisplayPrice\"\n> & {\n variants: {\n // We only need bare minimum from array to compare array length\n // FIXME: move it to backend as a boolean field so we don't need to fetch entire array to reduce it to a boolean ourselves\n availableInOtherStores: Array<{ __typename: string }>;\n }[];\n linkedProducts?: {\n status: StorefrontProduct[\"status\"];\n }[];\n};\n\nexport enum Sort {\n HighestPrice = \"highest-price\",\n LowestPrice = \"lowest-price\",\n Availability = \"availability\",\n}\n\nexport enum SortOrder {\n Asc = \"Asc\",\n Desc = \"Desc\",\n}\n\n/**\n * Variants statuses sorted in ascending order from least preferable to most, so if some new status comes in, then the\n * lookup for `.indexOf()` would return `-1`, thus being \"worse\" then DisplayProductStatus.SoldOut and moved to the very\n * back of list\n */\nexport const sortedStatusesByPriorityAsc: UnionToAllPossibleTuples<DisplayProductStatus> =\n [\n DisplayProductStatus.Unavailable,\n DisplayProductStatus.ComingSoon,\n DisplayProductStatus.SoldOut,\n DisplayProductStatus.RegionNotAvailable,\n DisplayProductStatus.Backorder,\n DisplayProductStatus.Available,\n ];\n/**\n * Due to currently variant status being nullable for historical reasons we need to have a fallback state\n * TODO: remove once display status is StorefrontProductVariant.status is non-nullable\n */\nconst getProductStatusPriority = (\n product: ProductMinFieldsForSorting,\n): number => {\n let sortStatus = product.status;\n\n // Virtually set sort status as available if it has alternative stores\n if (\n product.variants.some((variant) => variant.availableInOtherStores.length) ||\n (product.linkedProducts &&\n product.linkedProducts.some(\n (linkedProduct) =>\n linkedProduct.status === DisplayProductStatus.Available,\n ))\n ) {\n sortStatus = DisplayProductStatus.Available;\n }\n\n return sortedStatusesByPriorityAsc.indexOf(sortStatus);\n};\n\nexport const sortByAvailabilityDesc = (\n current: ProductMinFieldsForSorting,\n next: ProductMinFieldsForSorting,\n): number => {\n return normalizeSortResult(\n getProductStatusPriority(next) - getProductStatusPriority(current),\n );\n};\n\nexport const sortByPrice =\n (order: SortOrder) =>\n (\n current: ProductMinFieldsForSorting,\n next: ProductMinFieldsForSorting,\n ): number => {\n const currentProductPrice = current.minDisplayPrice.amount;\n\n const nextProductPrice = next.minDisplayPrice.amount;\n\n if (order === SortOrder.Desc) {\n return nextProductPrice - currentProductPrice;\n } else {\n return currentProductPrice - nextProductPrice;\n }\n };\n\n/**\n * Sorts products based on the given sort type.\n * @param currentSort - sort type\n * @param sortByWeightTag - if false, then sort by weight tag is\n * ignored (e.g. for `Related Add-ons` where\n * we don't want to sort by weight tag)\n */\nexport const sortProducts =\n (\n currentSort: Nullish<string | Sort>,\n storeId?: StoreId,\n sortByWeightTag = true,\n ) =>\n (current: ProductMinFieldsForSorting, next: ProductMinFieldsForSorting) => {\n switch (currentSort) {\n // Sort by price\n case Sort.HighestPrice:\n case Sort.LowestPrice: {\n return sortByPrice(\n currentSort === Sort.HighestPrice ? SortOrder.Desc : SortOrder.Asc,\n )(current, next);\n }\n\n case Sort.Availability: {\n return sortByAvailabilityDesc(current, next);\n }\n\n default: {\n const sorts = [sortByAvailabilityDesc];\n\n // Add sorting by tag weight\n if (sortByWeightTag) {\n sorts.push(sortByTagWeight(SortSiteId.Store, storeId));\n }\n\n // Do additional sorting by tag weight only after initial sorting resulting in \"same group\"\n return combineSorts(sorts)(current, next);\n }\n }\n };\n"],"names":["Sort","SortOrder","sortedStatusesByPriorityAsc","DisplayProductStatus","Unavailable","ComingSoon","SoldOut","RegionNotAvailable","Backorder","Available","getProductStatusPriority","product","sortStatus","status","variants","some","variant","availableInOtherStores","length","linkedProducts","linkedProduct","indexOf","sortByAvailabilityDesc","current","next","normalizeSortResult","sortByPrice","order","currentProductPrice","minDisplayPrice","amount","nextProductPrice","sortProducts","currentSort","storeId","sortByWeightTag","sorts","push","sortByTagWeight","SortSiteId","Store","combineSorts"],"mappings":"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"}
@@ -1,60 +0,0 @@
1
- import '../types/index.mjs';
2
- import { normalizeSortResult, combineSorts } from './array.mjs';
3
- import { sortByTagWeight, SortSiteId } from './product.mjs';
4
- import { DisplayProductStatus } from '../types/product.mjs';
5
- "use strict";
6
- var Sort = /* @__PURE__ */(Sort2 => {
7
- Sort2["HighestPrice"] = "highest-price";
8
- Sort2["LowestPrice"] = "lowest-price";
9
- Sort2["Availability"] = "availability";
10
- return Sort2;
11
- })(Sort || {});
12
- var SortOrder = /* @__PURE__ */(SortOrder2 => {
13
- SortOrder2["Asc"] = "Asc";
14
- SortOrder2["Desc"] = "Desc";
15
- return SortOrder2;
16
- })(SortOrder || {});
17
- const sortedStatusesByPriorityAsc = [DisplayProductStatus.Unavailable, DisplayProductStatus.ComingSoon, DisplayProductStatus.SoldOut, DisplayProductStatus.RegionNotAvailable, DisplayProductStatus.Backorder, DisplayProductStatus.Available];
18
- const getProductStatusPriority = product => {
19
- let sortStatus = product.status;
20
- if (product.variants.some(variant => variant.availableInOtherStores.length) || product.linkedProducts && product.linkedProducts.some(linkedProduct => linkedProduct.status === DisplayProductStatus.Available)) {
21
- sortStatus = DisplayProductStatus.Available;
22
- }
23
- return sortedStatusesByPriorityAsc.indexOf(sortStatus);
24
- };
25
- const sortByAvailabilityDesc = (current, next) => {
26
- return normalizeSortResult(getProductStatusPriority(next) - getProductStatusPriority(current));
27
- };
28
- const sortByPrice = order => (current, next) => {
29
- const currentProductPrice = current.minDisplayPrice.amount;
30
- const nextProductPrice = next.minDisplayPrice.amount;
31
- if (order === "Desc" /* Desc */) {
32
- return nextProductPrice - currentProductPrice;
33
- } else {
34
- return currentProductPrice - nextProductPrice;
35
- }
36
- };
37
- const sortProducts = (currentSort, storeId, sortByWeightTag = true) => (current, next) => {
38
- switch (currentSort) {
39
- // Sort by price
40
- case "highest-price" /* HighestPrice */:
41
- case "lowest-price" /* LowestPrice */:
42
- {
43
- return sortByPrice(currentSort === "highest-price" /* HighestPrice */ ? "Desc" /* Desc */ : "Asc" /* Asc */)(current, next);
44
- }
45
- case "availability" /* Availability */:
46
- {
47
- return sortByAvailabilityDesc(current, next);
48
- }
49
- default:
50
- {
51
- const sorts = [sortByAvailabilityDesc];
52
- if (sortByWeightTag) {
53
- sorts.push(sortByTagWeight(SortSiteId.Store, storeId));
54
- }
55
- return combineSorts(sorts)(current, next);
56
- }
57
- }
58
- };
59
- export { Sort, SortOrder, sortByAvailabilityDesc, sortByPrice, sortProducts, sortedStatusesByPriorityAsc };
60
- //# sourceMappingURL=productSort.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"productSort.mjs","sources":["../../src/utils/productSort.ts"],"sourcesContent":["import type {\n Nullish,\n StorefrontProduct,\n StoreId,\n UnionToAllPossibleTuples,\n} from \"../types\";\nimport { DisplayProductStatus } from \"../types\";\nimport { combineSorts, normalizeSortResult } from \"./array\";\nimport { sortByTagWeight, SortSiteId } from \"./product\";\n\n/**\n * Narrow MinimalProProductFragment type even more to the union of fields that are needed to sort product\n */\ntype ProductMinFieldsForSorting = Pick<\n StorefrontProduct,\n \"status\" | \"tags\" | \"minDisplayPrice\"\n> & {\n variants: {\n // We only need bare minimum from array to compare array length\n // FIXME: move it to backend as a boolean field so we don't need to fetch entire array to reduce it to a boolean ourselves\n availableInOtherStores: Array<{ __typename: string }>;\n }[];\n linkedProducts?: {\n status: StorefrontProduct[\"status\"];\n }[];\n};\n\nexport enum Sort {\n HighestPrice = \"highest-price\",\n LowestPrice = \"lowest-price\",\n Availability = \"availability\",\n}\n\nexport enum SortOrder {\n Asc = \"Asc\",\n Desc = \"Desc\",\n}\n\n/**\n * Variants statuses sorted in ascending order from least preferable to most, so if some new status comes in, then the\n * lookup for `.indexOf()` would return `-1`, thus being \"worse\" then DisplayProductStatus.SoldOut and moved to the very\n * back of list\n */\nexport const sortedStatusesByPriorityAsc: UnionToAllPossibleTuples<DisplayProductStatus> =\n [\n DisplayProductStatus.Unavailable,\n DisplayProductStatus.ComingSoon,\n DisplayProductStatus.SoldOut,\n DisplayProductStatus.RegionNotAvailable,\n DisplayProductStatus.Backorder,\n DisplayProductStatus.Available,\n ];\n/**\n * Due to currently variant status being nullable for historical reasons we need to have a fallback state\n * TODO: remove once display status is StorefrontProductVariant.status is non-nullable\n */\nconst getProductStatusPriority = (\n product: ProductMinFieldsForSorting,\n): number => {\n let sortStatus = product.status;\n\n // Virtually set sort status as available if it has alternative stores\n if (\n product.variants.some((variant) => variant.availableInOtherStores.length) ||\n (product.linkedProducts &&\n product.linkedProducts.some(\n (linkedProduct) =>\n linkedProduct.status === DisplayProductStatus.Available,\n ))\n ) {\n sortStatus = DisplayProductStatus.Available;\n }\n\n return sortedStatusesByPriorityAsc.indexOf(sortStatus);\n};\n\nexport const sortByAvailabilityDesc = (\n current: ProductMinFieldsForSorting,\n next: ProductMinFieldsForSorting,\n): number => {\n return normalizeSortResult(\n getProductStatusPriority(next) - getProductStatusPriority(current),\n );\n};\n\nexport const sortByPrice =\n (order: SortOrder) =>\n (\n current: ProductMinFieldsForSorting,\n next: ProductMinFieldsForSorting,\n ): number => {\n const currentProductPrice = current.minDisplayPrice.amount;\n\n const nextProductPrice = next.minDisplayPrice.amount;\n\n if (order === SortOrder.Desc) {\n return nextProductPrice - currentProductPrice;\n } else {\n return currentProductPrice - nextProductPrice;\n }\n };\n\n/**\n * Sorts products based on the given sort type.\n * @param currentSort - sort type\n * @param sortByWeightTag - if false, then sort by weight tag is\n * ignored (e.g. for `Related Add-ons` where\n * we don't want to sort by weight tag)\n */\nexport const sortProducts =\n (\n currentSort: Nullish<string | Sort>,\n storeId?: StoreId,\n sortByWeightTag = true,\n ) =>\n (current: ProductMinFieldsForSorting, next: ProductMinFieldsForSorting) => {\n switch (currentSort) {\n // Sort by price\n case Sort.HighestPrice:\n case Sort.LowestPrice: {\n return sortByPrice(\n currentSort === Sort.HighestPrice ? SortOrder.Desc : SortOrder.Asc,\n )(current, next);\n }\n\n case Sort.Availability: {\n return sortByAvailabilityDesc(current, next);\n }\n\n default: {\n const sorts = [sortByAvailabilityDesc];\n\n // Add sorting by tag weight\n if (sortByWeightTag) {\n sorts.push(sortByTagWeight(SortSiteId.Store, storeId));\n }\n\n // Do additional sorting by tag weight only after initial sorting resulting in \"same group\"\n return combineSorts(sorts)(current, next);\n }\n }\n };\n"],"names":["Sort","SortOrder","sortedStatusesByPriorityAsc","DisplayProductStatus","Unavailable","ComingSoon","SoldOut","RegionNotAvailable","Backorder","Available","getProductStatusPriority","product","sortStatus","status","variants","some","variant","availableInOtherStores","length","linkedProducts","linkedProduct","indexOf","sortByAvailabilityDesc","current","next","normalizeSortResult","sortByPrice","order","currentProductPrice","minDisplayPrice","amount","nextProductPrice","sortProducts","currentSort","storeId","sortByWeightTag","sorts","push","sortByTagWeight","SortSiteId","Store","combineSorts"],"mappings":";;;;;AA2BY,IAAAA,IAAA,GAAA,gBAAAA,KAAL,IAAA;EACLA,MAAA,cAAe,CAAA,GAAA,eAAA;EACfA,MAAA,aAAc,CAAA,GAAA,cAAA;EACdA,MAAA,cAAe,CAAA,GAAA,cAAA;EAHLA,OAAAA,KAAAA;AAAA,CAAA,EAAAA,IAAA,IAAA,CAAA,CAAA,CAAA;AAMA,IAAAC,SAAA,GAAA,gBAAAA,UAAL,IAAA;EACLA,WAAA,KAAM,CAAA,GAAA,KAAA;EACNA,WAAA,MAAO,CAAA,GAAA,MAAA;EAFGA,OAAAA,UAAAA;AAAA,CAAA,EAAAA,SAAA,IAAA,CAAA,CAAA,CAAA;AAUL,MAAMC,2BACX,GAAA,CACEC,oBAAqB,CAAAC,WAAA,EACrBD,oBAAqB,CAAAE,UAAA,EACrBF,oBAAqB,CAAAG,OAAA,EACrBH,oBAAqB,CAAAI,kBAAA,EACrBJ,oBAAqB,CAAAK,SAAA,EACrBL,oBAAqB,CAAAM,SAAA,CACvB;AAKF,MAAMC,wBAAA,GACJC,OACW,IAAA;EACX,IAAIC,aAAaD,OAAQ,CAAAE,MAAA;EAGzB,IACEF,OAAQ,CAAAG,QAAA,CAASC,IAAK,CAACC,OAAY,IAAAA,OAAA,CAAQC,sBAAuB,CAAAC,MAAM,CACvE,IAAAP,OAAA,CAAQQ,cACP,IAAAR,OAAA,CAAQQ,cAAe,CAAAJ,IAAA,CACpBK,aAAA,IACCA,aAAc,CAAAP,MAAA,KAAWV,oBAAqB,CAAAM,SAAA,CAEpD,EAAA;IACAG,UAAA,GAAaT,oBAAqB,CAAAM,SAAA;EACpC;EAEO,OAAAP,2BAAA,CAA4BmB,QAAQT,UAAU,CAAA;AACvD,CAAA;AAEa,MAAAU,sBAAA,GAAyBA,CACpCC,OAAA,EACAC,IACW,KAAA;EACJ,OAAAC,mBAAA,CACLf,wBAAyB,CAAAc,IAAI,CAAI,GAAAd,wBAAA,CAAyBa,OAAO,CAAA,CACnE;AACF,CAAA;AAEO,MAAMG,WACX,GAACC,KACD,IAAA,CACEJ,SACAC,IACW,KAAA;EACL,MAAAI,mBAAA,GAAsBL,QAAQM,eAAgB,CAAAC,MAAA;EAE9C,MAAAC,gBAAA,GAAmBP,KAAKK,eAAgB,CAAAC,MAAA;EAE9C,IAAIH,UAAU,MAAgB,CAAA,YAAA;IAC5B,OAAOI,gBAAmB,GAAAH,mBAAA;EAAA,CACrB,MAAA;IACL,OAAOA,mBAAsB,GAAAG,gBAAA;EAC/B;AACF,CAAA;AASW,MAAAC,YAAA,GACXA,CACEC,WACA,EAAAC,OAAA,EACAC,kBAAkB,IAEpB,KAAA,CAACZ,SAAqCC,IAAqC,KAAA;EACzE,QAAQS,WAAa;IAAA;IAEnB,KAAK,eAAA,CAAA;IACL,KAAK,cAAkB,CAAA;MAAA;QACd,OAAAP,WAAA,CACLO,WAAA,KAAgB,gBAAoB,qBAAA,MAAiB,cAAA,KAAA,CAAA,SAAA,CACvD,CAAEV,SAASC,IAAI,CAAA;MACjB;IAEA,KAAK,cAAmB,CAAA;MAAA;QACf,OAAAF,sBAAA,CAAuBC,SAASC,IAAI,CAAA;MAC7C;IAEA;MAAS;QACD,MAAAY,KAAA,GAAQ,CAACd,sBAAsB,CAAA;QAGrC,IAAIa,eAAiB,EAAA;UACnBC,KAAA,CAAMC,IAAK,CAAAC,eAAA,CAAgBC,UAAW,CAAAC,KAAA,EAAON,OAAO,CAAC,CAAA;QACvD;QAGA,OAAOO,YAAa,CAAAL,KAAK,CAAE,CAAAb,OAAA,EAASC,IAAI,CAAA;MAC1C;EACF;AACF,CAAA;"}
@@ -1,11 +0,0 @@
1
- import { type SuperRefinement } from "zod";
2
- /**
3
- * Actually it is 35, but because we need to add extra space between
4
- * first_name and last_name, reduce by 1 character
5
- */
6
- export declare const UPS_SHIPPING_LABEL_MAX_FULL_NAME = 34;
7
- export declare const FIRST_NAME_MAX_LENGTH = 17;
8
- export declare const createLastNameSuperRefinement: SuperRefinement<{
9
- firstName: string;
10
- lastName: string;
11
- }>;
@@ -1,25 +0,0 @@
1
- 'use strict';
2
-
3
- var zod = require('zod');
4
- "use strict";
5
- const UPS_SHIPPING_LABEL_MAX_FULL_NAME = 34;
6
- const FIRST_NAME_MAX_LENGTH = 17;
7
- const createLastNameSuperRefinement = ({
8
- firstName,
9
- lastName
10
- }, ctx) => {
11
- const returnMaxLastNameLength = Math.max(Math.max(UPS_SHIPPING_LABEL_MAX_FULL_NAME - firstName.length, 0), FIRST_NAME_MAX_LENGTH);
12
- if (lastName.length > returnMaxLastNameLength) {
13
- return ctx.addIssue({
14
- path: ["lastName"],
15
- code: zod.ZodIssueCode.too_big,
16
- type: "string",
17
- maximum: returnMaxLastNameLength,
18
- inclusive: true
19
- });
20
- }
21
- };
22
- exports.FIRST_NAME_MAX_LENGTH = FIRST_NAME_MAX_LENGTH;
23
- exports.UPS_SHIPPING_LABEL_MAX_FULL_NAME = UPS_SHIPPING_LABEL_MAX_FULL_NAME;
24
- exports.createLastNameSuperRefinement = createLastNameSuperRefinement;
25
- //# sourceMappingURL=lastNameSuperRefinement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lastNameSuperRefinement.js","sources":["../../../src/utils/validations/lastNameSuperRefinement.ts"],"sourcesContent":["import { type SuperRefinement, ZodIssueCode } from \"zod\";\n\n/**\n * Actually it is 35, but because we need to add extra space between\n * first_name and last_name, reduce by 1 character\n */\nexport const UPS_SHIPPING_LABEL_MAX_FULL_NAME = 34;\nexport const FIRST_NAME_MAX_LENGTH = 17;\n\nexport const createLastNameSuperRefinement: SuperRefinement<{\n firstName: string;\n lastName: string;\n}> = ({ firstName, lastName }, ctx) => {\n const returnMaxLastNameLength = Math.max(\n Math.max(UPS_SHIPPING_LABEL_MAX_FULL_NAME - firstName.length, 0),\n FIRST_NAME_MAX_LENGTH,\n );\n\n if (lastName.length > returnMaxLastNameLength) {\n return ctx.addIssue({\n path: [\"lastName\"],\n code: ZodIssueCode.too_big,\n type: \"string\",\n maximum: returnMaxLastNameLength,\n inclusive: true,\n });\n }\n};\n"],"names":["UPS_SHIPPING_LABEL_MAX_FULL_NAME","FIRST_NAME_MAX_LENGTH","createLastNameSuperRefinement","firstName","lastName","ctx","returnMaxLastNameLength","Math","max","length","addIssue","path","code","ZodIssueCode","too_big","type","maximum","inclusive"],"mappings":";;;;AAMO,MAAMA,gCAAmC,GAAA,EAAA;AACzC,MAAMC,qBAAwB,GAAA,EAAA;AAE9B,MAAMC,gCAGRA,CAAC;EAAEC,SAAW;EAAAC;AAAA,GAAYC,GAAQ,KAAA;EACrC,MAAMC,0BAA0BC,IAAK,CAAAC,GAAA,CACnCD,IAAK,CAAAC,GAAA,CAAIR,gCAAmC,GAAAG,SAAA,CAAUM,QAAQ,CAAC,CAAA,EAC/DR,qBAAA,CACF;EAEI,IAAAG,QAAA,CAASK,SAASH,uBAAyB,EAAA;IAC7C,OAAOD,IAAIK,QAAS,CAAA;MAClBC,IAAA,EAAM,CAAC,UAAU,CAAA;MACjBC,MAAMC,GAAa,CAAAA,YAAA,CAAAC,OAAA;MACnBC,IAAM,EAAA,QAAA;MACNC,OAAS,EAAAV,uBAAA;MACTW,SAAW,EAAA;IAAA,CACZ,CAAA;EACH;AACF,CAAA;;;"}
@@ -1,21 +0,0 @@
1
- import { ZodIssueCode } from 'zod';
2
- "use strict";
3
- const UPS_SHIPPING_LABEL_MAX_FULL_NAME = 34;
4
- const FIRST_NAME_MAX_LENGTH = 17;
5
- const createLastNameSuperRefinement = ({
6
- firstName,
7
- lastName
8
- }, ctx) => {
9
- const returnMaxLastNameLength = Math.max(Math.max(UPS_SHIPPING_LABEL_MAX_FULL_NAME - firstName.length, 0), FIRST_NAME_MAX_LENGTH);
10
- if (lastName.length > returnMaxLastNameLength) {
11
- return ctx.addIssue({
12
- path: ["lastName"],
13
- code: ZodIssueCode.too_big,
14
- type: "string",
15
- maximum: returnMaxLastNameLength,
16
- inclusive: true
17
- });
18
- }
19
- };
20
- export { FIRST_NAME_MAX_LENGTH, UPS_SHIPPING_LABEL_MAX_FULL_NAME, createLastNameSuperRefinement };
21
- //# sourceMappingURL=lastNameSuperRefinement.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lastNameSuperRefinement.mjs","sources":["../../../src/utils/validations/lastNameSuperRefinement.ts"],"sourcesContent":["import { type SuperRefinement, ZodIssueCode } from \"zod\";\n\n/**\n * Actually it is 35, but because we need to add extra space between\n * first_name and last_name, reduce by 1 character\n */\nexport const UPS_SHIPPING_LABEL_MAX_FULL_NAME = 34;\nexport const FIRST_NAME_MAX_LENGTH = 17;\n\nexport const createLastNameSuperRefinement: SuperRefinement<{\n firstName: string;\n lastName: string;\n}> = ({ firstName, lastName }, ctx) => {\n const returnMaxLastNameLength = Math.max(\n Math.max(UPS_SHIPPING_LABEL_MAX_FULL_NAME - firstName.length, 0),\n FIRST_NAME_MAX_LENGTH,\n );\n\n if (lastName.length > returnMaxLastNameLength) {\n return ctx.addIssue({\n path: [\"lastName\"],\n code: ZodIssueCode.too_big,\n type: \"string\",\n maximum: returnMaxLastNameLength,\n inclusive: true,\n });\n }\n};\n"],"names":["UPS_SHIPPING_LABEL_MAX_FULL_NAME","FIRST_NAME_MAX_LENGTH","createLastNameSuperRefinement","firstName","lastName","ctx","returnMaxLastNameLength","Math","max","length","addIssue","path","code","ZodIssueCode","too_big","type","maximum","inclusive"],"mappings":";;AAMO,MAAMA,gCAAmC,GAAA,EAAA;AACzC,MAAMC,qBAAwB,GAAA,EAAA;AAE9B,MAAMC,gCAGRA,CAAC;EAAEC,SAAW;EAAAC;AAAA,GAAYC,GAAQ,KAAA;EACrC,MAAMC,0BAA0BC,IAAK,CAAAC,GAAA,CACnCD,IAAK,CAAAC,GAAA,CAAIR,gCAAmC,GAAAG,SAAA,CAAUM,QAAQ,CAAC,CAAA,EAC/DR,qBAAA,CACF;EAEI,IAAAG,QAAA,CAASK,SAASH,uBAAyB,EAAA;IAC7C,OAAOD,IAAIK,QAAS,CAAA;MAClBC,IAAA,EAAM,CAAC,UAAU,CAAA;MACjBC,MAAMC,YAAa,CAAAC,OAAA;MACnBC,IAAM,EAAA,QAAA;MACNC,OAAS,EAAAV,uBAAA;MACTW,SAAW,EAAA;IAAA,CACZ,CAAA;EACH;AACF,CAAA;"}