@ubnt/store.core 9.9.0-alpha.13 → 9.9.0-alpha.3

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 (484) hide show
  1. package/CHANGELOG.md +2226 -371
  2. package/lib/assets/arrow-left-right.svg +3 -0
  3. package/lib/assets/efg.png +0 -0
  4. package/lib/assets/firewall.svg +12 -0
  5. package/lib/assets/globe-shield.svg +3 -0
  6. package/lib/assets/icon-location.svg +5 -0
  7. package/lib/assets/icons/menu/icon-location.svg.js +27 -0
  8. package/lib/assets/icons/menu/icon-location.svg.js.map +1 -0
  9. package/lib/assets/icons/menu/icon-location.svg.mjs +3 -0
  10. package/lib/assets/icons/menu/icon-location.svg.mjs.map +1 -0
  11. package/lib/assets/keylock.svg +3 -0
  12. package/lib/assets/magnifying-glass.svg +10 -0
  13. package/lib/assets/minus4.svg +8 -8
  14. package/lib/assets/minus5.svg +8 -8
  15. package/lib/assets/plus5.svg +9 -9
  16. package/lib/assets/plus6.svg +9 -9
  17. package/lib/assets/sfpAndCable.svg +9 -0
  18. package/lib/assets/ucg-max.png +0 -0
  19. package/lib/assets/udmPro.jpg +0 -0
  20. package/lib/assets/udmPro2.jpg +0 -0
  21. package/lib/assets/udmProMax.jpg +0 -0
  22. package/lib/assets/udmProMax2.jpg +0 -0
  23. package/lib/assets/udmProSpecial.jpg +0 -0
  24. package/lib/assets/udmProSpecial2.jpg +0 -0
  25. package/lib/components/Container/Container.styles.js +2 -0
  26. package/lib/components/Container/Container.styles.js.map +1 -1
  27. package/lib/components/Container/Container.styles.mjs +2 -0
  28. package/lib/components/Container/Container.styles.mjs.map +1 -1
  29. package/lib/components/Container/Container.types.d.ts +1 -1
  30. package/lib/components/Explore/Explore.js +1 -1
  31. package/lib/components/Explore/Explore.js.map +1 -1
  32. package/lib/components/Explore/Explore.mjs +1 -1
  33. package/lib/components/Explore/Explore.mjs.map +1 -1
  34. package/lib/components/Footer/Footer.d.ts +1 -1
  35. package/lib/components/Footer/Footer.js +164 -133
  36. package/lib/components/Footer/Footer.js.map +1 -1
  37. package/lib/components/Footer/Footer.mjs +166 -133
  38. package/lib/components/Footer/Footer.mjs.map +1 -1
  39. package/lib/components/Footer/Footer.styles.d.ts +3 -7
  40. package/lib/components/Footer/Footer.styles.js +45 -61
  41. package/lib/components/Footer/Footer.styles.js.map +1 -1
  42. package/lib/components/Footer/Footer.styles.mjs +46 -59
  43. package/lib/components/Footer/Footer.styles.mjs.map +1 -1
  44. package/lib/components/Footer/Footer.types.d.ts +4 -2
  45. package/lib/components/Footer/Footer.types.js.map +1 -1
  46. package/lib/components/Footer/Footer.types.mjs.map +1 -1
  47. package/lib/components/Footer/hooks/useFooterContent.d.ts +22 -10
  48. package/lib/components/Footer/hooks/useFooterContent.js +53 -57
  49. package/lib/components/Footer/hooks/useFooterContent.js.map +1 -1
  50. package/lib/components/Footer/hooks/useFooterContent.mjs +51 -55
  51. package/lib/components/Footer/hooks/useFooterContent.mjs.map +1 -1
  52. package/lib/components/Footer/translations/ar.json.js +7 -8
  53. package/lib/components/Footer/translations/ar.json.js.map +1 -1
  54. package/lib/components/Footer/translations/ar.json.mjs +7 -8
  55. package/lib/components/Footer/translations/ar.json.mjs.map +1 -1
  56. package/lib/components/Footer/translations/de.json.js +9 -10
  57. package/lib/components/Footer/translations/de.json.js.map +1 -1
  58. package/lib/components/Footer/translations/de.json.mjs +9 -10
  59. package/lib/components/Footer/translations/de.json.mjs.map +1 -1
  60. package/lib/components/Footer/translations/el.json.js +7 -8
  61. package/lib/components/Footer/translations/el.json.js.map +1 -1
  62. package/lib/components/Footer/translations/el.json.mjs +7 -8
  63. package/lib/components/Footer/translations/el.json.mjs.map +1 -1
  64. package/lib/components/Footer/translations/en.json.js +11 -11
  65. package/lib/components/Footer/translations/en.json.mjs +11 -11
  66. package/lib/components/Footer/translations/es.json.js +7 -8
  67. package/lib/components/Footer/translations/es.json.js.map +1 -1
  68. package/lib/components/Footer/translations/es.json.mjs +7 -8
  69. package/lib/components/Footer/translations/es.json.mjs.map +1 -1
  70. package/lib/components/Footer/translations/fr.json.js +10 -11
  71. package/lib/components/Footer/translations/fr.json.js.map +1 -1
  72. package/lib/components/Footer/translations/fr.json.mjs +10 -11
  73. package/lib/components/Footer/translations/fr.json.mjs.map +1 -1
  74. package/lib/components/Footer/translations/it.json.js +20 -21
  75. package/lib/components/Footer/translations/it.json.js.map +1 -1
  76. package/lib/components/Footer/translations/it.json.mjs +20 -21
  77. package/lib/components/Footer/translations/it.json.mjs.map +1 -1
  78. package/lib/components/Footer/translations/ja.json.js +7 -8
  79. package/lib/components/Footer/translations/ja.json.js.map +1 -1
  80. package/lib/components/Footer/translations/ja.json.mjs +7 -8
  81. package/lib/components/Footer/translations/ja.json.mjs.map +1 -1
  82. package/lib/components/Footer/translations/pt-BR.json.js +7 -8
  83. package/lib/components/Footer/translations/pt-BR.json.js.map +1 -1
  84. package/lib/components/Footer/translations/pt-BR.json.mjs +7 -8
  85. package/lib/components/Footer/translations/pt-BR.json.mjs.map +1 -1
  86. package/lib/components/Footer/translations/zh-Hans.json.js +7 -8
  87. package/lib/components/Footer/translations/zh-Hans.json.js.map +1 -1
  88. package/lib/components/Footer/translations/zh-Hans.json.mjs +7 -8
  89. package/lib/components/Footer/translations/zh-Hans.json.mjs.map +1 -1
  90. package/lib/components/Header/AccountMenu/AccountMenu.js +3 -5
  91. package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
  92. package/lib/components/Header/AccountMenu/AccountMenu.mjs +4 -6
  93. package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
  94. package/lib/components/Header/Header.js +8 -1
  95. package/lib/components/Header/Header.js.map +1 -1
  96. package/lib/components/Header/Header.mjs +8 -1
  97. package/lib/components/Header/Header.mjs.map +1 -1
  98. package/lib/components/Header/Header.styles.js +4 -0
  99. package/lib/components/Header/Header.styles.js.map +1 -1
  100. package/lib/components/Header/Header.styles.mjs +4 -0
  101. package/lib/components/Header/Header.styles.mjs.map +1 -1
  102. package/lib/components/Header/Header.types.d.ts +3 -1
  103. package/lib/components/Header/Header.types.js +3 -1
  104. package/lib/components/Header/Header.types.js.map +1 -1
  105. package/lib/components/Header/Header.types.mjs +3 -1
  106. package/lib/components/Header/Header.types.mjs.map +1 -1
  107. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +8 -5
  108. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js.map +1 -1
  109. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs +8 -5
  110. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs.map +1 -1
  111. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
  112. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +12 -21
  113. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
  114. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs +12 -21
  115. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs.map +1 -1
  116. package/lib/components/Header/Navigation/MicrositeMenu/mapping.d.ts +7 -1
  117. package/lib/components/Header/Navigation/MicrositeMenu/mapping.js +32 -23
  118. package/lib/components/Header/Navigation/MicrositeMenu/mapping.js.map +1 -1
  119. package/lib/components/Header/Navigation/MicrositeMenu/mapping.mjs +32 -23
  120. package/lib/components/Header/Navigation/MicrositeMenu/mapping.mjs.map +1 -1
  121. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +1 -1
  122. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
  123. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +1 -1
  124. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
  125. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +1 -0
  126. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js +4 -0
  127. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
  128. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs +4 -1
  129. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs.map +1 -1
  130. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +65 -55
  131. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
  132. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +65 -55
  133. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
  134. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +3 -1
  135. package/lib/components/Header/ProHeader/ProHeader.js +67 -50
  136. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  137. package/lib/components/Header/ProHeader/ProHeader.mjs +67 -50
  138. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  139. package/lib/components/Header/translations/ar.json.js +34 -37
  140. package/lib/components/Header/translations/ar.json.js.map +1 -1
  141. package/lib/components/Header/translations/ar.json.mjs +35 -37
  142. package/lib/components/Header/translations/ar.json.mjs.map +1 -1
  143. package/lib/components/Header/translations/de.json.js +34 -37
  144. package/lib/components/Header/translations/de.json.js.map +1 -1
  145. package/lib/components/Header/translations/de.json.mjs +35 -37
  146. package/lib/components/Header/translations/de.json.mjs.map +1 -1
  147. package/lib/components/Header/translations/el.json.js +34 -37
  148. package/lib/components/Header/translations/el.json.js.map +1 -1
  149. package/lib/components/Header/translations/el.json.mjs +35 -37
  150. package/lib/components/Header/translations/el.json.mjs.map +1 -1
  151. package/lib/components/Header/translations/en.json.js +4 -3
  152. package/lib/components/Header/translations/en.json.js.map +1 -1
  153. package/lib/components/Header/translations/en.json.mjs +4 -3
  154. package/lib/components/Header/translations/en.json.mjs.map +1 -1
  155. package/lib/components/Header/translations/es.json.js +34 -37
  156. package/lib/components/Header/translations/es.json.js.map +1 -1
  157. package/lib/components/Header/translations/es.json.mjs +35 -37
  158. package/lib/components/Header/translations/es.json.mjs.map +1 -1
  159. package/lib/components/Header/translations/fr.json.js +35 -38
  160. package/lib/components/Header/translations/fr.json.js.map +1 -1
  161. package/lib/components/Header/translations/fr.json.mjs +36 -38
  162. package/lib/components/Header/translations/fr.json.mjs.map +1 -1
  163. package/lib/components/Header/translations/it.json.js +34 -37
  164. package/lib/components/Header/translations/it.json.js.map +1 -1
  165. package/lib/components/Header/translations/it.json.mjs +35 -37
  166. package/lib/components/Header/translations/it.json.mjs.map +1 -1
  167. package/lib/components/Header/translations/ja.json.js +34 -37
  168. package/lib/components/Header/translations/ja.json.js.map +1 -1
  169. package/lib/components/Header/translations/ja.json.mjs +35 -37
  170. package/lib/components/Header/translations/ja.json.mjs.map +1 -1
  171. package/lib/components/Header/translations/pt-BR.json.js +34 -37
  172. package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
  173. package/lib/components/Header/translations/pt-BR.json.mjs +35 -37
  174. package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
  175. package/lib/components/Header/translations/zh-Hans.json.js +34 -37
  176. package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
  177. package/lib/components/Header/translations/zh-Hans.json.mjs +35 -37
  178. package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
  179. package/lib/components/Header/translations/zh-Hant-TW.json.js +34 -37
  180. package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
  181. package/lib/components/Header/translations/zh-Hant-TW.json.mjs +35 -37
  182. package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
  183. package/lib/components/LayoutRenderer/LayoutRenderer.types.d.ts +2 -0
  184. package/lib/components/LayoutRenderer/LayoutRenderer.types.js.map +1 -1
  185. package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs.map +1 -1
  186. package/lib/components/MicrositeHero/MicrositeHero.d.ts +1 -1
  187. package/lib/components/MicrositeHero/MicrositeHero.js +13 -3
  188. package/lib/components/MicrositeHero/MicrositeHero.js.map +1 -1
  189. package/lib/components/MicrositeHero/MicrositeHero.mjs +14 -4
  190. package/lib/components/MicrositeHero/MicrositeHero.mjs.map +1 -1
  191. package/lib/components/MicrositeHero/MicrositeHero.types.d.ts +1 -0
  192. package/lib/components/MicrositeHero/MicrositeHero.types.js.map +1 -1
  193. package/lib/components/MicrositeHero/MicrositeHero.types.mjs.map +1 -1
  194. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +59 -40
  195. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js.map +1 -1
  196. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.mjs +61 -42
  197. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.mjs.map +1 -1
  198. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.d.ts +15 -0
  199. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js +35 -6
  200. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js.map +1 -1
  201. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs +35 -7
  202. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs.map +1 -1
  203. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.types.d.ts +9 -0
  204. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.types.js.map +1 -1
  205. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.types.mjs.map +1 -1
  206. package/lib/components/MicrositeMediaGrid/components/MobileItem.d.ts +14 -0
  207. package/lib/components/MicrositeMediaGrid/components/MobileItem.js +60 -0
  208. package/lib/components/MicrositeMediaGrid/components/MobileItem.js.map +1 -0
  209. package/lib/components/MicrositeMediaGrid/components/MobileItem.mjs +58 -0
  210. package/lib/components/MicrositeMediaGrid/components/MobileItem.mjs.map +1 -0
  211. package/lib/components/Microsites/MicrositeProductPage.js +2 -1
  212. package/lib/components/Microsites/MicrositeProductPage.js.map +1 -1
  213. package/lib/components/Microsites/MicrositeProductPage.mjs +2 -1
  214. package/lib/components/Microsites/MicrositeProductPage.mjs.map +1 -1
  215. package/lib/components/Microsites/Microsites.types.d.ts +3 -1
  216. package/lib/components/Microsites/Microsites.types.js.map +1 -1
  217. package/lib/components/Microsites/Microsites.types.mjs.map +1 -1
  218. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +1 -0
  219. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
  220. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs +1 -0
  221. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs.map +1 -1
  222. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +21 -9
  223. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
  224. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
  225. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  226. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  227. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  228. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  229. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
  230. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
  231. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  232. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  233. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  234. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  235. package/lib/{assets/icons/menu/icon-globe.svg.js → components/ModelCompareV3/assets/arrow-left-right.svg.js} +6 -6
  236. package/lib/components/ModelCompareV3/assets/arrow-left-right.svg.js.map +1 -0
  237. package/lib/components/ModelCompareV3/assets/arrow-left-right.svg.mjs +3 -0
  238. package/lib/components/ModelCompareV3/assets/arrow-left-right.svg.mjs.map +1 -0
  239. package/lib/components/ModelCompareV3/assets/{packets.svg.js → firewall.svg.js} +2 -2
  240. package/lib/components/ModelCompareV3/assets/firewall.svg.js.map +1 -0
  241. package/lib/components/ModelCompareV3/assets/firewall.svg.mjs +3 -0
  242. package/lib/components/ModelCompareV3/assets/firewall.svg.mjs.map +1 -0
  243. package/lib/components/ModelCompareV3/assets/globe-shield.svg.js +27 -0
  244. package/lib/components/ModelCompareV3/assets/globe-shield.svg.js.map +1 -0
  245. package/lib/components/ModelCompareV3/assets/globe-shield.svg.mjs +3 -0
  246. package/lib/components/ModelCompareV3/assets/globe-shield.svg.mjs.map +1 -0
  247. package/lib/components/ModelCompareV3/assets/{clock.svg.js → keylock.svg.js} +2 -2
  248. package/lib/components/ModelCompareV3/assets/keylock.svg.js.map +1 -0
  249. package/lib/components/ModelCompareV3/assets/keylock.svg.mjs +3 -0
  250. package/lib/components/ModelCompareV3/assets/keylock.svg.mjs.map +1 -0
  251. package/lib/components/ModelCompareV3/assets/magnifying-glass.svg.js +27 -0
  252. package/lib/components/ModelCompareV3/assets/magnifying-glass.svg.js.map +1 -0
  253. package/lib/components/ModelCompareV3/assets/magnifying-glass.svg.mjs +3 -0
  254. package/lib/components/ModelCompareV3/assets/magnifying-glass.svg.mjs.map +1 -0
  255. package/lib/components/ModelCompareV3/data/CloudGateways.js +16 -16
  256. package/lib/components/ModelCompareV3/data/CloudGateways.js.map +1 -1
  257. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +12 -12
  258. package/lib/components/ModelCompareV3/data/CloudGateways.mjs.map +1 -1
  259. package/lib/components/ModelCompareV3/data/index.d.ts +18 -17
  260. package/lib/components/ModelCompareV3/data/index.js +37 -34
  261. package/lib/components/ModelCompareV3/data/index.js.map +1 -1
  262. package/lib/components/ModelCompareV3/data/index.mjs +37 -34
  263. package/lib/components/ModelCompareV3/data/index.mjs.map +1 -1
  264. package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.d.ts +2 -0
  265. package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.js +89 -0
  266. package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.js.map +1 -0
  267. package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.mjs +81 -0
  268. package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.mjs.map +1 -0
  269. package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.d.ts +2 -0
  270. package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.js +90 -0
  271. package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.js.map +1 -0
  272. package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.mjs +82 -0
  273. package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.mjs.map +1 -0
  274. package/lib/components/ModelCompareV3/data/products/udm.d.ts +2 -0
  275. package/lib/components/ModelCompareV3/data/products/udm.js +89 -0
  276. package/lib/components/ModelCompareV3/data/products/udm.js.map +1 -0
  277. package/lib/components/ModelCompareV3/data/products/udm.mjs +81 -0
  278. package/lib/components/ModelCompareV3/data/products/udm.mjs.map +1 -0
  279. package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
  280. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
  281. package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
  282. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
  283. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
  284. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
  285. package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.d.ts +2 -0
  286. package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.js +18 -0
  287. package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.js.map +1 -0
  288. package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.mjs +10 -0
  289. package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.mjs.map +1 -0
  290. package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.d.ts +2 -0
  291. package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.js +18 -0
  292. package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.js.map +1 -0
  293. package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.mjs +10 -0
  294. package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.mjs.map +1 -0
  295. package/lib/components/ModelCompareV3/data/properties/ipsThroughput.d.ts +2 -0
  296. package/lib/components/ModelCompareV3/data/properties/ipsThroughput.js +18 -0
  297. package/lib/components/ModelCompareV3/data/properties/ipsThroughput.js.map +1 -0
  298. package/lib/components/ModelCompareV3/data/properties/ipsThroughput.mjs +10 -0
  299. package/lib/components/ModelCompareV3/data/properties/ipsThroughput.mjs.map +1 -0
  300. package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.d.ts +2 -0
  301. package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.js +18 -0
  302. package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.js.map +1 -0
  303. package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.mjs +10 -0
  304. package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.mjs.map +1 -0
  305. package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.d.ts +2 -0
  306. package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.js +18 -0
  307. package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.js.map +1 -0
  308. package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.mjs +10 -0
  309. package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.mjs.map +1 -0
  310. package/lib/components/ModelCompareV3/data/properties/routingThroughput.d.ts +2 -0
  311. package/lib/components/ModelCompareV3/data/properties/routingThroughput.js +18 -0
  312. package/lib/components/ModelCompareV3/data/properties/routingThroughput.js.map +1 -0
  313. package/lib/components/ModelCompareV3/data/properties/routingThroughput.mjs +10 -0
  314. package/lib/components/ModelCompareV3/data/properties/routingThroughput.mjs.map +1 -0
  315. package/lib/components/ModelCompareV3/data/properties/sslInspection.d.ts +2 -0
  316. package/lib/components/ModelCompareV3/data/properties/sslInspection.js +18 -0
  317. package/lib/components/ModelCompareV3/data/properties/sslInspection.js.map +1 -0
  318. package/lib/components/ModelCompareV3/data/properties/sslInspection.mjs +10 -0
  319. package/lib/components/ModelCompareV3/data/properties/sslInspection.mjs.map +1 -0
  320. package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.d.ts +2 -0
  321. package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.js +18 -0
  322. package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.js.map +1 -0
  323. package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.mjs +10 -0
  324. package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.mjs.map +1 -0
  325. package/lib/components/ModelCompareV3/data/properties/swivelLatency.js +2 -2
  326. package/lib/components/ModelCompareV3/data/properties/swivelLatency.js.map +1 -1
  327. package/lib/components/ModelCompareV3/data/properties/swivelLatency.mjs +2 -2
  328. package/lib/components/ModelCompareV3/data/properties/swivelLatency.mjs.map +1 -1
  329. package/lib/components/ModelCompareV3/data/properties/swivelPackets.js +2 -2
  330. package/lib/components/ModelCompareV3/data/properties/swivelPackets.js.map +1 -1
  331. package/lib/components/ModelCompareV3/data/properties/swivelPackets.mjs +2 -2
  332. package/lib/components/ModelCompareV3/data/properties/swivelPackets.mjs.map +1 -1
  333. package/lib/components/ModelCompareV3/data/properties/swivelSpectralEfficiency.js +2 -2
  334. package/lib/components/ModelCompareV3/data/properties/swivelSpectralEfficiency.js.map +1 -1
  335. package/lib/components/ModelCompareV3/data/properties/swivelSpectralEfficiency.mjs +2 -2
  336. package/lib/components/ModelCompareV3/data/properties/swivelSpectralEfficiency.mjs.map +1 -1
  337. package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.d.ts +2 -0
  338. package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.js +18 -0
  339. package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.js.map +1 -0
  340. package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.mjs +10 -0
  341. package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.mjs.map +1 -0
  342. package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.d.ts +2 -0
  343. package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.js +26 -0
  344. package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.js.map +1 -0
  345. package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.mjs +24 -0
  346. package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.mjs.map +1 -0
  347. package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare2.d.ts +1 -0
  348. package/lib/components/ModelCompareV3/translations/en.json.js +27 -1
  349. package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
  350. package/lib/components/ModelCompareV3/translations/en.json.mjs +27 -1
  351. package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
  352. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  353. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +312 -21
  354. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
  355. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +310 -21
  356. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
  357. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +38 -22
  358. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js.map +1 -1
  359. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.mjs +38 -22
  360. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.mjs.map +1 -1
  361. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +10 -2
  362. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +2 -0
  363. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
  364. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +2 -0
  365. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
  366. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.d.ts +1 -1
  367. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js +5 -4
  368. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js.map +1 -1
  369. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.mjs +5 -4
  370. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.mjs.map +1 -1
  371. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
  372. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  373. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  374. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  375. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  376. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  377. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +1 -1
  378. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js.map +1 -1
  379. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs +1 -1
  380. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs.map +1 -1
  381. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +3 -3
  382. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js.map +1 -1
  383. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +4 -4
  384. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs.map +1 -1
  385. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  386. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  387. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  388. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  389. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js +27 -0
  390. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js.map +1 -0
  391. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs +3 -0
  392. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs.map +1 -0
  393. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js +27 -0
  394. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js.map +1 -0
  395. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs +3 -0
  396. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs.map +1 -0
  397. package/lib/components/ResourceCalculatorV1/translations/en.json.js +4 -1
  398. package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
  399. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +4 -1
  400. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
  401. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  402. package/lib/components/ScrollWrapper/ScrollWrapper.js +6 -7
  403. package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
  404. package/lib/components/ScrollWrapper/ScrollWrapper.mjs +6 -7
  405. package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
  406. package/lib/components/VariantSelector/Variant/Variant.js +33 -29
  407. package/lib/components/VariantSelector/Variant/Variant.js.map +1 -1
  408. package/lib/components/VariantSelector/Variant/Variant.mjs +34 -30
  409. package/lib/components/VariantSelector/Variant/Variant.mjs.map +1 -1
  410. package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +2 -0
  411. package/lib/components/VariantSelector/Variant/Variant.styles.js +20 -1
  412. package/lib/components/VariantSelector/Variant/Variant.styles.js.map +1 -1
  413. package/lib/components/VariantSelector/Variant/Variant.styles.mjs +19 -2
  414. package/lib/components/VariantSelector/Variant/Variant.styles.mjs.map +1 -1
  415. package/lib/components/VariantSelector/VariantSelector.constants.d.ts +1 -0
  416. package/lib/components/VariantSelector/VariantSelector.constants.js +1 -0
  417. package/lib/components/VariantSelector/VariantSelector.constants.js.map +1 -1
  418. package/lib/components/VariantSelector/VariantSelector.constants.mjs +1 -0
  419. package/lib/components/VariantSelector/VariantSelector.constants.mjs.map +1 -1
  420. package/lib/constants/icons/menu/index.d.ts +2 -1
  421. package/lib/constants/icons/menu/index.js +18 -9
  422. package/lib/constants/icons/menu/index.js.map +1 -1
  423. package/lib/constants/icons/menu/index.mjs +4 -2
  424. package/lib/constants/icons/menu/index.mjs.map +1 -1
  425. package/lib/constants/icons/menu/sfpAndCable.svg.js +27 -0
  426. package/lib/constants/icons/menu/sfpAndCable.svg.js.map +1 -0
  427. package/lib/constants/icons/menu/sfpAndCable.svg.mjs +3 -0
  428. package/lib/constants/icons/menu/sfpAndCable.svg.mjs.map +1 -0
  429. package/lib/constants/icons/options/colors/black.svg.js +5 -5
  430. package/lib/constants/icons/options/colors/index.js +3 -3
  431. package/lib/constants/icons/options/styles/black.svg.js +5 -5
  432. package/lib/constants/icons/options/styles/index.js +3 -3
  433. package/lib/constants/layout.d.ts +1 -0
  434. package/lib/constants/layout.js +3 -1
  435. package/lib/constants/layout.js.map +1 -1
  436. package/lib/constants/layout.mjs +3 -1
  437. package/lib/constants/layout.mjs.map +1 -1
  438. package/lib/constants/optionIcons.js +6 -6
  439. package/lib/constants/optionIcons.mjs +4 -4
  440. package/lib/constants/proStoreCategories/mapping/index.d.ts +1 -0
  441. package/lib/constants/proStoreCategories/mapping/index.js +1 -1
  442. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  443. package/lib/constants/proStoreCategories/mapping/index.mjs +1 -1
  444. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  445. package/lib/constants/proStoreCategories/translations/ar.json.js +2 -2
  446. package/lib/constants/proStoreCategories/translations/ar.json.mjs +2 -2
  447. package/lib/constants/proStoreCategories/translations/en.json.js +3 -0
  448. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  449. package/lib/constants/proStoreCategories/translations/en.json.mjs +3 -1
  450. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  451. package/lib/constants/proStoreCategories/translations/fr.json.js +1 -1
  452. package/lib/constants/proStoreCategories/translations/fr.json.mjs +1 -1
  453. package/lib/constants/proStoreCategories/translations/ja.json.js +2 -2
  454. package/lib/constants/proStoreCategories/translations/ja.json.mjs +2 -2
  455. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +1 -1
  456. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +1 -1
  457. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +1 -1
  458. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +1 -1
  459. package/lib/constants/url.d.ts +1 -1
  460. package/lib/constants/url.js +1 -1
  461. package/lib/constants/url.js.map +1 -1
  462. package/lib/constants/url.mjs +1 -1
  463. package/lib/constants/url.mjs.map +1 -1
  464. package/lib/contexts/MenuContext/mapping.js +45 -41
  465. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  466. package/lib/contexts/MenuContext/mapping.mjs +43 -40
  467. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  468. package/lib/utils/address.d.ts +61 -61
  469. package/package.json +52 -52
  470. package/lib/assets/clock.svg +0 -4
  471. package/lib/assets/icons/menu/icon-globe.svg.js.map +0 -1
  472. package/lib/assets/icons/menu/icon-globe.svg.mjs +0 -3
  473. package/lib/assets/icons/menu/icon-globe.svg.mjs.map +0 -1
  474. package/lib/assets/packets.svg +0 -3
  475. package/lib/components/Footer/translations/zh-Hant-TW.json.js +0 -47
  476. package/lib/components/Footer/translations/zh-Hant-TW.json.js.map +0 -1
  477. package/lib/components/Footer/translations/zh-Hant-TW.json.mjs +0 -42
  478. package/lib/components/Footer/translations/zh-Hant-TW.json.mjs.map +0 -1
  479. package/lib/components/ModelCompareV3/assets/clock.svg.js.map +0 -1
  480. package/lib/components/ModelCompareV3/assets/clock.svg.mjs +0 -3
  481. package/lib/components/ModelCompareV3/assets/clock.svg.mjs.map +0 -1
  482. package/lib/components/ModelCompareV3/assets/packets.svg.js.map +0 -1
  483. package/lib/components/ModelCompareV3/assets/packets.svg.mjs +0 -3
  484. package/lib/components/ModelCompareV3/assets/packets.svg.mjs.map +0 -1
