@ubnt/store.core 9.29.0-alpha.1 → 9.29.0-alpha.11

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 (403) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/lib/_virtual/_virtual_multi-entry.js +14 -12
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +14 -12
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/apis/smartcat.d.ts +18 -3
  7. package/lib/apis/smartcat.js +6 -6
  8. package/lib/apis/smartcat.js.map +1 -1
  9. package/lib/apis/smartcat.mjs +6 -6
  10. package/lib/apis/smartcat.mjs.map +1 -1
  11. package/lib/assets/attention.svg +5 -5
  12. package/lib/assets/attention2.svg +5 -5
  13. package/lib/assets/close.svg +4 -1
  14. package/lib/assets/close2.svg +2 -3
  15. package/lib/assets/close3.svg +1 -3
  16. package/lib/assets/icons/wizard/plus.svg.js +1 -1
  17. package/lib/assets/icons/wizard/plus.svg.mjs +2 -2
  18. package/lib/assets/pause.svg +3 -3
  19. package/lib/assets/pause2.svg +3 -3
  20. package/lib/assets/plus.svg +4 -22
  21. package/lib/assets/plus2.svg +22 -4
  22. package/lib/assets/ucgMax.jpg +0 -0
  23. package/lib/assets/ucgMax2.jpg +0 -0
  24. package/lib/assets/ucgUltra.jpg +0 -0
  25. package/lib/assets/ucgUltra2.jpg +0 -0
  26. package/lib/assets/unasDrive.svg +3 -0
  27. package/lib/components/Accordion/Accordion.js +4 -4
  28. package/lib/components/Avatar/Avatar.js +2 -2
  29. package/lib/components/Button/Button.js +5 -5
  30. package/lib/components/Button/CartButton.js +2 -2
  31. package/lib/components/CardSection/Card/Card.js +6 -6
  32. package/lib/components/CardSection/CardSection.js +2 -2
  33. package/lib/components/CartIcon/CartIcon.js +2 -2
  34. package/lib/components/Checkbox/Checkbox.js +4 -4
  35. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  36. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  37. package/lib/components/Container/Container.js +2 -2
  38. package/lib/components/CustomImage/CustomImage.js +13 -13
  39. package/lib/components/CustomImage/CustomImage.mjs +1 -1
  40. package/lib/components/Explore/Explore.js +5 -5
  41. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +1 -1
  42. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +1 -1
  43. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  44. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +23 -23
  45. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
  46. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
  47. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
  48. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +1 -1
  49. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +2 -2
  50. package/lib/components/Footer/Footer.js +2 -2
  51. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  52. package/lib/components/Gallery/Gallery.context.js +17 -17
  53. package/lib/components/Gallery/Gallery.js +9 -9
  54. package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
  55. package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
  56. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  57. package/lib/components/GridGallery/GridGallery.js +8 -8
  58. package/lib/components/GridGallery/GridModal/GridModal.js +7 -7
  59. package/lib/components/GridGallery/GridModal/GridModal.mjs +1 -1
  60. package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
  61. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  62. package/lib/components/Header/AccountMenu/AccountMenu.js +19 -19
  63. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  64. package/lib/components/Header/CartModalV2/CartModal.js +6 -6
  65. package/lib/components/Header/CartModalV2/CartModal.mjs +1 -1
  66. package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
  67. package/lib/components/Header/Header.js +35 -35
  68. package/lib/components/Header/Header.mjs +1 -1
  69. package/lib/components/Header/IsolatedHeader.js +7 -7
  70. package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
  71. package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
  72. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
  73. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
  74. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +6 -6
  75. package/lib/components/Header/Overlay/Overlay.js +3 -3
  76. package/lib/components/Header/ProHeader/ProHeader.js +53 -50
  77. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  78. package/lib/components/Header/ProHeader/ProHeader.mjs +24 -21
  79. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  80. package/lib/components/Hero/Hero.js +5 -5
  81. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  82. package/lib/components/ImageCarousel/ImageCarousel.js +29 -29
  83. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  84. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  85. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  86. package/lib/components/LandingPage/LandingPage.js +2 -2
  87. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  88. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  89. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  90. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +13 -13
  91. package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs +1 -1
  92. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  93. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  94. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  95. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  96. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  97. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  98. package/lib/components/MicrositeHeader/MicrositeHeader.js +4 -4
  99. package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.js +4 -4
  100. package/lib/components/MicrositeHeader/components/Navigation/Navigation.js +9 -9
  101. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  102. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  103. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  104. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  105. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  106. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  107. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +13 -13
  108. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
  109. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
  110. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
  111. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  112. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  113. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  114. package/lib/components/MobileModal/MobileModal.js +4 -4
  115. package/lib/components/Modal/Modal.js +3 -3
  116. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  117. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  118. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  119. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +3 -2
  120. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  121. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  122. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  123. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  124. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  125. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  126. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  127. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  128. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  129. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  130. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  131. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
  132. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
  133. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
  134. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
  135. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
  136. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
  137. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
  138. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.mjs +2 -2
  139. package/lib/components/ModelCompareV3/assets/XgsPon/{uispFiberOltXgs.jpg.js → fiberOltXgs.jpg.js} +2 -2
  140. package/lib/components/ModelCompareV3/assets/XgsPon/fiberOltXgs.jpg.js.map +1 -0
  141. package/lib/components/ModelCompareV3/assets/XgsPon/fiberOltXgs.jpg.mjs +3 -0
  142. package/lib/components/ModelCompareV3/assets/XgsPon/fiberOltXgs.jpg.mjs.map +1 -0
  143. package/lib/components/ModelCompareV3/data/BaseStation.js +3 -2
  144. package/lib/components/ModelCompareV3/data/BaseStation.js.map +1 -1
  145. package/lib/components/ModelCompareV3/data/BaseStation.mjs +3 -2
  146. package/lib/components/ModelCompareV3/data/BaseStation.mjs.map +1 -1
  147. package/lib/components/ModelCompareV3/data/CloudGateways.js +6 -6
  148. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +4 -4
  149. package/lib/components/ModelCompareV3/data/WaveMLO.js +3 -4
  150. package/lib/components/ModelCompareV3/data/WaveMLO.js.map +1 -1
  151. package/lib/components/ModelCompareV3/data/WaveMLO.mjs +3 -4
  152. package/lib/components/ModelCompareV3/data/WaveMLO.mjs.map +1 -1
  153. package/lib/components/ModelCompareV3/data/XgsPon.js +2 -2
  154. package/lib/components/ModelCompareV3/data/XgsPon.js.map +1 -1
  155. package/lib/components/ModelCompareV3/data/XgsPon.mjs +2 -2
  156. package/lib/components/ModelCompareV3/data/XgsPon.mjs.map +1 -1
  157. package/lib/components/ModelCompareV3/data/products/{uispFiberOltXgs.d.ts → fiberOltXgs.d.ts} +1 -1
  158. package/lib/components/ModelCompareV3/data/products/{uispFiberOltXgs.js → fiberOltXgs.js} +8 -8
  159. package/lib/components/ModelCompareV3/data/products/fiberOltXgs.js.map +1 -0
  160. package/lib/components/ModelCompareV3/data/products/{uispFiberOltXgs.mjs → fiberOltXgs.mjs} +8 -8
  161. package/lib/components/ModelCompareV3/data/products/fiberOltXgs.mjs.map +1 -0
  162. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  163. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  164. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +1 -1
  165. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +1 -1
  166. package/lib/components/ModelCompareV3/data/products/waveAp.js +3 -3
  167. package/lib/components/ModelCompareV3/data/products/waveAp.js.map +1 -1
  168. package/lib/components/ModelCompareV3/data/products/waveAp.mjs +3 -3
  169. package/lib/components/ModelCompareV3/data/products/waveAp.mjs.map +1 -1
  170. package/lib/components/ModelCompareV3/data/products/waveApGen2.js +2 -2
  171. package/lib/components/ModelCompareV3/data/products/waveApGen2.js.map +1 -1
  172. package/lib/components/ModelCompareV3/data/products/waveApGen2.mjs +2 -2
  173. package/lib/components/ModelCompareV3/data/products/waveApGen2.mjs.map +1 -1
  174. package/lib/components/ModelCompareV3/data/products/waveApMicro.js +5 -5
  175. package/lib/components/ModelCompareV3/data/products/waveApMicro.js.map +1 -1
  176. package/lib/components/ModelCompareV3/data/products/waveApMicro.mjs +5 -5
  177. package/lib/components/ModelCompareV3/data/products/waveApMicro.mjs.map +1 -1
  178. package/lib/components/ModelCompareV3/data/products/waveFiberOlt.js +2 -13
  179. package/lib/components/ModelCompareV3/data/products/waveFiberOlt.js.map +1 -1
  180. package/lib/components/ModelCompareV3/data/products/waveFiberOlt.mjs +2 -13
  181. package/lib/components/ModelCompareV3/data/products/waveFiberOlt.mjs.map +1 -1
  182. package/lib/components/ModelCompareV3/data/products/waveFiberOnu.js +3 -4
  183. package/lib/components/ModelCompareV3/data/products/waveFiberOnu.js.map +1 -1
  184. package/lib/components/ModelCompareV3/data/products/waveFiberOnu.mjs +3 -4
  185. package/lib/components/ModelCompareV3/data/products/waveFiberOnu.mjs.map +1 -1
  186. package/lib/components/ModelCompareV3/data/products/waveMLO5.js +4 -12
  187. package/lib/components/ModelCompareV3/data/products/waveMLO5.js.map +1 -1
  188. package/lib/components/ModelCompareV3/data/products/waveMLO5.mjs +4 -12
  189. package/lib/components/ModelCompareV3/data/products/waveMLO5.mjs.map +1 -1
  190. package/lib/components/ModelCompareV3/data/products/waveMLO6.js +5 -11
  191. package/lib/components/ModelCompareV3/data/products/waveMLO6.js.map +1 -1
  192. package/lib/components/ModelCompareV3/data/products/waveMLO6.mjs +5 -11
  193. package/lib/components/ModelCompareV3/data/products/waveMLO6.mjs.map +1 -1
  194. package/lib/components/ModelCompareV3/data/properties/index.d.ts +2 -1
  195. package/lib/components/ModelCompareV3/data/properties/index.js +4 -2
  196. package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
  197. package/lib/components/ModelCompareV3/data/properties/index.mjs +2 -1
  198. package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
  199. package/lib/components/ModelCompareV3/data/properties/{bandwidthPuncturing.d.ts → linkPuncturing.d.ts} +1 -1
  200. package/lib/components/ModelCompareV3/data/properties/{bandwidthPuncturing.js → linkPuncturing.js} +5 -5
  201. package/lib/components/ModelCompareV3/data/properties/linkPuncturing.js.map +1 -0
  202. package/lib/components/ModelCompareV3/data/properties/linkPuncturing.mjs +10 -0
  203. package/lib/components/ModelCompareV3/data/properties/linkPuncturing.mjs.map +1 -0
  204. package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.d.ts +2 -0
  205. package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.js +18 -0
  206. package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.js.map +1 -0
  207. package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.mjs +10 -0
  208. package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.mjs.map +1 -0
  209. package/lib/components/ModelCompareV3/translations/en.json.js +11 -11
  210. package/lib/components/ModelCompareV3/translations/en.json.mjs +11 -11
  211. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  212. package/lib/components/Pagination/Pagination.js +3 -3
  213. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  214. package/lib/components/ProductCard/ProductCard.js +8 -8
  215. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  216. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  217. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  218. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  219. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  220. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  221. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +2 -0
  222. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +79 -0
  223. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
  224. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +71 -0
  225. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +1 -0
  226. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +11 -0
  227. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +80 -0
  228. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
  229. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +66 -0
  230. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -0
  231. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +12 -0
  232. package/lib/components/ProductTechSpecsV2/index.d.ts +1 -0
  233. package/lib/components/ProductTechSpecsV2/index.js +6 -0
  234. package/lib/components/ProductTechSpecsV2/index.js.map +1 -0
  235. package/lib/components/ProductTechSpecsV2/index.mjs +3 -0
  236. package/lib/components/ProductTechSpecsV2/index.mjs.map +1 -0
  237. package/lib/components/ProductWizard/Options/Options.js +3 -3
  238. package/lib/components/ProductWizard/ProductWizard.js +3 -3
  239. package/lib/components/ProductWizard/ProductWizard.mjs +1 -1
  240. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
  241. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  242. package/lib/components/QuantityControls/QuantityControls.js +4 -4
  243. package/lib/components/QuantityInput/QuantityInput.js +1 -1
  244. package/lib/components/QuantityInput/QuantityInput.mjs +1 -1
  245. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  246. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  247. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  248. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +6 -6
  249. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  250. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  251. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +4 -4
  252. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  253. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  254. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  255. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +8 -8
  256. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
  257. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  258. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  259. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  260. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  261. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  262. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +15 -15
  263. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  264. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  265. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  266. package/lib/components/ScrollWrapper/ScrollWrapper.js +17 -17
  267. package/lib/components/Search/Input/Input.js +5 -5
  268. package/lib/components/Search/Input/Input.mjs +1 -1
  269. package/lib/components/Search/Modal/Modal.js +3 -3
  270. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  271. package/lib/components/StorageSliders/StorageSliders.context.js +19 -19
  272. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  273. package/lib/components/Tooltip/Tooltip.js +5 -5
  274. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  275. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  276. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  277. package/lib/components/VideoPlayerNew/VideoPlayer.js +21 -21
  278. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +2 -2
  279. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  280. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  281. package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
  282. package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
  283. package/lib/components/index.d.ts +1 -0
  284. package/lib/components/index.js +2 -0
  285. package/lib/components/index.js.map +1 -1
  286. package/lib/components/index.mjs +2 -0
  287. package/lib/components/index.mjs.map +1 -1
  288. package/lib/constants/icons/generic/close.svg.js +1 -1
  289. package/lib/constants/icons/generic/close.svg.mjs +2 -2
  290. package/lib/constants/icons/generic/index.js +1 -1
  291. package/lib/constants/icons/generic/index.mjs +1 -1
  292. package/lib/constants/icons/menu/index.d.ts +1 -0
  293. package/lib/constants/icons/menu/index.js +9 -0
  294. package/lib/constants/icons/menu/index.js.map +1 -1
  295. package/lib/constants/icons/menu/index.mjs +2 -0
  296. package/lib/constants/icons/menu/index.mjs.map +1 -1
  297. package/lib/constants/icons/menu/unasDrive.svg.js +27 -0
  298. package/lib/constants/icons/menu/unasDrive.svg.js.map +1 -0
  299. package/lib/constants/icons/menu/unasDrive.svg.mjs +3 -0
  300. package/lib/constants/icons/menu/unasDrive.svg.mjs.map +1 -0
  301. package/lib/constants/icons/options/colors/black.svg.js +5 -5
  302. package/lib/constants/icons/options/colors/index.js +3 -3
  303. package/lib/constants/icons/options/styles/black.svg.js +5 -5
  304. package/lib/constants/icons/options/styles/index.js +3 -3
  305. package/lib/constants/optionIcons.js +6 -6
  306. package/lib/constants/optionIcons.mjs +4 -4
  307. package/lib/constants/proStoreCategories/mapping/filters.d.ts +15 -0
  308. package/lib/constants/proStoreCategories/mapping/filters.js +15 -0
  309. package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
  310. package/lib/constants/proStoreCategories/mapping/filters.mjs +15 -0
  311. package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
  312. package/lib/constants/proStoreCategories/mapping/index.d.ts +1 -1
  313. package/lib/constants/proStoreCategories/mapping/index.js +32 -34
  314. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  315. package/lib/constants/proStoreCategories/mapping/index.mjs +32 -34
  316. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  317. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +4 -0
  318. package/lib/constants/proStoreCategories/mapping/redirects.js +9 -1
  319. package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
  320. package/lib/constants/proStoreCategories/mapping/redirects.mjs +9 -1
  321. package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
  322. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +2 -4
  323. package/lib/constants/proStoreCategories/mapping/unifi.js +2 -4
  324. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  325. package/lib/constants/proStoreCategories/mapping/unifi.mjs +2 -4
  326. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  327. package/lib/constants/proStoreCategories/translations/ar.json.js +2 -1
  328. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  329. package/lib/constants/proStoreCategories/translations/ar.json.mjs +2 -1
  330. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  331. package/lib/constants/proStoreCategories/translations/de.json.js +2 -1
  332. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  333. package/lib/constants/proStoreCategories/translations/de.json.mjs +2 -1
  334. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  335. package/lib/constants/proStoreCategories/translations/el.json.js +2 -1
  336. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  337. package/lib/constants/proStoreCategories/translations/el.json.mjs +2 -1
  338. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  339. package/lib/constants/proStoreCategories/translations/en.json.js +1 -3
  340. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  341. package/lib/constants/proStoreCategories/translations/en.json.mjs +2 -3
  342. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  343. package/lib/constants/proStoreCategories/translations/es.json.js +2 -1
  344. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  345. package/lib/constants/proStoreCategories/translations/es.json.mjs +2 -1
  346. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  347. package/lib/constants/proStoreCategories/translations/fr.json.js +2 -1
  348. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  349. package/lib/constants/proStoreCategories/translations/fr.json.mjs +2 -1
  350. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  351. package/lib/constants/proStoreCategories/translations/it.json.js +2 -1
  352. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  353. package/lib/constants/proStoreCategories/translations/it.json.mjs +2 -1
  354. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  355. package/lib/constants/proStoreCategories/translations/ja.json.js +2 -1
  356. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  357. package/lib/constants/proStoreCategories/translations/ja.json.mjs +2 -1
  358. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  359. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +2 -1
  360. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  361. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +2 -1
  362. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  363. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +2 -1
  364. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  365. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +2 -1
  366. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  367. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +2 -1
  368. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  369. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +2 -1
  370. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  371. package/lib/constants/proStoreFilters/mapping.d.ts +39 -3
  372. package/lib/constants/proStoreFilters/mapping.js +104 -6
  373. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  374. package/lib/constants/proStoreFilters/mapping.mjs +104 -6
  375. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  376. package/lib/contexts/MenuContext/context.js +32 -32
  377. package/lib/contexts/MenuContext/mapping.js +12 -0
  378. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  379. package/lib/contexts/MenuContext/mapping.mjs +11 -0
  380. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  381. package/lib/contexts/MicrositeMenuContext/context.js +9 -9
  382. package/lib/helpers/proStoreCategories.js +2 -2
  383. package/lib/hooks/useHasTouch.js +3 -3
  384. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  385. package/lib/hooks/useHorizontalScroll.js +2 -2
  386. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  387. package/lib/hooks/useScrollToY.js +2 -2
  388. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  389. package/lib/hooks/useTranslation.js +6 -6
  390. package/lib/utils/address.js +1 -1
  391. package/lib/utils/address.js.map +1 -1
  392. package/lib/utils/address.mjs +1 -1
  393. package/lib/utils/address.mjs.map +1 -1
  394. package/package.json +1 -1
  395. package/lib/components/ModelCompareV3/assets/XgsPon/uispFiberOltXgs.jpg.js.map +0 -1
  396. package/lib/components/ModelCompareV3/assets/XgsPon/uispFiberOltXgs.jpg.mjs +0 -3
  397. package/lib/components/ModelCompareV3/assets/XgsPon/uispFiberOltXgs.jpg.mjs.map +0 -1
  398. package/lib/components/ModelCompareV3/data/products/uispFiberOltXgs.js.map +0 -1
  399. package/lib/components/ModelCompareV3/data/products/uispFiberOltXgs.mjs.map +0 -1
  400. package/lib/components/ModelCompareV3/data/properties/bandwidthPuncturing.js.map +0 -1
  401. package/lib/components/ModelCompareV3/data/properties/bandwidthPuncturing.mjs +0 -10
  402. package/lib/components/ModelCompareV3/data/properties/bandwidthPuncturing.mjs.map +0 -1
  403. /package/lib/assets/{uispFiberOltXgs.jpg → fiberOltXgs.jpg} +0 -0
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var reactUse = require('react-use');
6
6
  var layout = require('../../../../../constants/layout.js');