@@ -3,59 +3,56 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var Close = "关闭";
7
- var Compact = "紧凑型";
8
- var Downloads = "下载";
9
6
  var Introduction = "介绍";
10
- var Links = "链接";
11
- var New = "新";
12
- var Store = "商城";
13
- var Support = "技术支持";
7
+ var wifi = "WiFi";
8
+ var switching = "交换机";
14
9
  var accessories = "配件技术";
15
10
  var amplifi = "AmpliFi";
11
+ var wireless = "无线";
16
12
  var fiber = "Fiber";
17
- var switching = "交换机";
18
- var wifi = "WiFi";
19
13
  var wired = "有线";
20
- var wireless = "无线";
14
+ var Support = "技术支持";
15
+ var Store = "商城";
16
+ var Close = "关闭";
17
+ var New = "新";
18
+ var Links = "链接";
19
+ var Compact = "紧凑型";
21
20
  var zhHans = {
22
- "60ghz-wireless": "60 GHz 无线",
23
- Close: Close,
24
- Compact: Compact,
25
- "Design Center": "设计中心",
26
- Downloads: Downloads,
27
- "How it Works": "如何运行",
28
21
  Introduction: Introduction,
29
- "Large Project Assistance": "大型项目支持",
30
- "Large Scale": "大规模",
31
- Links: Links,
32
- New: New,
33
- "New 6 GHz": "新的6 GHz",
34
- "Professional Support": "专家支持",
35
- Store: Store,
36
- Support: Support,
37
- "UISP Carrier Platform": "UISP 运营商平台",
22
+ "How it Works": "如何运行",
38
23
  "What's New": "新品介绍",
39
- "WiFi Integrated": "WiFi集成",
40
- accessories: accessories,
41
- amplifi: amplifi,
42
- "camera-security": "监控摄像",
24
+ "Design Center": "设计中心",
25
+ "UISP Carrier Platform": "UISP 运营商平台",
26
+ "Professional Support": "专家支持",
27
+ "Large Project Assistance": "大型项目支持",
43
28
  "cloud-gateways": "云网关主机",
29
+ wifi: wifi,
30
+ switching: switching,
31
+ "camera-security": "监控摄像",
44
32
  "door-access": "门禁",
45
- fiber: fiber,
46
- "large-deployment-assistance": "大规模部署援助",
47
33
  "new-integrations": "新品集成",
48
- switching: switching,
49
- "uisp-accessory-tech": "配件技术",
50
- "uisp-software": "UISP 概述",
34
+ accessories: accessories,
51
35
  "unifi-identity": "Identity",
52
- wifi: wifi,
36
+ amplifi: amplifi,
37
+ "60ghz-wireless": "60 GHz 无线",
38
+ wireless: wireless,
39
+ fiber: fiber,
53
40
  wired: wired,
54
- wireless: wireless
41
+ "uisp-accessory-tech": "配件技术",
42
+ "uisp-software": "UISP 概述",
43
+ Support: Support,
44
+ Store: Store,
45
+ Close: Close,
46
+ New: New,
47
+ Links: Links,
48
+ "New 6 GHz": "新的6 GHz",
49
+ "large-deployment-assistance": "大规模部署援助",
50
+ "Large Scale": "大规模",
51
+ Compact: Compact,
52
+ "WiFi Integrated": "WiFi集成"
55
53
  };
56
54
  exports.Close = Close;
57
55
  exports.Compact = Compact;
58
- exports.Downloads = Downloads;
59
56
  exports.Introduction = Introduction;
60
57
  exports.Links = Links;
61
58
  exports.New = New;
@@ -1 +1 @@
1
- {"version":3,"file":"zh-Hans.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"zh-Hans.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,52 +1,50 @@
1
- var Close = "关闭";
2
- var Compact = "紧凑型";
3
- var Downloads = "下载";
4
1
  var Introduction = "介绍";
5
- var Links = "链接";
6
- var New = "新";
7
- var Store = "商城";
8
- var Support = "技术支持";
2
+ var wifi = "WiFi";
3
+ var switching = "交换机";
9
4
  var accessories = "配件技术";
10
5
  var amplifi = "AmpliFi";
6
+ var wireless = "无线";
11
7
  var fiber = "Fiber";
12
- var switching = "交换机";
13
- var wifi = "WiFi";
14
8
  var wired = "有线";
15
- var wireless = "无线";
9
+ var Support = "技术支持";
10
+ var Store = "商城";
11
+ var Close = "关闭";
12
+ var New = "新";
13
+ var Links = "链接";
14
+ var Compact = "紧凑型";
16
15
  var zhHans = {
17
- "60ghz-wireless": "60 GHz 无线",
18
- Close: Close,
19
- Compact: Compact,
20
- "Design Center": "设计中心",
21
- Downloads: Downloads,
22
- "How it Works": "如何运行",
23
16
  Introduction: Introduction,
24
- "Large Project Assistance": "大型项目支持",
25
- "Large Scale": "大规模",
26
- Links: Links,
27
- New: New,
28
- "New 6 GHz": "新的6 GHz",
29
- "Professional Support": "专家支持",
30
- Store: Store,
31
- Support: Support,
32
- "UISP Carrier Platform": "UISP 运营商平台",
17
+ "How it Works": "如何运行",
33
18
  "What's New": "新品介绍",
34
- "WiFi Integrated": "WiFi集成",
35
- accessories: accessories,
36
- amplifi: amplifi,
37
- "camera-security": "监控摄像",
19
+ "Design Center": "设计中心",
20
+ "UISP Carrier Platform": "UISP 运营商平台",
21
+ "Professional Support": "专家支持",
22
+ "Large Project Assistance": "大型项目支持",
38
23
  "cloud-gateways": "云网关主机",
24
+ wifi: wifi,
25
+ switching: switching,
26
+ "camera-security": "监控摄像",
39
27
  "door-access": "门禁",
40
- fiber: fiber,
41
- "large-deployment-assistance": "大规模部署援助",
42
28
  "new-integrations": "新品集成",
43
- switching: switching,
44
- "uisp-accessory-tech": "配件技术",
45
- "uisp-software": "UISP 概述",
29
+ accessories: accessories,
46
30
  "unifi-identity": "Identity",
47
- wifi: wifi,
31
+ amplifi: amplifi,
32
+ "60ghz-wireless": "60 GHz 无线",
33
+ wireless: wireless,
34
+ fiber: fiber,
48
35
  wired: wired,
49
- wireless: wireless
36
+ "uisp-accessory-tech": "配件技术",
37
+ "uisp-software": "UISP 概述",
38
+ Support: Support,
39
+ Store: Store,
40
+ Close: Close,
41
+ New: New,
42
+ Links: Links,
43
+ "New 6 GHz": "新的6 GHz",
44
+ "large-deployment-assistance": "大规模部署援助",
45
+ "Large Scale": "大规模",
46
+ Compact: Compact,
47
+ "WiFi Integrated": "WiFi集成"
50
48
  };
51
- export { Close, Compact, Downloads, Introduction, Links, New, Store, Support, accessories, amplifi, zhHans as default, fiber, switching, wifi, wired, wireless };
49
+ export { Close, Compact, Introduction, Links, New, Store, Support, accessories, amplifi, zhHans as default, fiber, switching, wifi, wired, wireless };
52
50
  //# sourceMappingURL=zh-Hans.json.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"zh-Hans.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"zh-Hans.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -3,59 +3,56 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var Close = "關閉";
7
- var Compact = "緊湊";
8
- var Downloads = "下載";
9
6
  var Introduction = "介紹";
10
- var Links = "連結";
11
- var New = "新的";
12
- var Store = "商店";
13
- var Support = "支持";
7
+ var wifi = "WiFi";
8
+ var switching = "切換";
14
9
  var accessories = "配件科技";
15
10
  var amplifi = "AmpliFi";
11
+ var wireless = "無線";
16
12
  var fiber = "纖維";
17
- var switching = "切換";
18
- var wifi = "WiFi";
19
13
  var wired = "有線的";
20
- var wireless = "無線";
14
+ var Support = "支持";
15
+ var Store = "商店";
16
+ var Close = "關閉";
17
+ var New = "新的";
18
+ var Links = "連結";
19
+ var Compact = "緊湊";
21
20
  var zhHantTW = {
22
- "60ghz-wireless": "60 GHz 無線",
23
- Close: Close,
24
- Compact: Compact,
25
- "Design Center": "設計中心",
26
- Downloads: Downloads,
27
- "How it Works": "如何運作",
28
21
  Introduction: Introduction,
29
- "Large Project Assistance": "大型專案協助",
30
- "Large Scale": "大規模",
31
- Links: Links,
32
- New: New,
33
- "New 6 GHz": "新的6 GHz",
34
- "Professional Support": "專業支援",
35
- Store: Store,
36
- Support: Support,
37
- "UISP Carrier Platform": "UISP運營商平台",
22
+ "How it Works": "如何運作",
38
23
  "What's New": "有什麼新的?",
39
- "WiFi Integrated": "整合式WiFi",
40
- accessories: accessories,
41
- amplifi: amplifi,
42
- "camera-security": "攝影機安全",
24
+ "Design Center": "設計中心",
25
+ "UISP Carrier Platform": "UISP運營商平台",
26
+ "Professional Support": "專業支援",
27
+ "Large Project Assistance": "大型專案協助",
43
28
  "cloud-gateways": "雲端閘道",
29
+ wifi: wifi,
30
+ switching: switching,
31
+ "camera-security": "攝影機安全",
44
32
  "door-access": "門禁系統",
45
- fiber: fiber,
46
- "large-deployment-assistance": "大型部署協助",
47
33
  "new-integrations": "新的整合",
48
- switching: switching,
49
- "uisp-accessory-tech": "配件科技",
50
- "uisp-software": "UISP概覽",
34
+ accessories: accessories,
51
35
  "unifi-identity": "Identity",
52
- wifi: wifi,
36
+ amplifi: amplifi,
37
+ "60ghz-wireless": "60 GHz 無線",
38
+ wireless: wireless,
39
+ fiber: fiber,
53
40
  wired: wired,
54
- wireless: wireless
41
+ "uisp-accessory-tech": "配件科技",
42
+ "uisp-software": "UISP概覽",
43
+ Support: Support,
44
+ Store: Store,
45
+ Close: Close,
46
+ New: New,
47
+ Links: Links,
48
+ "New 6 GHz": "新的6 GHz",
49
+ "large-deployment-assistance": "大型部署協助",
50
+ "Large Scale": "大規模",
51
+ Compact: Compact,
52
+ "WiFi Integrated": "整合式WiFi"
55
53
  };
56
54
  exports.Close = Close;
57
55
  exports.Compact = Compact;
58
- exports.Downloads = Downloads;
59
56
  exports.Introduction = Introduction;
60
57
  exports.Links = Links;
61
58
  exports.New = New;
@@ -1 +1 @@
1
- {"version":3,"file":"zh-Hant-TW.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"zh-Hant-TW.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,52 +1,50 @@
1
- var Close = "關閉";
2
- var Compact = "緊湊";
3
- var Downloads = "下載";
4
1
  var Introduction = "介紹";
5
- var Links = "連結";
6
- var New = "新的";
7
- var Store = "商店";
8
- var Support = "支持";
2
+ var wifi = "WiFi";
3
+ var switching = "切換";
9
4
  var accessories = "配件科技";
10
5
  var amplifi = "AmpliFi";
6
+ var wireless = "無線";
11
7
  var fiber = "纖維";
12
- var switching = "切換";
13
- var wifi = "WiFi";
14
8
  var wired = "有線的";
15
- var wireless = "無線";
9
+ var Support = "支持";
10
+ var Store = "商店";
11
+ var Close = "關閉";
12
+ var New = "新的";
13
+ var Links = "連結";
14
+ var Compact = "緊湊";
16
15
  var zhHantTW = {
17
- "60ghz-wireless": "60 GHz 無線",
18
- Close: Close,
19
- Compact: Compact,
20
- "Design Center": "設計中心",
21
- Downloads: Downloads,
22
- "How it Works": "如何運作",
23
16
  Introduction: Introduction,
24
- "Large Project Assistance": "大型專案協助",
25
- "Large Scale": "大規模",
26
- Links: Links,
27
- New: New,
28
- "New 6 GHz": "新的6 GHz",
29
- "Professional Support": "專業支援",
30
- Store: Store,
31
- Support: Support,
32
- "UISP Carrier Platform": "UISP運營商平台",
17
+ "How it Works": "如何運作",
33
18
  "What's New": "有什麼新的?",
34
- "WiFi Integrated": "整合式WiFi",
35
- accessories: accessories,
36
- amplifi: amplifi,
37
- "camera-security": "攝影機安全",
19
+ "Design Center": "設計中心",
20
+ "UISP Carrier Platform": "UISP運營商平台",
21
+ "Professional Support": "專業支援",
22
+ "Large Project Assistance": "大型專案協助",
38
23
  "cloud-gateways": "雲端閘道",
24
+ wifi: wifi,
25
+ switching: switching,
26
+ "camera-security": "攝影機安全",
39
27
  "door-access": "門禁系統",
40
- fiber: fiber,
41
- "large-deployment-assistance": "大型部署協助",
42
28
  "new-integrations": "新的整合",
43
- switching: switching,
44
- "uisp-accessory-tech": "配件科技",
45
- "uisp-software": "UISP概覽",
29
+ accessories: accessories,
46
30
  "unifi-identity": "Identity",
47
- wifi: wifi,
31
+ amplifi: amplifi,
32
+ "60ghz-wireless": "60 GHz 無線",
33
+ wireless: wireless,
34
+ fiber: fiber,
48
35
  wired: wired,
49
- wireless: wireless
36
+ "uisp-accessory-tech": "配件科技",
37
+ "uisp-software": "UISP概覽",
38
+ Support: Support,
39
+ Store: Store,
40
+ Close: Close,
41
+ New: New,
42
+ Links: Links,
43
+ "New 6 GHz": "新的6 GHz",
44
+ "large-deployment-assistance": "大型部署協助",
45
+ "Large Scale": "大規模",
46
+ Compact: Compact,
47
+ "WiFi Integrated": "整合式WiFi"
50
48
  };
51
- export { Close, Compact, Downloads, Introduction, Links, New, Store, Support, accessories, amplifi, zhHantTW as default, fiber, switching, wifi, wired, wireless };
49
+ export { Close, Compact, Introduction, Links, New, Store, Support, accessories, amplifi, zhHantTW as default, fiber, switching, wifi, wired, wireless };
52
50
  //# sourceMappingURL=zh-Hant-TW.json.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"zh-Hant-TW.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"zh-Hant-TW.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -124,6 +124,7 @@ export interface LayoutVariant {
124
124
  isLegacy?: boolean;
125
125
  isSubscription?: boolean;
126
126
  isRegionNotAvailable?: boolean;
127
+ isSpecialOffer?: boolean;
127
128
  /**
128
129
  * @FIXME Move away from these tag flags and just feed tag list
129
130
  * and denote the magic tags in store.core. Currently it is done on SF side.
@@ -165,6 +166,7 @@ export interface LayoutVariant {
165
166
  upsellProductTitle?: string;
166
167
  productTitle?: string;
167
168
  overrideShortTitle?: string;
169
+ showNearPrice?: boolean;
168
170
  };
169
171
  productBundleNotes?: string[];
170
172
  compatibleProducts?: VariantCompatibleProduct[];
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutRenderer.types.js","sources":["../../../src/components/LayoutRenderer/LayoutRenderer.types.tsx"],"sourcesContent":["import type { Currency, Nullish } from \"../../types\";\nimport type { Money } from \"../../utils/money\";\nimport type { BuiltFeaturesSectionProps } from \"../BuiltFeaturesSection/BuiltFeaturesSection.types\";\nimport type { SectionTab } from \"../CloserLookSection\";\nimport type { CloserLookSectionProps } from \"../CloserLookSection/CloserLookSection.types\";\nimport type { RecommendedAddonsProps } from \"../CloserLookSection/RecommendedAddons/RecommendedAddons.types\";\nimport type { CompareSectionProps } from \"../CompareSection/CompareSection.types\";\nimport type {\n CustomImageAsset,\n CustomMediaAsset,\n RenderImageProps,\n} from \"../CustomImage/CustomImage.types\";\nimport type { HeroVideoProps } from \"../HeroVideo/HeroVideo.types\";\nimport type { MicrositePageBlocks } from \"../Microsites/Microsites.types\";\nimport type { ProductCardPopupProps } from \"../ProductCardPopup/ProductCardPopup.types\";\nimport type { ProductKeyFeaturesProps } from \"../ProductKeyFeatures/ProductKeyFeatures.types\";\nimport type { ProductSectionNavigationProps } from \"../ProductSectionNavigation/ProductSectionNavigation.types\";\nimport type { ProductUpsellProps } from \"../ProductUpsell/ProductUpsell.types\";\nimport type { ProductWizardProps } from \"../ProductWizard/ProductWizard.types\";\nimport type { RelatedProductsVariantSelectorProps } from \"../RelatedProductsVariantSelector/RelatedProductsVariantSelector.types\";\nimport type { UICareProps } from \"../UICare/UICare.types\";\nimport type { VariantSelectorProps } from \"../VariantSelector/VariantSelector.types\";\n\nexport interface InlineAccessories {\n onOptionSelect: (productId: string, variantId?: string) => void;\n /** Popup */\n activePopupProduct?: Omit<\n ProductCardPopupProps,\n \"translations\" | \"renderImage\" | \"isOpen\"\n >;\n items: {\n productId: string;\n variantId: string;\n image?: CustomMediaAsset;\n title: string;\n description?: string;\n displayPrice: Money;\n isUICare: boolean;\n hasOptions: boolean;\n isSelected?: boolean;\n isDisabled?: boolean;\n handleSelect: (quantity: number) => void;\n }[];\n}\n\nexport type VariantBundleOffer = {\n /**\n * Will set the offer item as selected by default\n */\n preSelect?: boolean;\n /**\n * If set as true, will render \"log in\" case\n */\n requiresLogin?: boolean;\n name: string;\n onLogin: () => void;\n /**\n * Overall customer limit qty\n */\n maxQtyPerCustomer: Nullish<number>;\n /**\n * Actual qty of remaining limit\n */\n remainingRedeemQty: Nullish<number>;\n // ???\n // remainingQuantity: number;\n item: {\n variantId: string;\n shortTitle: string;\n image: CustomImageAsset | undefined;\n onLearnMore?: () => void;\n price: Money;\n };\n};\n\nexport interface VariantCompatibleProduct {\n title: string;\n sku: string;\n url: string;\n image: Nullish<CustomImageAsset>;\n}\n\n/**\n * General product page variant type\n */\nexport interface LayoutVariant {\n id: string;\n /**\n * Since the ID can be SKU, add a definite variant ID\n */\n variantId: string;\n baseSku: string;\n sku: string;\n\n skuExtraLabel?: string;\n\n title: string;\n description?: string;\n callout?: string;\n\n /**\n * Current variant price, before taxes (not prepared for SG store)\n */\n displayPrice: Money;\n\n /**\n * Product \"from\" price, before taxes (not prepared for SG store)\n */\n fromPrice?: Money;\n /**\n * [NEP-2470] Pre-discount price used to add a \"Safe 99.99$\"\n * Price before taxes (not prepared for SG store)\n * @see https://ubiquiti.atlassian.net/browse/NEP-2470\n */\n originalPrice?: Money;\n\n images?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n keyFeatures?: ProductKeyFeaturesProps[\"keyFeatures\"];\n\n currentVariantGalleryIds?: string[];\n\n datasheet?: {\n sku: string;\n html: string;\n };\n\n /**\n * Additional variant IDs/SKUs which are used to determine if\n * the current variant is selected.\n */\n otherIds?: string[];\n /**\n * Currently it is used for adding data-test-id=\"product-card-${slug}\" attribute\n * to product selector. Optional since it is not required in Shopify.\n */\n slug?: string;\n\n /**\n * Flags\n */\n isInStock?: boolean;\n isSoldOut?: boolean;\n isEarlyAccess?: boolean;\n isComingSoon?: boolean;\n isLegacy?: boolean;\n isSubscription?: boolean;\n isRegionNotAvailable?: boolean;\n\n /**\n * @FIXME Move away from these tag flags and just feed tag list\n * and denote the magic tags in store.core. Currently it is done on SF side.\n */\n // Tags\n isTopPerformer?: boolean;\n isBestPricePerformance?: boolean;\n isMostVersatile?: boolean;\n isTopPerformanceHighDensity?: boolean;\n isHighestClientCapacity?: boolean;\n /**\n * (Optional) Indication when product is coming soon when will launch.\n * FIXME: Currently as string currently as `store.storefront` currently manages the parsing of it. Once migrated over\n * to store.storefront we can potentially just pass in a date and generate the copyright here.\n */\n comingSoonDate?: string;\n\n /**\n * Upsell variant\n */\n upsellVariant?: Pick<\n LayoutVariant,\n | \"id\"\n | \"variantId\"\n | \"baseSku\"\n | \"images\"\n | \"title\"\n | \"description\"\n | \"displayPrice\"\n | \"datasheet\"\n | \"isSoldOut\"\n | \"isTopPerformer\"\n | \"isBestPricePerformance\"\n | \"isMostVersatile\"\n | \"isTopPerformanceHighDensity\"\n | \"isHighestClientCapacity\"\n | \"hddTerabytes\"\n | \"campaignDiscount\"\n >;\n /**\n * ! Used only for the upsell variant\n */\n hddTerabytes?: number;\n\n inlineAccessories?: InlineAccessories;\n\n /**\n * Bundled item offer\n */\n bundleOffer?: VariantBundleOffer;\n\n /**\n * Category (Optical and Installation collections)\n */\n category?: SubCategory;\n\n campaignDiscount?: {\n minProductQty: number;\n maxProductQty?: number | null;\n percentageAmount?: number;\n fixedAmountCurrency?: Currency;\n fixedAmountPrice?: number;\n upsellProductTitle?: string;\n productTitle?: string;\n overrideShortTitle?: string;\n };\n\n productBundleNotes?: string[];\n compatibleProducts?: VariantCompatibleProduct[];\n\n shortTitle?: string;\n}\n\nexport interface SubCategory {\n title: string;\n id: string;\n shortDescription?: string;\n items?: SubCategory[];\n isDisabled?: boolean;\n}\n\ninterface Category {\n sectionTitle: string;\n id: string;\n items: SubCategory[];\n}\n\n// TODO use productWizard quantity controls(or rework) and adding to cart (current approach ignores limits)\nexport type OnVariantAddToCartFn = (\n items: Array<{\n variantId: string;\n quantity: number;\n }>,\n) => Promise<void>;\n\nexport const PRODUCT_PAGE = \"product-page\";\n\nexport interface LayoutRendererProps {\n collection?: {\n title?: string;\n descriptionHtml?: string;\n videoUrl?: string;\n images?: CustomMediaAsset[];\n slug?: string;\n };\n currentProduct: {\n id: string;\n title: string;\n shortDescription: string;\n descriptionHtml?: string;\n images?: CustomMediaAsset[];\n showGallery?: boolean;\n datasheet?: {\n sku: string;\n html: string;\n };\n hasUICare?: boolean;\n relatedProductsVariantSelectorProps?: Omit<\n RelatedProductsVariantSelectorProps,\n \"renderImage\" | \"translations\"\n >;\n\n topologyImages?: CustomMediaAsset[];\n deploymentImages?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n inTheBoxImages?: CustomMediaAsset[];\n installationImages?: CustomMediaAsset[];\n performanceImages?: CustomMediaAsset[];\n installationGuide?: {\n name: string;\n url: string;\n };\n glanceAssets?: MicrositePageBlocks[];\n } | null;\n\n productSectionNavigationProps?: ProductSectionNavigationProps;\n\n // onBreadcrumbClick: BreadcrumbsProps[\"onBreadcrumbClick\"];\n variantSelectorProps: Omit<\n VariantSelectorProps,\n | \"activeCategories\"\n | \"categoryChangeHandler\"\n | \"categories\"\n | \"renderImage\"\n | \"translations\"\n | \"collectionSlug\"\n | \"language\"\n >;\n renderImage: (props: RenderImageProps) => React.ReactNode;\n wizardProps: ProductWizardProps;\n uiCareProps?: Omit<UICareProps, \"renderImage\">;\n upsellProps?: Omit<ProductUpsellProps, \"renderImage\">;\n categories?: Category[];\n activeCategories?: string[];\n categoryChangeHandler: (id: string) => void;\n language: string;\n showCookiesConsentOptions: () => void;\n videoNoCookiesConsent: boolean;\n translations: {\n productSpecification?: string;\n\n /** Variant Selector translations */\n variantSelector?: VariantSelectorProps[\"translations\"];\n\n /** Related Products Variant selector translations */\n relatedProductsVariantSelector: RelatedProductsVariantSelectorProps[\"translations\"];\n\n /** For DeploymentGallery component - `title` prop */\n deploymentGalleryTitle: string;\n\n /** For RelatedProducts component - `title` prop */\n // relatedProducts: RelatedProductsProps[\"translations\"];\n\n compareSection: CompareSectionProps[\"translations\"];\n\n topLevelBreadcrumb: string;\n\n closerLookSection?: CloserLookSectionProps[\"translations\"];\n\n builtFeaturesSection: BuiltFeaturesSectionProps[\"translations\"];\n\n specifications: string;\n faqTitle: string;\n completeYourBuild: string;\n technicalSpecifications: string;\n };\n heroVideoProps?: HeroVideoProps;\n\n capacityCalculator: React.ReactNode;\n\n isProStore?: boolean;\n\n recommendedAddonsProps?: RecommendedAddonsProps;\n faq?: CloserLookSectionProps[\"faq\"];\n\n onToggleTechSpec?: (isActive: boolean) => void;\n onTabClick?: (tabId: SectionTab) => void;\n onTabSectionGalleryModalToggle?: (tabId: SectionTab, src: string) => void;\n\n bannerHtml?: CloserLookSectionProps[\"bannerHtml\"];\n}\n"],"names":["PRODUCT_PAGE"],"mappings":";;;AAoPO,MAAMA,YAAe,GAAA,cAAA;"}
1
+ {"version":3,"file":"LayoutRenderer.types.js","sources":["../../../src/components/LayoutRenderer/LayoutRenderer.types.tsx"],"sourcesContent":["import type { Currency, Nullish } from \"../../types\";\nimport type { Money } from \"../../utils/money\";\nimport type { BuiltFeaturesSectionProps } from \"../BuiltFeaturesSection/BuiltFeaturesSection.types\";\nimport type { SectionTab } from \"../CloserLookSection\";\nimport type { CloserLookSectionProps } from \"../CloserLookSection/CloserLookSection.types\";\nimport type { RecommendedAddonsProps } from \"../CloserLookSection/RecommendedAddons/RecommendedAddons.types\";\nimport type { CompareSectionProps } from \"../CompareSection/CompareSection.types\";\nimport type {\n CustomImageAsset,\n CustomMediaAsset,\n RenderImageProps,\n} from \"../CustomImage/CustomImage.types\";\nimport type { HeroVideoProps } from \"../HeroVideo/HeroVideo.types\";\nimport type { MicrositePageBlocks } from \"../Microsites/Microsites.types\";\nimport type { ProductCardPopupProps } from \"../ProductCardPopup/ProductCardPopup.types\";\nimport type { ProductKeyFeaturesProps } from \"../ProductKeyFeatures/ProductKeyFeatures.types\";\nimport type { ProductSectionNavigationProps } from \"../ProductSectionNavigation/ProductSectionNavigation.types\";\nimport type { ProductUpsellProps } from \"../ProductUpsell/ProductUpsell.types\";\nimport type { ProductWizardProps } from \"../ProductWizard/ProductWizard.types\";\nimport type { RelatedProductsVariantSelectorProps } from \"../RelatedProductsVariantSelector/RelatedProductsVariantSelector.types\";\nimport type { UICareProps } from \"../UICare/UICare.types\";\nimport type { VariantSelectorProps } from \"../VariantSelector/VariantSelector.types\";\n\nexport interface InlineAccessories {\n onOptionSelect: (productId: string, variantId?: string) => void;\n /** Popup */\n activePopupProduct?: Omit<\n ProductCardPopupProps,\n \"translations\" | \"renderImage\" | \"isOpen\"\n >;\n items: {\n productId: string;\n variantId: string;\n image?: CustomMediaAsset;\n title: string;\n description?: string;\n displayPrice: Money;\n isUICare: boolean;\n hasOptions: boolean;\n isSelected?: boolean;\n isDisabled?: boolean;\n handleSelect: (quantity: number) => void;\n }[];\n}\n\nexport type VariantBundleOffer = {\n /**\n * Will set the offer item as selected by default\n */\n preSelect?: boolean;\n /**\n * If set as true, will render \"log in\" case\n */\n requiresLogin?: boolean;\n name: string;\n onLogin: () => void;\n /**\n * Overall customer limit qty\n */\n maxQtyPerCustomer: Nullish<number>;\n /**\n * Actual qty of remaining limit\n */\n remainingRedeemQty: Nullish<number>;\n // ???\n // remainingQuantity: number;\n item: {\n variantId: string;\n shortTitle: string;\n image: CustomImageAsset | undefined;\n onLearnMore?: () => void;\n price: Money;\n };\n};\n\nexport interface VariantCompatibleProduct {\n title: string;\n sku: string;\n url: string;\n image: Nullish<CustomImageAsset>;\n}\n\n/**\n * General product page variant type\n */\nexport interface LayoutVariant {\n id: string;\n /**\n * Since the ID can be SKU, add a definite variant ID\n */\n variantId: string;\n baseSku: string;\n sku: string;\n\n skuExtraLabel?: string;\n\n title: string;\n description?: string;\n callout?: string;\n\n /**\n * Current variant price, before taxes (not prepared for SG store)\n */\n displayPrice: Money;\n\n /**\n * Product \"from\" price, before taxes (not prepared for SG store)\n */\n fromPrice?: Money;\n /**\n * [NEP-2470] Pre-discount price used to add a \"Safe 99.99$\"\n * Price before taxes (not prepared for SG store)\n * @see https://ubiquiti.atlassian.net/browse/NEP-2470\n */\n originalPrice?: Money;\n\n images?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n keyFeatures?: ProductKeyFeaturesProps[\"keyFeatures\"];\n\n currentVariantGalleryIds?: string[];\n\n datasheet?: {\n sku: string;\n html: string;\n };\n\n /**\n * Additional variant IDs/SKUs which are used to determine if\n * the current variant is selected.\n */\n otherIds?: string[];\n /**\n * Currently it is used for adding data-test-id=\"product-card-${slug}\" attribute\n * to product selector. Optional since it is not required in Shopify.\n */\n slug?: string;\n\n /**\n * Flags\n */\n isInStock?: boolean;\n isSoldOut?: boolean;\n isEarlyAccess?: boolean;\n isComingSoon?: boolean;\n isLegacy?: boolean;\n isSubscription?: boolean;\n isRegionNotAvailable?: boolean;\n isSpecialOffer?: boolean;\n\n /**\n * @FIXME Move away from these tag flags and just feed tag list\n * and denote the magic tags in store.core. Currently it is done on SF side.\n */\n // Tags\n isTopPerformer?: boolean;\n isBestPricePerformance?: boolean;\n isMostVersatile?: boolean;\n isTopPerformanceHighDensity?: boolean;\n isHighestClientCapacity?: boolean;\n /**\n * (Optional) Indication when product is coming soon when will launch.\n * FIXME: Currently as string currently as `store.storefront` currently manages the parsing of it. Once migrated over\n * to store.storefront we can potentially just pass in a date and generate the copyright here.\n */\n comingSoonDate?: string;\n\n /**\n * Upsell variant\n */\n upsellVariant?: Pick<\n LayoutVariant,\n | \"id\"\n | \"variantId\"\n | \"baseSku\"\n | \"images\"\n | \"title\"\n | \"description\"\n | \"displayPrice\"\n | \"datasheet\"\n | \"isSoldOut\"\n | \"isTopPerformer\"\n | \"isBestPricePerformance\"\n | \"isMostVersatile\"\n | \"isTopPerformanceHighDensity\"\n | \"isHighestClientCapacity\"\n | \"hddTerabytes\"\n | \"campaignDiscount\"\n >;\n /**\n * ! Used only for the upsell variant\n */\n hddTerabytes?: number;\n\n inlineAccessories?: InlineAccessories;\n\n /**\n * Bundled item offer\n */\n bundleOffer?: VariantBundleOffer;\n\n /**\n * Category (Optical and Installation collections)\n */\n category?: SubCategory;\n\n campaignDiscount?: {\n minProductQty: number;\n maxProductQty?: number | null;\n percentageAmount?: number;\n fixedAmountCurrency?: Currency;\n fixedAmountPrice?: number;\n upsellProductTitle?: string;\n productTitle?: string;\n overrideShortTitle?: string;\n showNearPrice?: boolean;\n };\n\n productBundleNotes?: string[];\n compatibleProducts?: VariantCompatibleProduct[];\n\n shortTitle?: string;\n}\n\nexport interface SubCategory {\n title: string;\n id: string;\n shortDescription?: string;\n items?: SubCategory[];\n isDisabled?: boolean;\n}\n\ninterface Category {\n sectionTitle: string;\n id: string;\n items: SubCategory[];\n}\n\n// TODO use productWizard quantity controls(or rework) and adding to cart (current approach ignores limits)\nexport type OnVariantAddToCartFn = (\n items: Array<{\n variantId: string;\n quantity: number;\n }>,\n) => Promise<void>;\n\nexport const PRODUCT_PAGE = \"product-page\";\n\nexport interface LayoutRendererProps {\n collection?: {\n title?: string;\n descriptionHtml?: string;\n videoUrl?: string;\n images?: CustomMediaAsset[];\n slug?: string;\n };\n currentProduct: {\n id: string;\n title: string;\n shortDescription: string;\n descriptionHtml?: string;\n images?: CustomMediaAsset[];\n showGallery?: boolean;\n datasheet?: {\n sku: string;\n html: string;\n };\n hasUICare?: boolean;\n relatedProductsVariantSelectorProps?: Omit<\n RelatedProductsVariantSelectorProps,\n \"renderImage\" | \"translations\"\n >;\n\n topologyImages?: CustomMediaAsset[];\n deploymentImages?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n inTheBoxImages?: CustomMediaAsset[];\n installationImages?: CustomMediaAsset[];\n performanceImages?: CustomMediaAsset[];\n installationGuide?: {\n name: string;\n url: string;\n };\n glanceAssets?: MicrositePageBlocks[];\n } | null;\n\n productSectionNavigationProps?: ProductSectionNavigationProps;\n\n // onBreadcrumbClick: BreadcrumbsProps[\"onBreadcrumbClick\"];\n variantSelectorProps: Omit<\n VariantSelectorProps,\n | \"activeCategories\"\n | \"categoryChangeHandler\"\n | \"categories\"\n | \"renderImage\"\n | \"translations\"\n | \"collectionSlug\"\n | \"language\"\n >;\n renderImage: (props: RenderImageProps) => React.ReactNode;\n wizardProps: ProductWizardProps;\n uiCareProps?: Omit<UICareProps, \"renderImage\">;\n upsellProps?: Omit<ProductUpsellProps, \"renderImage\">;\n categories?: Category[];\n activeCategories?: string[];\n categoryChangeHandler: (id: string) => void;\n language: string;\n showCookiesConsentOptions: () => void;\n videoNoCookiesConsent: boolean;\n translations: {\n productSpecification?: string;\n\n /** Variant Selector translations */\n variantSelector?: VariantSelectorProps[\"translations\"];\n\n /** Related Products Variant selector translations */\n relatedProductsVariantSelector: RelatedProductsVariantSelectorProps[\"translations\"];\n\n /** For DeploymentGallery component - `title` prop */\n deploymentGalleryTitle: string;\n\n /** For RelatedProducts component - `title` prop */\n // relatedProducts: RelatedProductsProps[\"translations\"];\n\n compareSection: CompareSectionProps[\"translations\"];\n\n topLevelBreadcrumb: string;\n\n closerLookSection?: CloserLookSectionProps[\"translations\"];\n\n builtFeaturesSection: BuiltFeaturesSectionProps[\"translations\"];\n\n specifications: string;\n faqTitle: string;\n completeYourBuild: string;\n technicalSpecifications: string;\n };\n heroVideoProps?: HeroVideoProps;\n\n capacityCalculator: React.ReactNode;\n\n isProStore?: boolean;\n\n recommendedAddonsProps?: RecommendedAddonsProps;\n faq?: CloserLookSectionProps[\"faq\"];\n\n onToggleTechSpec?: (isActive: boolean) => void;\n onTabClick?: (tabId: SectionTab) => void;\n onTabSectionGalleryModalToggle?: (tabId: SectionTab, src: string) => void;\n\n bannerHtml?: CloserLookSectionProps[\"bannerHtml\"];\n}\n"],"names":["PRODUCT_PAGE"],"mappings":";;;AAsPO,MAAMA,YAAe,GAAA,cAAA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutRenderer.types.mjs","sources":["../../../src/components/LayoutRenderer/LayoutRenderer.types.tsx"],"sourcesContent":["import type { Currency, Nullish } from \"../../types\";\nimport type { Money } from \"../../utils/money\";\nimport type { BuiltFeaturesSectionProps } from \"../BuiltFeaturesSection/BuiltFeaturesSection.types\";\nimport type { SectionTab } from \"../CloserLookSection\";\nimport type { CloserLookSectionProps } from \"../CloserLookSection/CloserLookSection.types\";\nimport type { RecommendedAddonsProps } from \"../CloserLookSection/RecommendedAddons/RecommendedAddons.types\";\nimport type { CompareSectionProps } from \"../CompareSection/CompareSection.types\";\nimport type {\n CustomImageAsset,\n CustomMediaAsset,\n RenderImageProps,\n} from \"../CustomImage/CustomImage.types\";\nimport type { HeroVideoProps } from \"../HeroVideo/HeroVideo.types\";\nimport type { MicrositePageBlocks } from \"../Microsites/Microsites.types\";\nimport type { ProductCardPopupProps } from \"../ProductCardPopup/ProductCardPopup.types\";\nimport type { ProductKeyFeaturesProps } from \"../ProductKeyFeatures/ProductKeyFeatures.types\";\nimport type { ProductSectionNavigationProps } from \"../ProductSectionNavigation/ProductSectionNavigation.types\";\nimport type { ProductUpsellProps } from \"../ProductUpsell/ProductUpsell.types\";\nimport type { ProductWizardProps } from \"../ProductWizard/ProductWizard.types\";\nimport type { RelatedProductsVariantSelectorProps } from \"../RelatedProductsVariantSelector/RelatedProductsVariantSelector.types\";\nimport type { UICareProps } from \"../UICare/UICare.types\";\nimport type { VariantSelectorProps } from \"../VariantSelector/VariantSelector.types\";\n\nexport interface InlineAccessories {\n onOptionSelect: (productId: string, variantId?: string) => void;\n /** Popup */\n activePopupProduct?: Omit<\n ProductCardPopupProps,\n \"translations\" | \"renderImage\" | \"isOpen\"\n >;\n items: {\n productId: string;\n variantId: string;\n image?: CustomMediaAsset;\n title: string;\n description?: string;\n displayPrice: Money;\n isUICare: boolean;\n hasOptions: boolean;\n isSelected?: boolean;\n isDisabled?: boolean;\n handleSelect: (quantity: number) => void;\n }[];\n}\n\nexport type VariantBundleOffer = {\n /**\n * Will set the offer item as selected by default\n */\n preSelect?: boolean;\n /**\n * If set as true, will render \"log in\" case\n */\n requiresLogin?: boolean;\n name: string;\n onLogin: () => void;\n /**\n * Overall customer limit qty\n */\n maxQtyPerCustomer: Nullish<number>;\n /**\n * Actual qty of remaining limit\n */\n remainingRedeemQty: Nullish<number>;\n // ???\n // remainingQuantity: number;\n item: {\n variantId: string;\n shortTitle: string;\n image: CustomImageAsset | undefined;\n onLearnMore?: () => void;\n price: Money;\n };\n};\n\nexport interface VariantCompatibleProduct {\n title: string;\n sku: string;\n url: string;\n image: Nullish<CustomImageAsset>;\n}\n\n/**\n * General product page variant type\n */\nexport interface LayoutVariant {\n id: string;\n /**\n * Since the ID can be SKU, add a definite variant ID\n */\n variantId: string;\n baseSku: string;\n sku: string;\n\n skuExtraLabel?: string;\n\n title: string;\n description?: string;\n callout?: string;\n\n /**\n * Current variant price, before taxes (not prepared for SG store)\n */\n displayPrice: Money;\n\n /**\n * Product \"from\" price, before taxes (not prepared for SG store)\n */\n fromPrice?: Money;\n /**\n * [NEP-2470] Pre-discount price used to add a \"Safe 99.99$\"\n * Price before taxes (not prepared for SG store)\n * @see https://ubiquiti.atlassian.net/browse/NEP-2470\n */\n originalPrice?: Money;\n\n images?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n keyFeatures?: ProductKeyFeaturesProps[\"keyFeatures\"];\n\n currentVariantGalleryIds?: string[];\n\n datasheet?: {\n sku: string;\n html: string;\n };\n\n /**\n * Additional variant IDs/SKUs which are used to determine if\n * the current variant is selected.\n */\n otherIds?: string[];\n /**\n * Currently it is used for adding data-test-id=\"product-card-${slug}\" attribute\n * to product selector. Optional since it is not required in Shopify.\n */\n slug?: string;\n\n /**\n * Flags\n */\n isInStock?: boolean;\n isSoldOut?: boolean;\n isEarlyAccess?: boolean;\n isComingSoon?: boolean;\n isLegacy?: boolean;\n isSubscription?: boolean;\n isRegionNotAvailable?: boolean;\n\n /**\n * @FIXME Move away from these tag flags and just feed tag list\n * and denote the magic tags in store.core. Currently it is done on SF side.\n */\n // Tags\n isTopPerformer?: boolean;\n isBestPricePerformance?: boolean;\n isMostVersatile?: boolean;\n isTopPerformanceHighDensity?: boolean;\n isHighestClientCapacity?: boolean;\n /**\n * (Optional) Indication when product is coming soon when will launch.\n * FIXME: Currently as string currently as `store.storefront` currently manages the parsing of it. Once migrated over\n * to store.storefront we can potentially just pass in a date and generate the copyright here.\n */\n comingSoonDate?: string;\n\n /**\n * Upsell variant\n */\n upsellVariant?: Pick<\n LayoutVariant,\n | \"id\"\n | \"variantId\"\n | \"baseSku\"\n | \"images\"\n | \"title\"\n | \"description\"\n | \"displayPrice\"\n | \"datasheet\"\n | \"isSoldOut\"\n | \"isTopPerformer\"\n | \"isBestPricePerformance\"\n | \"isMostVersatile\"\n | \"isTopPerformanceHighDensity\"\n | \"isHighestClientCapacity\"\n | \"hddTerabytes\"\n | \"campaignDiscount\"\n >;\n /**\n * ! Used only for the upsell variant\n */\n hddTerabytes?: number;\n\n inlineAccessories?: InlineAccessories;\n\n /**\n * Bundled item offer\n */\n bundleOffer?: VariantBundleOffer;\n\n /**\n * Category (Optical and Installation collections)\n */\n category?: SubCategory;\n\n campaignDiscount?: {\n minProductQty: number;\n maxProductQty?: number | null;\n percentageAmount?: number;\n fixedAmountCurrency?: Currency;\n fixedAmountPrice?: number;\n upsellProductTitle?: string;\n productTitle?: string;\n overrideShortTitle?: string;\n };\n\n productBundleNotes?: string[];\n compatibleProducts?: VariantCompatibleProduct[];\n\n shortTitle?: string;\n}\n\nexport interface SubCategory {\n title: string;\n id: string;\n shortDescription?: string;\n items?: SubCategory[];\n isDisabled?: boolean;\n}\n\ninterface Category {\n sectionTitle: string;\n id: string;\n items: SubCategory[];\n}\n\n// TODO use productWizard quantity controls(or rework) and adding to cart (current approach ignores limits)\nexport type OnVariantAddToCartFn = (\n items: Array<{\n variantId: string;\n quantity: number;\n }>,\n) => Promise<void>;\n\nexport const PRODUCT_PAGE = \"product-page\";\n\nexport interface LayoutRendererProps {\n collection?: {\n title?: string;\n descriptionHtml?: string;\n videoUrl?: string;\n images?: CustomMediaAsset[];\n slug?: string;\n };\n currentProduct: {\n id: string;\n title: string;\n shortDescription: string;\n descriptionHtml?: string;\n images?: CustomMediaAsset[];\n showGallery?: boolean;\n datasheet?: {\n sku: string;\n html: string;\n };\n hasUICare?: boolean;\n relatedProductsVariantSelectorProps?: Omit<\n RelatedProductsVariantSelectorProps,\n \"renderImage\" | \"translations\"\n >;\n\n topologyImages?: CustomMediaAsset[];\n deploymentImages?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n inTheBoxImages?: CustomMediaAsset[];\n installationImages?: CustomMediaAsset[];\n performanceImages?: CustomMediaAsset[];\n installationGuide?: {\n name: string;\n url: string;\n };\n glanceAssets?: MicrositePageBlocks[];\n } | null;\n\n productSectionNavigationProps?: ProductSectionNavigationProps;\n\n // onBreadcrumbClick: BreadcrumbsProps[\"onBreadcrumbClick\"];\n variantSelectorProps: Omit<\n VariantSelectorProps,\n | \"activeCategories\"\n | \"categoryChangeHandler\"\n | \"categories\"\n | \"renderImage\"\n | \"translations\"\n | \"collectionSlug\"\n | \"language\"\n >;\n renderImage: (props: RenderImageProps) => React.ReactNode;\n wizardProps: ProductWizardProps;\n uiCareProps?: Omit<UICareProps, \"renderImage\">;\n upsellProps?: Omit<ProductUpsellProps, \"renderImage\">;\n categories?: Category[];\n activeCategories?: string[];\n categoryChangeHandler: (id: string) => void;\n language: string;\n showCookiesConsentOptions: () => void;\n videoNoCookiesConsent: boolean;\n translations: {\n productSpecification?: string;\n\n /** Variant Selector translations */\n variantSelector?: VariantSelectorProps[\"translations\"];\n\n /** Related Products Variant selector translations */\n relatedProductsVariantSelector: RelatedProductsVariantSelectorProps[\"translations\"];\n\n /** For DeploymentGallery component - `title` prop */\n deploymentGalleryTitle: string;\n\n /** For RelatedProducts component - `title` prop */\n // relatedProducts: RelatedProductsProps[\"translations\"];\n\n compareSection: CompareSectionProps[\"translations\"];\n\n topLevelBreadcrumb: string;\n\n closerLookSection?: CloserLookSectionProps[\"translations\"];\n\n builtFeaturesSection: BuiltFeaturesSectionProps[\"translations\"];\n\n specifications: string;\n faqTitle: string;\n completeYourBuild: string;\n technicalSpecifications: string;\n };\n heroVideoProps?: HeroVideoProps;\n\n capacityCalculator: React.ReactNode;\n\n isProStore?: boolean;\n\n recommendedAddonsProps?: RecommendedAddonsProps;\n faq?: CloserLookSectionProps[\"faq\"];\n\n onToggleTechSpec?: (isActive: boolean) => void;\n onTabClick?: (tabId: SectionTab) => void;\n onTabSectionGalleryModalToggle?: (tabId: SectionTab, src: string) => void;\n\n bannerHtml?: CloserLookSectionProps[\"bannerHtml\"];\n}\n"],"names":["PRODUCT_PAGE"],"mappings":";;AAoPO,MAAMA,YAAe,GAAA,cAAA;"}
1
+ {"version":3,"file":"LayoutRenderer.types.mjs","sources":["../../../src/components/LayoutRenderer/LayoutRenderer.types.tsx"],"sourcesContent":["import type { Currency, Nullish } from \"../../types\";\nimport type { Money } from \"../../utils/money\";\nimport type { BuiltFeaturesSectionProps } from \"../BuiltFeaturesSection/BuiltFeaturesSection.types\";\nimport type { SectionTab } from \"../CloserLookSection\";\nimport type { CloserLookSectionProps } from \"../CloserLookSection/CloserLookSection.types\";\nimport type { RecommendedAddonsProps } from \"../CloserLookSection/RecommendedAddons/RecommendedAddons.types\";\nimport type { CompareSectionProps } from \"../CompareSection/CompareSection.types\";\nimport type {\n CustomImageAsset,\n CustomMediaAsset,\n RenderImageProps,\n} from \"../CustomImage/CustomImage.types\";\nimport type { HeroVideoProps } from \"../HeroVideo/HeroVideo.types\";\nimport type { MicrositePageBlocks } from \"../Microsites/Microsites.types\";\nimport type { ProductCardPopupProps } from \"../ProductCardPopup/ProductCardPopup.types\";\nimport type { ProductKeyFeaturesProps } from \"../ProductKeyFeatures/ProductKeyFeatures.types\";\nimport type { ProductSectionNavigationProps } from \"../ProductSectionNavigation/ProductSectionNavigation.types\";\nimport type { ProductUpsellProps } from \"../ProductUpsell/ProductUpsell.types\";\nimport type { ProductWizardProps } from \"../ProductWizard/ProductWizard.types\";\nimport type { RelatedProductsVariantSelectorProps } from \"../RelatedProductsVariantSelector/RelatedProductsVariantSelector.types\";\nimport type { UICareProps } from \"../UICare/UICare.types\";\nimport type { VariantSelectorProps } from \"../VariantSelector/VariantSelector.types\";\n\nexport interface InlineAccessories {\n onOptionSelect: (productId: string, variantId?: string) => void;\n /** Popup */\n activePopupProduct?: Omit<\n ProductCardPopupProps,\n \"translations\" | \"renderImage\" | \"isOpen\"\n >;\n items: {\n productId: string;\n variantId: string;\n image?: CustomMediaAsset;\n title: string;\n description?: string;\n displayPrice: Money;\n isUICare: boolean;\n hasOptions: boolean;\n isSelected?: boolean;\n isDisabled?: boolean;\n handleSelect: (quantity: number) => void;\n }[];\n}\n\nexport type VariantBundleOffer = {\n /**\n * Will set the offer item as selected by default\n */\n preSelect?: boolean;\n /**\n * If set as true, will render \"log in\" case\n */\n requiresLogin?: boolean;\n name: string;\n onLogin: () => void;\n /**\n * Overall customer limit qty\n */\n maxQtyPerCustomer: Nullish<number>;\n /**\n * Actual qty of remaining limit\n */\n remainingRedeemQty: Nullish<number>;\n // ???\n // remainingQuantity: number;\n item: {\n variantId: string;\n shortTitle: string;\n image: CustomImageAsset | undefined;\n onLearnMore?: () => void;\n price: Money;\n };\n};\n\nexport interface VariantCompatibleProduct {\n title: string;\n sku: string;\n url: string;\n image: Nullish<CustomImageAsset>;\n}\n\n/**\n * General product page variant type\n */\nexport interface LayoutVariant {\n id: string;\n /**\n * Since the ID can be SKU, add a definite variant ID\n */\n variantId: string;\n baseSku: string;\n sku: string;\n\n skuExtraLabel?: string;\n\n title: string;\n description?: string;\n callout?: string;\n\n /**\n * Current variant price, before taxes (not prepared for SG store)\n */\n displayPrice: Money;\n\n /**\n * Product \"from\" price, before taxes (not prepared for SG store)\n */\n fromPrice?: Money;\n /**\n * [NEP-2470] Pre-discount price used to add a \"Safe 99.99$\"\n * Price before taxes (not prepared for SG store)\n * @see https://ubiquiti.atlassian.net/browse/NEP-2470\n */\n originalPrice?: Money;\n\n images?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n keyFeatures?: ProductKeyFeaturesProps[\"keyFeatures\"];\n\n currentVariantGalleryIds?: string[];\n\n datasheet?: {\n sku: string;\n html: string;\n };\n\n /**\n * Additional variant IDs/SKUs which are used to determine if\n * the current variant is selected.\n */\n otherIds?: string[];\n /**\n * Currently it is used for adding data-test-id=\"product-card-${slug}\" attribute\n * to product selector. Optional since it is not required in Shopify.\n */\n slug?: string;\n\n /**\n * Flags\n */\n isInStock?: boolean;\n isSoldOut?: boolean;\n isEarlyAccess?: boolean;\n isComingSoon?: boolean;\n isLegacy?: boolean;\n isSubscription?: boolean;\n isRegionNotAvailable?: boolean;\n isSpecialOffer?: boolean;\n\n /**\n * @FIXME Move away from these tag flags and just feed tag list\n * and denote the magic tags in store.core. Currently it is done on SF side.\n */\n // Tags\n isTopPerformer?: boolean;\n isBestPricePerformance?: boolean;\n isMostVersatile?: boolean;\n isTopPerformanceHighDensity?: boolean;\n isHighestClientCapacity?: boolean;\n /**\n * (Optional) Indication when product is coming soon when will launch.\n * FIXME: Currently as string currently as `store.storefront` currently manages the parsing of it. Once migrated over\n * to store.storefront we can potentially just pass in a date and generate the copyright here.\n */\n comingSoonDate?: string;\n\n /**\n * Upsell variant\n */\n upsellVariant?: Pick<\n LayoutVariant,\n | \"id\"\n | \"variantId\"\n | \"baseSku\"\n | \"images\"\n | \"title\"\n | \"description\"\n | \"displayPrice\"\n | \"datasheet\"\n | \"isSoldOut\"\n | \"isTopPerformer\"\n | \"isBestPricePerformance\"\n | \"isMostVersatile\"\n | \"isTopPerformanceHighDensity\"\n | \"isHighestClientCapacity\"\n | \"hddTerabytes\"\n | \"campaignDiscount\"\n >;\n /**\n * ! Used only for the upsell variant\n */\n hddTerabytes?: number;\n\n inlineAccessories?: InlineAccessories;\n\n /**\n * Bundled item offer\n */\n bundleOffer?: VariantBundleOffer;\n\n /**\n * Category (Optical and Installation collections)\n */\n category?: SubCategory;\n\n campaignDiscount?: {\n minProductQty: number;\n maxProductQty?: number | null;\n percentageAmount?: number;\n fixedAmountCurrency?: Currency;\n fixedAmountPrice?: number;\n upsellProductTitle?: string;\n productTitle?: string;\n overrideShortTitle?: string;\n showNearPrice?: boolean;\n };\n\n productBundleNotes?: string[];\n compatibleProducts?: VariantCompatibleProduct[];\n\n shortTitle?: string;\n}\n\nexport interface SubCategory {\n title: string;\n id: string;\n shortDescription?: string;\n items?: SubCategory[];\n isDisabled?: boolean;\n}\n\ninterface Category {\n sectionTitle: string;\n id: string;\n items: SubCategory[];\n}\n\n// TODO use productWizard quantity controls(or rework) and adding to cart (current approach ignores limits)\nexport type OnVariantAddToCartFn = (\n items: Array<{\n variantId: string;\n quantity: number;\n }>,\n) => Promise<void>;\n\nexport const PRODUCT_PAGE = \"product-page\";\n\nexport interface LayoutRendererProps {\n collection?: {\n title?: string;\n descriptionHtml?: string;\n videoUrl?: string;\n images?: CustomMediaAsset[];\n slug?: string;\n };\n currentProduct: {\n id: string;\n title: string;\n shortDescription: string;\n descriptionHtml?: string;\n images?: CustomMediaAsset[];\n showGallery?: boolean;\n datasheet?: {\n sku: string;\n html: string;\n };\n hasUICare?: boolean;\n relatedProductsVariantSelectorProps?: Omit<\n RelatedProductsVariantSelectorProps,\n \"renderImage\" | \"translations\"\n >;\n\n topologyImages?: CustomMediaAsset[];\n deploymentImages?: CustomMediaAsset[];\n techSpecsImages?: CustomMediaAsset[];\n inTheBoxImages?: CustomMediaAsset[];\n installationImages?: CustomMediaAsset[];\n performanceImages?: CustomMediaAsset[];\n installationGuide?: {\n name: string;\n url: string;\n };\n glanceAssets?: MicrositePageBlocks[];\n } | null;\n\n productSectionNavigationProps?: ProductSectionNavigationProps;\n\n // onBreadcrumbClick: BreadcrumbsProps[\"onBreadcrumbClick\"];\n variantSelectorProps: Omit<\n VariantSelectorProps,\n | \"activeCategories\"\n | \"categoryChangeHandler\"\n | \"categories\"\n | \"renderImage\"\n | \"translations\"\n | \"collectionSlug\"\n | \"language\"\n >;\n renderImage: (props: RenderImageProps) => React.ReactNode;\n wizardProps: ProductWizardProps;\n uiCareProps?: Omit<UICareProps, \"renderImage\">;\n upsellProps?: Omit<ProductUpsellProps, \"renderImage\">;\n categories?: Category[];\n activeCategories?: string[];\n categoryChangeHandler: (id: string) => void;\n language: string;\n showCookiesConsentOptions: () => void;\n videoNoCookiesConsent: boolean;\n translations: {\n productSpecification?: string;\n\n /** Variant Selector translations */\n variantSelector?: VariantSelectorProps[\"translations\"];\n\n /** Related Products Variant selector translations */\n relatedProductsVariantSelector: RelatedProductsVariantSelectorProps[\"translations\"];\n\n /** For DeploymentGallery component - `title` prop */\n deploymentGalleryTitle: string;\n\n /** For RelatedProducts component - `title` prop */\n // relatedProducts: RelatedProductsProps[\"translations\"];\n\n compareSection: CompareSectionProps[\"translations\"];\n\n topLevelBreadcrumb: string;\n\n closerLookSection?: CloserLookSectionProps[\"translations\"];\n\n builtFeaturesSection: BuiltFeaturesSectionProps[\"translations\"];\n\n specifications: string;\n faqTitle: string;\n completeYourBuild: string;\n technicalSpecifications: string;\n };\n heroVideoProps?: HeroVideoProps;\n\n capacityCalculator: React.ReactNode;\n\n isProStore?: boolean;\n\n recommendedAddonsProps?: RecommendedAddonsProps;\n faq?: CloserLookSectionProps[\"faq\"];\n\n onToggleTechSpec?: (isActive: boolean) => void;\n onTabClick?: (tabId: SectionTab) => void;\n onTabSectionGalleryModalToggle?: (tabId: SectionTab, src: string) => void;\n\n bannerHtml?: CloserLookSectionProps[\"bannerHtml\"];\n}\n"],"names":["PRODUCT_PAGE"],"mappings":";;AAsPO,MAAMA,YAAe,GAAA,cAAA;"}
@@ -1,2 +1,2 @@
1
1
  import { type MicrositeHeroProps } from "./MicrositeHero.types";