7
7
  var asset = require('../../../../../utils/asset.js');
@@ -28,15 +28,15 @@ const DeviceSelect = ({
28
28
  const {
29
29
  formatMessage
30
30
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
31
- const defaultCollapsedState = react.useMemo(() => {
31
+ const defaultCollapsedState = React.useMemo(() => {
32
32
  const activeItemIndex = items.findIndex(item => item.active);
33
33
  return !!collapseAt && activeItemIndex < collapseAt;
34
34
  }, [collapseAt, items]);
35
- const [isCollapsed, setIsCollapsed] = react.useState(defaultCollapsedState);
36
- const handleToggleCollapse = react.useCallback(() => {
35
+ const [isCollapsed, setIsCollapsed] = React.useState(defaultCollapsedState);
36
+ const handleToggleCollapse = React.useCallback(() => {
37
37
  setIsCollapsed(!isCollapsed);
38
38
  }, [isCollapsed]);
39
- const mappedItems = react.useMemo(() => {
39
+ const mappedItems = React.useMemo(() => {
40
40
  return items.map((item, i) => {
41
41
  const isHidden = collapseAt !== void 0 && isCollapsed && i >= collapseAt;
42
42
  return /* @__PURE__ */jsxRuntime.jsxs(DeviceSelect_styles.DeviceItem, {
@@ -69,9 +69,9 @@ const DeviceSelect = ({
69
69
  }, item.id);
70
70
  });
71
71
  }, [items, isCollapsed, collapseAt, formatMessage]);
72
- const scrollContainerRef = react.useRef(null);
72
+ const scrollContainerRef = React.useRef(null);
73
73
  const isTablet = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
74
- const handleScrollToMax = react.useCallback(scrollTo => {
74
+ const handleScrollToMax = React.useCallback(scrollTo => {
75
75
  if (scrollContainerRef.current) {
76
76
  const left = scrollTo === "left" ? 0 : scrollContainerRef.current.scrollWidth;
77
77
  scrollContainerRef.current.scrollTo({
@@ -80,11 +80,11 @@ const DeviceSelect = ({
80
80
  });
81
81
  }
82
82
  }, [scrollContainerRef]);
83
- const [showScrollBtn, setShowScrollBtn] = react.useState({
83
+ const [showScrollBtn, setShowScrollBtn] = React.useState({
84
84
  left: false,
85
85
  right: false
86
86
  });
87
- const evaluateShowScrollBtn = react.useCallback(() => {
87
+ const evaluateShowScrollBtn = React.useCallback(() => {
88
88
  if (!scrollContainerRef.current) {
89
89
  return;
90
90
  }
@@ -103,10 +103,10 @@ const DeviceSelect = ({
103
103
  right: evaluateScrollBtn("right")
104
104
  });
105
105
  }, [isTablet]);
106
- react.useEffect(() => {
106
+ React.useEffect(() => {
107
107
  evaluateShowScrollBtn();
108
108
  }, [isCollapsed, evaluateShowScrollBtn]);
109
- react.useEffect(() => {
109
+ React.useEffect(() => {
110
110
  const scrollEl = scrollContainerRef.current;
111
111
  if (scrollEl) {
112
112
  scrollEl.addEventListener("scroll", evaluateShowScrollBtn);
@@ -117,7 +117,7 @@ const DeviceSelect = ({
117
117
  }
118
118
  };
119
119
  }, [evaluateShowScrollBtn]);
120
- const scrollHelperButtons = react.useMemo(() => {
120
+ const scrollHelperButtons = React.useMemo(() => {
121
121
  if (!scrollContainerRef.current) {
122
122
  return null;
123
123
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var Checkbox = require('@ubnt/ui-components/Checkbox');
5
- var react = require('react');
5
+ var React = require('react');
6
6
  var reactUse = require('react-use');
7
7
  var layout = require('../../../../../constants/layout.js');
8
8
  var asset = require('../../../../../utils/asset.js');
@@ -12,7 +12,7 @@ require('./assets/attention.svg.js');
12
12
  var InputCard_styles = require('./InputCard.styles.js');
13
13
  require('./InputSections/index.js');
14
14
  var CustomImage = require('../../../../CustomImage/CustomImage.js');
15
- var attentionIcon = require("../../../../../assets/attention2.svg");
15
+ var attentionIcon = require("../../../../../assets/attention.svg");
16
16
  var OptionSelectSection = require('./InputSections/OptionSelectSection.js');
17
17
  var SliderSection = require('./InputSections/SliderSection.js');
18
18
  var CounterSection = require('./InputSections/CounterSection.js');
@@ -38,17 +38,17 @@ const InputCard = ({
38
38
  const {
39
39
  formatMessage
40
40
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
41
- const handleToggleEnabled = react.useCallback(event => {
41
+ const handleToggleEnabled = React.useCallback(event => {
42
42
  onToggleEnabled?.(event.target.checked);
43
43
  }, [onToggleEnabled]);
44
- const disabledCard = react.useMemo(() => {
44
+ const disabledCard = React.useMemo(() => {
45
45
  return Boolean(!active || notAvailable);
46
46
  }, [active, notAvailable]);
47
- const renderHeader = react.useMemo(() => {
47
+ const renderHeader = React.useMemo(() => {
48
48
  return Boolean(notAvailable || header?.icon || header?.title);
49
49
  }, [header, notAvailable]);
50
50
  const isMobile = reactUse.useMedia(layout.BREAKPOINTS.MOBILE_AND_DOWN, false);
51
- const hideCardContent = react.useMemo(() => {
51
+ const hideCardContent = React.useMemo(() => {
52
52
  return isMobile && disabledCard;
53
53
  }, [disabledCard, isMobile]);
54
54
  return /* @__PURE__ */jsxRuntime.jsxs(InputCard_styles.Card, {
@@ -10,7 +10,7 @@ import './assets/attention.svg.mjs';
10
10
  import { Card, Header, HeaderHeadingSection, HeadingIcon, HeadingTitle, HeaderActionSection, SubduedInfo, OverlayFilter, NotAvailableNoteWrap, NotAvailableNoteIcon, InputBody, InputSectionSpacing, Footer, FooterContent, FooterNote } from './InputCard.styles.mjs';
11
11
  import './InputSections/index.mjs';
12
12
  import { CustomImage } from '../../../../CustomImage/CustomImage.mjs';
13
- import attentionIcon__default from "../../../../../assets/attention2.svg";
13
+ import attentionIcon__default from "../../../../../assets/attention.svg";
14
14
  import { OptionSelectSection } from './InputSections/OptionSelectSection.mjs';
15
15
  import { SliderSection } from './InputSections/SliderSection.mjs';
16
16
  import { CounterSection } from './InputSections/CounterSection.mjs';
@@ -2,7 +2,7 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var Checkbox = require('@ubnt/ui-components/Checkbox');
5
- var react = require('react');
5
+ var React = require('react');
6
6
  var Layout_styles = require('./Layout.styles.js');
7
7
  "use strict";
8
8
  const CheckboxSection = ({
@@ -13,7 +13,7 @@ const CheckboxSection = ({
13
13
  checked,
14
14
  disabled
15
15
  }) => {
16
- const handleChange = react.useCallback(event => {
16
+ const handleChange = React.useCallback(event => {
17
17
  onChange(event.target.checked);
18
18
  }, [onChange]);
19
19
  return /* @__PURE__ */jsxRuntime.jsxs(Layout_styles.InputWrapper, {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var styled = require('styled-components');
6
6
  var asset = require('../../../../../../utils/asset.js');
7
7
  require('../../../../../CustomImage/index.js');
@@ -31,17 +31,17 @@ const CounterSection = ({
31
31
  valueIcon,
32
32
  disabled
33
33
  }) => {
34
- react.useEffect(() => {
34
+ React.useEffect(() => {
35
35
  if (value > max) {
36
36
  onChange(max);
37
37
  } else if (value < min) {
38
38
  onChange(min);
39
39
  }
40
40
  }, [value, min, max, onChange]);
41
- const handleIncrement = react.useCallback(() => {
41
+ const handleIncrement = React.useCallback(() => {
42
42
  onChange(value + 1);
43
43
  }, [value, onChange]);
44
- const handleDecrement = react.useCallback(() => {
44
+ const handleDecrement = React.useCallback(() => {
45
45
  onChange(value - 1);
46
46
  }, [value, onChange]);
47
47
  return /* @__PURE__ */jsxRuntime.jsxs(Layout_styles.InputWrapper, {
@@ -2,7 +2,7 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var Slider = require('@ubnt/ui-components/Slider');
5
- var react = require('react');
5
+ var React = require('react');
6
6
  var styled = require('styled-components');
7
7
  require('../../../../../StyleableSvgImage/index.js');
8
8
  require('../assets/silder-grip.svg.js');
@@ -26,14 +26,14 @@ const SliderSection = ({
26
26
  disabled,
27
27
  hideSlider
28
28
  }) => {
29
- react.useEffect(() => {
29
+ React.useEffect(() => {
30
30
  if (value > max) {
31
31
  onChange(max);
32
32
  } else if (value < min) {
33
33
  onChange(min);
34
34
  }
35
35
  }, [value, min, max, onChange]);
36
- const handleChange = react.useCallback(e => {
36
+ const handleChange = React.useCallback(e => {
37
37
  const value2 = parseInt(e.target.value, 10);
38
38
  if (disabled) {
39
39
  return;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var attentionIcon = require("../../../../../../assets/attention2.svg");
6
+ var attentionIcon = require("../../../../../../assets/attention.svg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
@@ -1,3 +1,3 @@
1
- export * from "../../../../../../assets/attention2.svg";
2
- export { default } from "../../../../../../assets/attention2.svg";
1
+ export * from "../../../../../../assets/attention.svg";
2
+ export { default } from "../../../../../../assets/attention.svg";
3
3
  //# sourceMappingURL=attention.svg.mjs.map
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var asset = require('../../../../../utils/asset.js');
6
6
  require('./assets/attention.svg.js');
7
7
  var Part = require('./Part.js');
8
8
  var ProgressBarChart_styles = require('./ProgressBarChart.styles.js');
9
- var attentionIcon = require("../../../../../assets/attention.svg");
9
+ var attentionIcon = require("../../../../../assets/attention2.svg");
10
10
  function _interopDefault(e) {
11
11
  return e && e.__esModule ? e : {
12
12
  default: e
@@ -21,9 +21,9 @@ const ProgressBarChart = ({
21
21
  warnLabel,
22
22
  warnThresholdPercentDecimal
23
23
  }) => {
24
- const progressBarRef = react.useRef(null);
25
- const [progressBarContainerWidth, setProgressBarContainerWidth] = react.useState(0);
26
- react.useEffect(() => {
24
+ const progressBarRef = React.useRef(null);
25
+ const [progressBarContainerWidth, setProgressBarContainerWidth] = React.useState(0);
26
+ React.useEffect(() => {
27
27
  if (!progressBarRef.current) {
28
28
  return;
29
29
  }
@@ -35,7 +35,7 @@ const ProgressBarChart = ({
35
35
  resizeObserver.observe(progressBarRef.current);
36
36
  return () => resizeObserver.disconnect();
37
37
  }, [setProgressBarContainerWidth, progressBarRef]);
38
- const parts = react.useMemo(() => {
38
+ const parts = React.useMemo(() => {
39
39
  const partsCount = Math.floor((progressBarContainerWidth + Part.PART_GAP_PX) / (Part.PART_WIDTH_PX + Part.PART_GAP_PX));
40
40
  const parts2 = [];
41
41
  for (let i = 0; i < partsCount; i++) {
@@ -43,10 +43,10 @@ const ProgressBarChart = ({
43
43
  }
44
44
  return parts2;
45
45
  }, [progressBarContainerWidth]);
46
- const isWarnLimitExceeded = react.useMemo(() => {
46
+ const isWarnLimitExceeded = React.useMemo(() => {
47
47
  return warnThresholdPercentDecimal !== void 0 && warnThresholdPercentDecimal <= progressBarPercentDecimal;
48
48
  }, [warnThresholdPercentDecimal, progressBarPercentDecimal]);
49
- const mappedParts = react.useMemo(() => {
49
+ const mappedParts = React.useMemo(() => {
50
50
  const lastActivePartIndex = Math.round(parts.length * progressBarPercentDecimal);
51
51
  if (warnThresholdPercentDecimal && isWarnLimitExceeded) {
52
52
  const thresholdPartIndex = Math.round(parts.length * warnThresholdPercentDecimal);
@@ -4,7 +4,7 @@ import { imageSrc } from '../../../../../utils/asset.mjs';
4
4
  import './assets/attention.svg.mjs';
5
5
  import { PART_GAP_PX, PART_WIDTH_PX, Part } from './Part.mjs';
6
6
  import { ProgressBarChartContainer, ProgressBarChartHeader, ProgressBarChartTitle, ProgressBarWrapper, ProgressBarPartsContainer, ProgressBarAttentionLabel, ProgressBarAttentionLabelIcon } from './ProgressBarChart.styles.mjs';
7
- import attentionIcon__default from "../../../../../assets/attention.svg";
7
+ import attentionIcon__default from "../../../../../assets/attention2.svg";
8
8
  "use strict";
9
9
  const ProgressBarChart = ({
10
10
  title,
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var attentionIcon = require("../../../../../../assets/attention.svg");
6
+ var attentionIcon = require("../../../../../../assets/attention2.svg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
@@ -1,3 +1,3 @@
1
- export * from "../../../../../../assets/attention.svg";
2
- export { default } from "../../../../../../assets/attention.svg";
1
+ export * from "../../../../../../assets/attention2.svg";
2
+ export { default } from "../../../../../../assets/attention2.svg";
3
3
  //# sourceMappingURL=attention.svg.mjs.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var react = require('react');
3
+ var React = require('react');
4
4
  var ComputeResourceCalculator_types = require('./ComputeResourceCalculator.types.js');
5
5
  "use strict";
6
6
  const useComputeResourceCalculator = ({
7
7
  deviceResourceData,
8
8
  inputs
9
9
  }) => {
10
- const networkResources = react.useMemo(() => {
10
+ const networkResources = React.useMemo(() => {
11
11
  const networkDeviceResources = deviceResourceData.Network;
12
12
  const networkInputs = inputs[ComputeResourceCalculator_types.FeatureId.Network];
13
13
  if (!networkInputs.enabled || !networkDeviceResources) {
@@ -46,7 +46,7 @@ const useComputeResourceCalculator = ({
46
46
  }
47
47
  return sum;
48
48
  }, [deviceResourceData, inputs]);
49
- const protectResources = react.useMemo(() => {
49
+ const protectResources = React.useMemo(() => {
50
50
  const protectDeviceResources = deviceResourceData.Protect;
51
51
  const protectInputs = inputs[ComputeResourceCalculator_types.FeatureId.Protect];
52
52
  const CAMERA_WEIGHT_FACTOR = 1.5;
@@ -76,7 +76,7 @@ const useComputeResourceCalculator = ({
76
76
  }
77
77
  return sum;
78
78
  }, [deviceResourceData, inputs]);
79
- const talkResources = react.useMemo(() => {
79
+ const talkResources = React.useMemo(() => {
80
80
  const talkDeviceResources = deviceResourceData.Talk;
81
81
  const talkInputs = inputs[ComputeResourceCalculator_types.FeatureId.Talk];
82
82
  if (!talkInputs.enabled || !talkDeviceResources) {
@@ -100,7 +100,7 @@ const useComputeResourceCalculator = ({
100
100
  }
101
101
  return sum;
102
102
  }, [deviceResourceData, inputs]);
103
- const accessResources = react.useMemo(() => {
103
+ const accessResources = React.useMemo(() => {
104
104
  const accessDeviceResources = deviceResourceData.Access;
105
105
  const accessInputs = inputs[ComputeResourceCalculator_types.FeatureId.Access];
106
106
  if (!accessInputs.enabled || !accessDeviceResources) {
@@ -119,7 +119,7 @@ const useComputeResourceCalculator = ({
119
119
  }
120
120
  return sum;
121
121
  }, [deviceResourceData, inputs]);
122
- const computedResourcesLoadRatio = react.useMemo(() => {
122
+ const computedResourcesLoadRatio = React.useMemo(() => {
123
123
  return networkResources + talkResources + accessResources + protectResources;
124
124
  }, [networkResources, talkResources, accessResources, protectResources]);
125
125
  return {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  require('../../../contexts/MenuContext/index.js');
6
6
  var mapping = require('../../../contexts/MenuContext/mapping.js');
7
7
  var asset = require('../../../utils/asset.js');
@@ -27,17 +27,17 @@ const PoeCalculator = () => {
27
27
  const {
28
28
  formatMessage
29
29
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
30
- const [poeConsumerPorts, setPoeConsumerPorts] = react.useState(getEmptyPorts(PoeCalculator_constants.PORT_GROUP_SIZE));
31
- const handleAddPortGroup = react.useCallback(poePortGroupSize => {
30
+ const [poeConsumerPorts, setPoeConsumerPorts] = React.useState(getEmptyPorts(PoeCalculator_constants.PORT_GROUP_SIZE));
31
+ const handleAddPortGroup = React.useCallback(poePortGroupSize => {
32
32
  setPoeConsumerPorts([...poeConsumerPorts, ...getEmptyPorts(poePortGroupSize)]);
33
33
  }, [poeConsumerPorts, setPoeConsumerPorts]);
34
- const handleDeletePorts = react.useCallback((deleteIndexStart, deleteCount) => {
34
+ const handleDeletePorts = React.useCallback((deleteIndexStart, deleteCount) => {
35
35
  const updatedPoeConsumerPorts = poeConsumerPorts.filter((_, i) => {
36
36
  return i < deleteIndexStart || i >= deleteIndexStart + deleteCount;
37
37
  });
38
38
  setPoeConsumerPorts(updatedPoeConsumerPorts);
39
39
  }, [poeConsumerPorts, setPoeConsumerPorts]);
40
- const handleUpdatePorts = react.useCallback((portIndexes, poeConsumerId, missingPortCount) => {
40
+ const handleUpdatePorts = React.useCallback((portIndexes, poeConsumerId, missingPortCount) => {
41
41
  const poeConsumerDevice = PoeCalculator_constants.POE_CONSUMERS.find(item => item.id === poeConsumerId);
42
42
  const portData = poeConsumerDevice ? {
43
43
  wattage: poeConsumerDevice.wattage,
@@ -66,10 +66,10 @@ const PoeCalculator = () => {
66
66
  });
67
67
  setPoeConsumerPorts([...updatedPoeConsumerPorts, ...portsToBeAdded]);
68
68
  }, [poeConsumerPorts, setPoeConsumerPorts]);
69
- const totalPoeConsumersWattage = react.useMemo(() => {
69
+ const totalPoeConsumersWattage = React.useMemo(() => {
70
70
  return poeConsumerPorts.reduce((accumulator, port) => accumulator + port.wattage, 0);
71
71
  }, [poeConsumerPorts]);
72
- const poeProviderHasEnoughPorts = react.useCallback(poeProvider => {
72
+ const poeProviderHasEnoughPorts = React.useCallback(poeProvider => {
73
73
  const poeProviderPorts = {
74
74
  ...poeProvider.poePorts
75
75
  };
@@ -94,7 +94,7 @@ const PoeCalculator = () => {
94
94
  }
95
95
  return Math.min(...Object.values(poeProviderPorts)) >= 0;
96
96
  }, [poeConsumerPorts]);
97
- const recommendedPoeProviders = react.useMemo(() => {
97
+ const recommendedPoeProviders = React.useMemo(() => {
98
98
  if (totalPoeConsumersWattage === 0) {
99
99
  return [];
100
100
  }
@@ -103,7 +103,7 @@ const PoeCalculator = () => {
103
103
  return poeProviderHasEnoughPorts(poeProvider) && hasEnoughPoeBudget;
104
104
  });
105
105
  }, [totalPoeConsumersWattage, poeProviderHasEnoughPorts]);
106
- const getPoeProviderTotalPortCount = react.useCallback(poePorts => {
106
+ const getPoeProviderTotalPortCount = React.useCallback(poePorts => {
107
107
  return Object.values(poePorts).reduce((acc, curr) => acc + curr, 0);
108
108
  }, []);
109
109
  const {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  require('../../../../CustomImage/index.js');
6
6
  var useResourceCalculatorTranslation = require('../../../translations/useResourceCalculatorTranslation.js');
7
7
  require('./assets/delete.svg.js');
@@ -31,7 +31,7 @@ const PoeConsumerConfigurator = ({
31
31
  const {
32
32
  formatMessage
33
33
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
34
- const emptyPortIndexes = react.useMemo(() => {
34
+ const emptyPortIndexes = React.useMemo(() => {
35
35
  const indexes = [];
36
36
  for (const [i, port] of poeConsumerPorts.entries()) {
37
37
  if (port.wattage === 0) {
@@ -40,7 +40,7 @@ const PoeConsumerConfigurator = ({
40
40
  }
41
41
  return indexes;
42
42
  }, [poeConsumerPorts]);
43
- const groupedPoeConsumerPorts = react.useMemo(() => {
43
+ const groupedPoeConsumerPorts = React.useMemo(() => {
44
44
  const result = [];
45
45
  for (let i = 0; i < poeConsumerPorts.length; i += portGroupSize) {
46
46
  const chunk = poeConsumerPorts.slice(i, i + portGroupSize);
@@ -48,14 +48,14 @@ const PoeConsumerConfigurator = ({
48
48
  }
49
49
  return result;
50
50
  }, [poeConsumerPorts, portGroupSize]);
51
- const [focusedPortIndex, setFocusedPortIndex] = react.useState(null);
52
- const handleConfiguePort = react.useCallback(portIndex => {
51
+ const [focusedPortIndex, setFocusedPortIndex] = React.useState(null);
52
+ const handleConfiguePort = React.useCallback(portIndex => {
53
53
  setFocusedPortIndex(portIndex);
54
54
  }, [setFocusedPortIndex]);
55
- const handleCloseModal = react.useCallback(() => {
55
+ const handleCloseModal = React.useCallback(() => {
56
56
  setFocusedPortIndex(null);
57
57
  }, [setFocusedPortIndex]);
58
- const handleSelectConsumerDevice = react.useCallback((poeConsumerId, count) => {
58
+ const handleSelectConsumerDevice = React.useCallback((poeConsumerId, count) => {
59
59
  if (focusedPortIndex !== null) {
60
60
  const emptyPortIndexesWithoutFocusedPort = emptyPortIndexes.filter(portIndex => portIndex !== focusedPortIndex);
61
61
  const countOfAdditionalPorts = count - 1;
@@ -65,11 +65,11 @@ const PoeConsumerConfigurator = ({
65
65
  handleCloseModal();
66
66
  }
67
67
  }, [focusedPortIndex, handleCloseModal, onUpdatePorts, emptyPortIndexes]);
68
- const [highlightedPortGroupIndex, setHighlightedPortGroupIndex] = react.useState(null);
69
- const handlePortGroupHighlight = react.useCallback(groupIndex => {
68
+ const [highlightedPortGroupIndex, setHighlightedPortGroupIndex] = React.useState(null);
69
+ const handlePortGroupHighlight = React.useCallback(groupIndex => {
70
70
  setHighlightedPortGroupIndex(groupIndex);
71
71
  }, [setHighlightedPortGroupIndex]);
72
- const handleDeletePortGroup = react.useCallback(poePortGroupIndex => {
72
+ const handleDeletePortGroup = React.useCallback(poePortGroupIndex => {
73
73
  const deleteIndexStart = poePortGroupIndex * portGroupSize;
74
74
  onDeletePorts(deleteIndexStart, portGroupSize);
75
75
  }, [portGroupSize, onDeletePorts]);
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var asset = require('../../../../../../utils/asset.js');
6
6
  require('../../../../../CustomImage/index.js');
7
7
  require('../../../../../HorizontalOptionSelect/index.js');
@@ -42,20 +42,20 @@ const PoeConsumerSelectModal = ({
42
42
  const {
43
43
  formatMessage
44
44
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
45
- const stopPropagation = react.useCallback(event => {
45
+ const stopPropagation = React.useCallback(event => {
46
46
  event.stopPropagation();
47
47
  }, []);
48
- const inputRef = react.useRef(null);
49
- const [searchQuery, setSearchQuery] = react.useState("");
50
- const handleSearchQueryChange = react.useCallback(e => {
48
+ const inputRef = React.useRef(null);
49
+ const [searchQuery, setSearchQuery] = React.useState("");
50
+ const handleSearchQueryChange = React.useCallback(e => {
51
51
  setSearchQuery(e.target.value);
52
52
  }, [setSearchQuery]);
53
- const handleFocusSearchInput = react.useCallback(() => {
53
+ const handleFocusSearchInput = React.useCallback(() => {
54
54
  if (inputRef.current) {
55
55
  inputRef.current.focus();
56
56
  }
57
57
  }, []);
58
- const filterSearchItems = react.useCallback(items2 => {
58
+ const filterSearchItems = React.useCallback(items2 => {
59
59
  if (searchQuery.trim().length === 0) {
60
60
  return items2;
61
61
  }
@@ -63,16 +63,16 @@ const PoeConsumerSelectModal = ({
63
63
  return item.title.toLowerCase().includes(searchQuery.toLowerCase());
64
64
  });
65
65
  }, [searchQuery]);
66
- const itemCategories = react.useMemo(() => {
66
+ const itemCategories = React.useMemo(() => {
67
67
  const allCategories = items.map(item => item.category);
68
68
  return [...new Set(allCategories)];
69
69
  }, [items]);
70
- const [currentItemCategory, setCurrentItemCategory] = react.useState(itemCategories[0] || null);
71
- const handleSelectCategory = react.useCallback(id => {
70
+ const [currentItemCategory, setCurrentItemCategory] = React.useState(itemCategories[0] || null);
71
+ const handleSelectCategory = React.useCallback(id => {
72
72
  setCurrentItemCategory(id);
73
73
  setSearchQuery("");
74
74
  }, [setCurrentItemCategory, setSearchQuery]);
75
- const displayedPoeConsumerItems = react.useMemo(() => {
75
+ const displayedPoeConsumerItems = React.useMemo(() => {
76
76
  let itemsTmp = [...items];
77
77
  itemsTmp = itemsTmp.filter(item => item.category === currentItemCategory);
78
78
  itemsTmp = filterSearchItems(itemsTmp);
@@ -85,18 +85,18 @@ const PoeConsumerSelectModal = ({
85
85
  }, ...itemsTmp];
86
86
  return itemsTmp;
87
87
  }, [items, currentItemCategory, filterSearchItems]);
88
- const [count, setCount] = react.useState(1);
89
- react.useEffect(() => {
88
+ const [count, setCount] = React.useState(1);
89
+ React.useEffect(() => {
90
90
  if (isOpen) {
91
91
  setCount(1);
92
92
  }
93
93
  }, [setCount, isOpen]);
94
- const handleIncrementCount = react.useCallback(() => {
94
+ const handleIncrementCount = React.useCallback(() => {
95
95
  if (count < maxCount) {
96
96
  setCount(count + 1);
97
97
  }
98
98
  }, [maxCount, count, setCount]);
99
- const handleDecrementCount = react.useCallback(() => {
99
+ const handleDecrementCount = React.useCallback(() => {
100
100
  if (count > 1) {
101
101
  setCount(count - 1);
102
102
  }
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  require('../../../../CustomImage/index.js');
6
6
  var useResourceCalculatorTranslation = require('../../../translations/useResourceCalculatorTranslation.js');
7
7
  require('./assets/poe.svg.js');
@@ -28,7 +28,7 @@ const RecommendedPoeSwitches = ({
28
28
  const {
29
29
  formatMessage
30
30
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
31
- const showTotalValues = react.useMemo(() => {
31
+ const showTotalValues = React.useMemo(() => {
32
32
  return totalConsumerPorts > 0;
33
33
  }, [totalConsumerPorts]);
34
34
  return /* @__PURE__ */jsxRuntime.jsxs(RecommendedPoeSwitches_styles.RecommendedDevices, {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var reactUse = require('react-use');
6
6
  var layout = require('../../constants/layout.js');
7
7
  var HorizontalOptionSelect = require('../HorizontalOptionSelect/HorizontalOptionSelect.js');
@@ -22,14 +22,14 @@ const ResourceCalculatorV1 = ({
22
22
  formatMessage
23
23
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
24
24
  const isMobile = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
25
- const [activeCalculatorId, setActiveCalculatorId] = react.useState(enabledCalculatorIds[0]);
26
- const enabledCalculators = react.useMemo(() => {
25
+ const [activeCalculatorId, setActiveCalculatorId] = React.useState(enabledCalculatorIds[0]);
26
+ const enabledCalculators = React.useMemo(() => {
27
27
  return Object.entries(ResourceCalculator_constants.RESOURCE_CALCULATORS).filter(([key]) => enabledCalculatorIds.includes(key)).map(([, value]) => value);
28
28
  }, [enabledCalculatorIds]);
29
- const handleCalculatorSelect = react.useCallback(calculatorId => {
29
+ const handleCalculatorSelect = React.useCallback(calculatorId => {
30
30
  setActiveCalculatorId(calculatorId);
31
31
  }, [setActiveCalculatorId]);
32
- const activeCalculatorLayout = react.useMemo(() => {
32
+ const activeCalculatorLayout = React.useMemo(() => {
33
33
  switch (activeCalculatorId) {
34
34
  case ResourceCalculator_types.CalculatorId.ComputeResourceCalculator:
35
35
  return /* @__PURE__ */jsxRuntime.jsx(ComputeResourceCalculator.ComputeResourceCalculator, {
@@ -39,7 +39,7 @@ const ResourceCalculatorV1 = ({
39
39
  return /* @__PURE__ */jsxRuntime.jsx(PoeCalculator.PoeCalculator, {});
40
40
  }
41
41
  }, [activeCalculatorId, defaultActiveDeviceId]);
42
- const calculatorSelectProps = react.useMemo(() => {
42
+ const calculatorSelectProps = React.useMemo(() => {
43
43
  return {
44
44
  activeId: activeCalculatorId.toString(),
45
45
  items: enabledCalculators.map(calculator => ({
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var ReverseLoopingVideo_styles = require('./ReverseLoopingVideo.styles.js');
6
6
  "use strict";
7
7
  const RESET_STEP_MS = 20;
@@ -10,8 +10,8 @@ const ReverseLoopingVideo = ({
10
10
  poster,
11
11
  playing
12
12
  }) => {
13
- const animationFrame = react.useRef(0);
14
- const resetCurrentTime = react.useCallback(el => {
13
+ const animationFrame = React.useRef(0);
14
+ const resetCurrentTime = React.useCallback(el => {
15
15
  if (playing || !el.currentTime) return;
16
16
  if (el.currentTime >= el.duration) {
17
17
  el.currentTime = 0;
@@ -26,8 +26,8 @@ const ReverseLoopingVideo = ({
26
26
  }
27
27
  });
28
28
  }, [playing]);
29
- const videoRef = react.useRef(null);
30
- react.useEffect(() => {
29
+ const videoRef = React.useRef(null);
30
+ React.useEffect(() => {
31
31
  const el = videoRef.current;
32
32
  if (!el) return;
33
33
  if (playing) {