2
- export declare const MicrositeHero: ({ title, subtitle, description, titleMarginTop, buyButton, customButton, video, loop, className, variant, enableBottomGradient, contentMaxWidth, icons, transitions: customTransitions, }: MicrositeHeroProps) => JSX.Element;
2
+ export declare const MicrositeHero: ({ title, subtitle, description, titleMarginTop, buyButton, customButton, video, loop, className, variant, enableBottomGradient, contentMaxWidth, icons, transitions: customTransitions, id, }: MicrositeHeroProps) => JSX.Element;
@@ -28,7 +28,8 @@ const MicrositeHero = ({
28
28
  enableBottomGradient,
29
29
  contentMaxWidth,
30
30
  icons,
31
- transitions: customTransitions
31
+ transitions: customTransitions,
32
+ id
32
33
  }) => {
33
34
  const videoRef = react.useRef(null);
34
35
  const videoInnerWrapRef = react.useRef(null);
@@ -43,6 +44,9 @@ const MicrositeHero = ({
43
44
  const {
44
45
  width
45
46
  } = reactUse.useWindowSize();
47
+ const [videoOuterWrapRef, {
48
+ width: videoOuterWrapWidth
49
+ }] = reactUse.useMeasure();
46
50
  const [isVideoPlaying, setVideoPlaying] = react.useState(false);
47
51
  const [loopActive, setLoopActive] = react.useState(false);
48
52
  const animateText = react.useCallback(() => {
@@ -142,7 +146,7 @@ const MicrositeHero = ({
142
146
  } catch {}
143
147
  }, []);
144
148
  const aspectRatio = react.useMemo(() => {
145
- return round__default["default"](video.width / video.height, 1);
149
+ return round__default["default"](video.width / video.height, 2);
146
150
  }, [video.height, video.width]);
147
151
  const iconBreakPoint = react.useMemo(() => {
148
152
  if (!icons?.length) {
@@ -153,9 +157,14 @@ const MicrositeHero = ({
153
157
  }, 0);
154
158
  }, [icons]);
155
159
  const isIconBreakPoint = reactUse.useMedia(`(max-width: ${iconBreakPoint - 1}px)`, false);
160
+ const showHorizontalGradient = react.useMemo(() => {
161
+ const videoWidth = videoRef.current?.clientWidth ?? video.width;
162
+ return width > Math.min(videoWidth, videoOuterWrapWidth);
163
+ }, [video.width, videoOuterWrapWidth, width]);
156
164
  return /* @__PURE__ */jsxRuntime.jsxs(MicrositeHero_styles.Wrap, {
157
165
  className,
158
166
  $hasIcons: !!icons?.length,
167
+ id,
159
168
  children: [video.slides?.length ? /* @__PURE__ */jsxRuntime.jsx(jsxRuntime.Fragment, {
160
169
  children: video.slides.map((slide, i) => /* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.Slide, {
161
170
  active: i === currentSlide,
@@ -198,13 +207,14 @@ const MicrositeHero = ({
198
207
  }), customButton]
199
208
  })]
200
209
  }), /* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.VideoOuterWrap, {
210
+ ref: videoOuterWrapRef,
201
211
  children: /* @__PURE__ */jsxRuntime.jsxs(MicrositeHero_styles.VideoWrap, {
202
212
  aspectRatio,
203
213
  $variant: variant,
204
214
  children: [/* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.TopGradient, {}), (enableBottomGradient || icons?.length && isIconBreakPoint) && /* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.BottomGradient, {}), /* @__PURE__ */jsxRuntime.jsxs(MicrositeHero_styles.VideoInnerWrap, {
205
215
  $variant: variant,
206
216
  ref: videoInnerWrapRef,
207
- children: [videoInnerWrapRef.current?.clientWidth && width >= videoInnerWrapRef.current?.clientWidth && /* @__PURE__ */jsxRuntime.jsxs(MicrositeHero_styles.HorizontalShadows, {
217
+ children: [showHorizontalGradient && /* @__PURE__ */jsxRuntime.jsxs(MicrositeHero_styles.HorizontalShadows, {
208
218
  children: [/* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.HorizontalShadowLeft, {}), /* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.HorizontalShadowRight, {})]
209
219
  }), !isVideoPlaying && /* @__PURE__ */jsxRuntime.jsx(MicrositeHero_styles.PosterImage, {
210
220
  src: video?.poster,