@ubnt/store.core 9.36.0-beta.4 → 9.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (406) hide show
  1. package/CHANGELOG.md +2 -222
  2. package/lib/_virtual/_virtual_multi-entry.js +2 -15
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +0 -2
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/components/BackInStock/BackInStock.types.d.ts +0 -1
  7. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.d.ts +1 -1
  8. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +4 -16
  9. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
  10. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +5 -17
  11. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
  12. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +1 -5
  13. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +17 -82
  14. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
  15. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +17 -82
  16. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
  17. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +0 -4
  18. package/lib/components/Explore/ExploreData.js +12 -12
  19. package/lib/components/Explore/ExploreData.js.map +1 -1
  20. package/lib/components/Explore/ExploreData.mjs +12 -12
  21. package/lib/components/Explore/ExploreData.mjs.map +1 -1
  22. package/lib/components/Header/Header.js +3 -3
  23. package/lib/components/Header/Header.js.map +1 -1
  24. package/lib/components/Header/Header.mjs +3 -3
  25. package/lib/components/Header/Header.mjs.map +1 -1
  26. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +0 -1
  27. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js.map +1 -1
  28. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +0 -1
  29. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs.map +1 -1
  30. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +1 -6
  31. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +2 -3
  32. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
  33. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +2 -3
  34. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
  35. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +3 -10
  36. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
  37. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +3 -10
  38. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
  39. package/lib/components/ModelCompareV3/data/Switching.js +2 -3
  40. package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
  41. package/lib/components/ModelCompareV3/data/Switching.mjs +2 -3
  42. package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
  43. package/lib/components/ModelCompareV3/data/index.d.ts +37 -38
  44. package/lib/components/ModelCompareV3/data/index.js +74 -77
  45. package/lib/components/ModelCompareV3/data/index.js.map +1 -1
  46. package/lib/components/ModelCompareV3/data/index.mjs +74 -77
  47. package/lib/components/ModelCompareV3/data/index.mjs.map +1 -1
  48. package/lib/components/ModelCompareV3/data/products/aggregation.js +0 -7
  49. package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
  50. package/lib/components/ModelCompareV3/data/products/aggregation.mjs +0 -7
  51. package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
  52. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +2 -4
  53. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
  54. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +2 -4
  55. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
  56. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js +2 -2
  57. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js.map +1 -1
  58. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs +2 -2
  59. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs.map +1 -1
  60. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +0 -7
  61. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
  62. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +0 -7
  63. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
  64. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +0 -7
  65. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
  66. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -7
  67. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
  68. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +0 -7
  69. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
  70. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -7
  71. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +1 -1
  72. package/lib/components/ModelCompareV3/data/products/express.js +3 -3
  73. package/lib/components/ModelCompareV3/data/products/express.js.map +1 -1
  74. package/lib/components/ModelCompareV3/data/products/express.mjs +3 -3
  75. package/lib/components/ModelCompareV3/data/products/express.mjs.map +1 -1
  76. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js +2 -4
  77. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
  78. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +2 -4
  79. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
  80. package/lib/components/ModelCompareV3/data/products/gatewayLite.js +2 -4
  81. package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
  82. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +2 -4
  83. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs.map +1 -1
  84. package/lib/components/ModelCompareV3/data/products/gatewayMax.js +2 -4
  85. package/lib/components/ModelCompareV3/data/products/gatewayMax.js.map +1 -1
  86. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs +2 -4
  87. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs.map +1 -1
  88. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js +2 -4
  89. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
  90. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +2 -4
  91. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs.map +1 -1
  92. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +0 -7
  93. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
  94. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +0 -7
  95. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
  96. package/lib/components/ModelCompareV3/data/products/missionCritical.js +0 -7
  97. package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
  98. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +0 -7
  99. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
  100. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js +1 -3
  101. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js.map +1 -1
  102. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs +1 -3
  103. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs.map +1 -1
  104. package/lib/components/ModelCompareV3/data/products/professionalMax16.js +0 -7
  105. package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
  106. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +0 -7
  107. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
  108. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +0 -7
  109. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
  110. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +0 -7
  111. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
  112. package/lib/components/ModelCompareV3/data/products/professionalMax24.js +0 -7
  113. package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
  114. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +0 -7
  115. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
  116. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +0 -7
  117. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
  118. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +0 -7
  119. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
  120. package/lib/components/ModelCompareV3/data/products/professionalMax48.js +0 -7
  121. package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
  122. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +0 -7
  123. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
  124. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +0 -7
  125. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
  126. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +0 -7
  127. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
  128. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +0 -8
  129. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
  130. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +0 -8
  131. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
  132. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +0 -7
  133. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
  134. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +0 -7
  135. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
  136. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -10
  137. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
  138. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -10
  139. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
  140. package/lib/components/ModelCompareV3/data/products/switchesStandard.js +0 -7
  141. package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
  142. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +0 -7
  143. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
  144. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  145. package/lib/components/ModelCompareV3/data/products/ucgMax.js.map +1 -1
  146. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  147. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs.map +1 -1
  148. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +3 -3
  149. package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
  150. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +3 -3
  151. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs.map +1 -1
  152. package/lib/components/ModelCompareV3/data/products/udmPro.js +3 -3
  153. package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
  154. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +3 -3
  155. package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
  156. package/lib/components/ModelCompareV3/data/products/udmProMax.js +3 -3
  157. package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
  158. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +3 -3
  159. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
  160. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +3 -3
  161. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
  162. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +3 -3
  163. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
  164. package/lib/components/ModelCompareV3/data/products/udr.js +41 -5
  165. package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
  166. package/lib/components/ModelCompareV3/data/products/udr.mjs +21 -5
  167. package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
  168. package/lib/components/ModelCompareV3/data/products/udw.js +3 -3
  169. package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
  170. package/lib/components/ModelCompareV3/data/products/udw.mjs +3 -3
  171. package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
  172. package/lib/components/ModelCompareV3/data/properties/index.d.ts +0 -2
  173. package/lib/components/ModelCompareV3/data/properties/index.js +0 -4
  174. package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
  175. package/lib/components/ModelCompareV3/data/properties/index.mjs +0 -2
  176. package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
  177. package/lib/components/ModelCompareV3/translations/ar.json.js +0 -2
  178. package/lib/components/ModelCompareV3/translations/ar.json.js.map +1 -1
  179. package/lib/components/ModelCompareV3/translations/ar.json.mjs +0 -2
  180. package/lib/components/ModelCompareV3/translations/ar.json.mjs.map +1 -1
  181. package/lib/components/ModelCompareV3/translations/de.json.js +0 -2
  182. package/lib/components/ModelCompareV3/translations/de.json.js.map +1 -1
  183. package/lib/components/ModelCompareV3/translations/de.json.mjs +0 -2
  184. package/lib/components/ModelCompareV3/translations/de.json.mjs.map +1 -1
  185. package/lib/components/ModelCompareV3/translations/el.json.js +0 -2
  186. package/lib/components/ModelCompareV3/translations/el.json.js.map +1 -1
  187. package/lib/components/ModelCompareV3/translations/el.json.mjs +0 -2
  188. package/lib/components/ModelCompareV3/translations/el.json.mjs.map +1 -1
  189. package/lib/components/ModelCompareV3/translations/en.json.js +0 -24
  190. package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
  191. package/lib/components/ModelCompareV3/translations/en.json.mjs +0 -24
  192. package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
  193. package/lib/components/ModelCompareV3/translations/es.json.js +0 -2
  194. package/lib/components/ModelCompareV3/translations/es.json.js.map +1 -1
  195. package/lib/components/ModelCompareV3/translations/es.json.mjs +0 -2
  196. package/lib/components/ModelCompareV3/translations/es.json.mjs.map +1 -1
  197. package/lib/components/ModelCompareV3/translations/fr.json.js +0 -2
  198. package/lib/components/ModelCompareV3/translations/fr.json.js.map +1 -1
  199. package/lib/components/ModelCompareV3/translations/fr.json.mjs +0 -2
  200. package/lib/components/ModelCompareV3/translations/fr.json.mjs.map +1 -1
  201. package/lib/components/ModelCompareV3/translations/it.json.js +0 -2
  202. package/lib/components/ModelCompareV3/translations/it.json.js.map +1 -1
  203. package/lib/components/ModelCompareV3/translations/it.json.mjs +0 -2
  204. package/lib/components/ModelCompareV3/translations/it.json.mjs.map +1 -1
  205. package/lib/components/ModelCompareV3/translations/ja.json.js +0 -2
  206. package/lib/components/ModelCompareV3/translations/ja.json.js.map +1 -1
  207. package/lib/components/ModelCompareV3/translations/ja.json.mjs +0 -2
  208. package/lib/components/ModelCompareV3/translations/ja.json.mjs.map +1 -1
  209. package/lib/components/ModelCompareV3/translations/pt-BR.json.js +0 -2
  210. package/lib/components/ModelCompareV3/translations/pt-BR.json.js.map +1 -1
  211. package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +0 -2
  212. package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs.map +1 -1
  213. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  214. package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +0 -2
  215. package/lib/components/ModelCompareV3/translations/zh-Hans.json.js.map +1 -1
  216. package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +0 -2
  217. package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs.map +1 -1
  218. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +0 -2
  219. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js.map +1 -1
  220. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +0 -2
  221. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs.map +1 -1
  222. package/lib/constants/icons/menu/index.d.ts +0 -1
  223. package/lib/constants/icons/menu/index.js +0 -9
  224. package/lib/constants/icons/menu/index.js.map +1 -1
  225. package/lib/constants/icons/menu/index.mjs +0 -2
  226. package/lib/constants/icons/menu/index.mjs.map +1 -1
  227. package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -3
  228. package/lib/constants/proStoreCategories/mapping/index.js +65 -61
  229. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  230. package/lib/constants/proStoreCategories/mapping/index.mjs +63 -60
  231. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  232. package/lib/constants/proStoreCategories/mapping/redirects.js +3 -18
  233. package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
  234. package/lib/constants/proStoreCategories/mapping/redirects.mjs +3 -18
  235. package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
  236. package/lib/constants/proStoreCategories/mapping/uisp.d.ts +0 -1
  237. package/lib/constants/proStoreCategories/mapping/uisp.js +0 -1
  238. package/lib/constants/proStoreCategories/mapping/uisp.js.map +1 -1
  239. package/lib/constants/proStoreCategories/mapping/uisp.mjs +0 -1
  240. package/lib/constants/proStoreCategories/mapping/uisp.mjs.map +1 -1
  241. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +9 -8
  242. package/lib/constants/proStoreCategories/mapping/unifi.js +9 -8
  243. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  244. package/lib/constants/proStoreCategories/mapping/unifi.mjs +9 -8
  245. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  246. package/lib/constants/proStoreCategories/translations/ar.json.js +2 -6
  247. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  248. package/lib/constants/proStoreCategories/translations/ar.json.mjs +3 -6
  249. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  250. package/lib/constants/proStoreCategories/translations/de.json.js +2 -6
  251. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  252. package/lib/constants/proStoreCategories/translations/de.json.mjs +3 -6
  253. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  254. package/lib/constants/proStoreCategories/translations/el.json.js +2 -6
  255. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  256. package/lib/constants/proStoreCategories/translations/el.json.mjs +3 -6
  257. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  258. package/lib/constants/proStoreCategories/translations/en.json.js +2 -3
  259. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  260. package/lib/constants/proStoreCategories/translations/en.json.mjs +2 -3
  261. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  262. package/lib/constants/proStoreCategories/translations/es.json.js +2 -6
  263. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  264. package/lib/constants/proStoreCategories/translations/es.json.mjs +3 -6
  265. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  266. package/lib/constants/proStoreCategories/translations/fr.json.js +2 -3
  267. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  268. package/lib/constants/proStoreCategories/translations/fr.json.mjs +2 -3
  269. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  270. package/lib/constants/proStoreCategories/translations/it.json.js +2 -6
  271. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  272. package/lib/constants/proStoreCategories/translations/it.json.mjs +3 -6
  273. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  274. package/lib/constants/proStoreCategories/translations/ja.json.js +2 -6
  275. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  276. package/lib/constants/proStoreCategories/translations/ja.json.mjs +3 -6
  277. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  278. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +2 -6
  279. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  280. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +3 -6
  281. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  282. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +2 -3
  283. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  284. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +2 -3
  285. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  286. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +2 -3
  287. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  288. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +2 -3
  289. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  290. package/lib/constants/proStoreFilters/mapping.d.ts +1 -17
  291. package/lib/constants/proStoreFilters/mapping.js +0 -16
  292. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  293. package/lib/constants/proStoreFilters/mapping.mjs +0 -16
  294. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  295. package/lib/contexts/MenuContext/mapping.js +0 -12
  296. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  297. package/lib/contexts/MenuContext/mapping.mjs +0 -11
  298. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  299. package/lib/helpers/index.d.ts +0 -1
  300. package/lib/helpers/index.js +0 -11
  301. package/lib/helpers/index.js.map +1 -1
  302. package/lib/helpers/index.mjs +0 -1
  303. package/lib/helpers/index.mjs.map +1 -1
  304. package/lib/types/index.d.ts +0 -1
  305. package/lib/types/index.js +0 -2
  306. package/lib/types/index.js.map +1 -1
  307. package/lib/types/index.mjs +0 -1
  308. package/lib/types/index.mjs.map +1 -1
  309. package/lib/utils/address.d.ts +62 -278
  310. package/lib/utils/address.js +8 -11
  311. package/lib/utils/address.js.map +1 -1
  312. package/lib/utils/address.mjs +8 -11
  313. package/lib/utils/address.mjs.map +1 -1
  314. package/lib/utils/array.d.ts +0 -4
  315. package/lib/utils/array.js +0 -10
  316. package/lib/utils/array.js.map +1 -1
  317. package/lib/utils/array.mjs +1 -10
  318. package/lib/utils/array.mjs.map +1 -1
  319. package/lib/utils/money/constants.d.ts +4 -13
  320. package/lib/utils/money/constants.js +8 -18
  321. package/lib/utils/money/constants.js.map +1 -1
  322. package/lib/utils/money/constants.mjs +9 -19
  323. package/lib/utils/money/constants.mjs.map +1 -1
  324. package/lib/utils/money/tax.d.ts +4 -3
  325. package/lib/utils/money/tax.js +1 -2
  326. package/lib/utils/money/tax.js.map +1 -1
  327. package/lib/utils/money/tax.mjs +3 -4
  328. package/lib/utils/money/tax.mjs.map +1 -1
  329. package/lib/utils/money/tax.private.d.ts +12 -3
  330. package/lib/utils/money/tax.private.js +14 -5
  331. package/lib/utils/money/tax.private.js.map +1 -1
  332. package/lib/utils/money/tax.private.mjs +16 -8
  333. package/lib/utils/money/tax.private.mjs.map +1 -1
  334. package/lib/utils/money/types.d.ts +8 -8
  335. package/package.json +1 -1
  336. package/lib/assets/crestron.svg +0 -3
  337. package/lib/assets/e7-audience.jpg +0 -0
  338. package/lib/assets/e7.jpg +0 -0
  339. package/lib/assets/wifiEnterprise.svg +0 -3
  340. package/lib/components/ModelCompareV3/assets/WiFi/e7-audience.jpg.js +0 -27
  341. package/lib/components/ModelCompareV3/assets/WiFi/e7-audience.jpg.js.map +0 -1
  342. package/lib/components/ModelCompareV3/assets/WiFi/e7-audience.jpg.mjs +0 -3
  343. package/lib/components/ModelCompareV3/assets/WiFi/e7-audience.jpg.mjs.map +0 -1
  344. package/lib/components/ModelCompareV3/assets/WiFi/e7.jpg.js +0 -27
  345. package/lib/components/ModelCompareV3/assets/WiFi/e7.jpg.js.map +0 -1
  346. package/lib/components/ModelCompareV3/assets/WiFi/e7.jpg.mjs +0 -3
  347. package/lib/components/ModelCompareV3/assets/WiFi/e7.jpg.mjs.map +0 -1
  348. package/lib/components/ModelCompareV3/assets/crestron.svg.js +0 -27
  349. package/lib/components/ModelCompareV3/assets/crestron.svg.js.map +0 -1
  350. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +0 -3
  351. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +0 -1
  352. package/lib/components/ModelCompareV3/data/EnterpriseWiFi.d.ts +0 -2
  353. package/lib/components/ModelCompareV3/data/EnterpriseWiFi.js +0 -25
  354. package/lib/components/ModelCompareV3/data/EnterpriseWiFi.js.map +0 -1
  355. package/lib/components/ModelCompareV3/data/EnterpriseWiFi.mjs +0 -23
  356. package/lib/components/ModelCompareV3/data/EnterpriseWiFi.mjs.map +0 -1
  357. package/lib/components/ModelCompareV3/data/products/e7.d.ts +0 -2
  358. package/lib/components/ModelCompareV3/data/products/e7.js +0 -100
  359. package/lib/components/ModelCompareV3/data/products/e7.js.map +0 -1
  360. package/lib/components/ModelCompareV3/data/products/e7.mjs +0 -92
  361. package/lib/components/ModelCompareV3/data/products/e7.mjs.map +0 -1
  362. package/lib/components/ModelCompareV3/data/products/e7Audience.d.ts +0 -2
  363. package/lib/components/ModelCompareV3/data/products/e7Audience.js +0 -100
  364. package/lib/components/ModelCompareV3/data/products/e7Audience.js.map +0 -1
  365. package/lib/components/ModelCompareV3/data/products/e7Audience.mjs +0 -92
  366. package/lib/components/ModelCompareV3/data/products/e7Audience.mjs.map +0 -1
  367. package/lib/components/ModelCompareV3/data/products/e7Campus.d.ts +0 -2
  368. package/lib/components/ModelCompareV3/data/products/e7Campus.js +0 -100
  369. package/lib/components/ModelCompareV3/data/products/e7Campus.js.map +0 -1
  370. package/lib/components/ModelCompareV3/data/products/e7Campus.mjs +0 -92
  371. package/lib/components/ModelCompareV3/data/products/e7Campus.mjs.map +0 -1
  372. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +0 -2
  373. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +0 -18
  374. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +0 -1
  375. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +0 -10
  376. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +0 -1
  377. package/lib/components/ModelCompareV3/data/properties/wifi6Technology.d.ts +0 -2
  378. package/lib/components/ModelCompareV3/data/properties/wifi6Technology.js +0 -18
  379. package/lib/components/ModelCompareV3/data/properties/wifi6Technology.js.map +0 -1
  380. package/lib/components/ModelCompareV3/data/properties/wifi6Technology.mjs +0 -10
  381. package/lib/components/ModelCompareV3/data/properties/wifi6Technology.mjs.map +0 -1
  382. package/lib/constants/icons/menu/wifiEnterprise.svg.js +0 -27
  383. package/lib/constants/icons/menu/wifiEnterprise.svg.js.map +0 -1
  384. package/lib/constants/icons/menu/wifiEnterprise.svg.mjs +0 -3
  385. package/lib/constants/icons/menu/wifiEnterprise.svg.mjs.map +0 -1
  386. package/lib/helpers/product.d.ts +0 -87
  387. package/lib/helpers/product.js +0 -346
  388. package/lib/helpers/product.js.map +0 -1
  389. package/lib/helpers/product.mjs +0 -335
  390. package/lib/helpers/product.mjs.map +0 -1
  391. package/lib/helpers/product.test.d.ts +0 -1
  392. package/lib/types/product.d.ts +0 -87
  393. package/lib/types/product.js +0 -14
  394. package/lib/types/product.js.map +0 -1
  395. package/lib/types/product.mjs +0 -13
  396. package/lib/types/product.mjs.map +0 -1
  397. package/lib/utils/productSort.d.ts +0 -41
  398. package/lib/utils/productSort.js +0 -67
  399. package/lib/utils/productSort.js.map +0 -1
  400. package/lib/utils/productSort.mjs +0 -60
  401. package/lib/utils/productSort.mjs.map +0 -1
  402. package/lib/utils/validations/lastNameSuperRefinement.d.ts +0 -11
  403. package/lib/utils/validations/lastNameSuperRefinement.js +0 -25
  404. package/lib/utils/validations/lastNameSuperRefinement.js.map +0 -1
  405. package/lib/utils/validations/lastNameSuperRefinement.mjs +0 -21
  406. package/lib/utils/validations/lastNameSuperRefinement.mjs.map +0 -1
@@ -1,92 +0,0 @@
1
- import '../../../../constants/proStoreCategories/index.mjs';
2
- import { SiteId } from '../../../../contexts/MenuContext/mapping.mjs';
3
- import '../../assets/WiFi/e7.jpg.mjs';
4
- import '../properties/index.mjs';
5
- import { UniFiCategoryId } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
6
- import image__default from "../../../../assets/e7.jpg";
7
- import { wifiMounting } from '../properties/wifiMounting.mjs';
8
- import { wifi6Technology } from '../properties/wifi6Technology.mjs';
9
- import { radio6Ghz } from '../properties/radio6Ghz.mjs';
10
- import { wifiCoverage } from '../properties/coverage.mjs';
11
- import { connectedDevices } from '../properties/connectedDevices.mjs';
12
- import { integratedSwitch } from '../properties/integratedSwitch.mjs';
13
- import { powerMethodPoe } from '../properties/powerMethodPoe.mjs';
14
- import { uplink } from '../properties/uplink.mjs';
15
- import { customization } from '../properties/customization.mjs';
16
- "use strict";
17
- const e7Campus = {
18
- id: "e7Campus",
19
- title: "e7Campus.title",
20
- techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.WiFi}/e7-campus`],
21
- storePathParts: {
22
- productSlug: "e7Campus",
23
- category: "wifi-enterprise"
24
- },
25
- sku: "E7-Campus",
26
- description: "e7Campus.description",
27
- image: {
28
- src: image__default,
29
- width: 250,
30
- height: 182.5
31
- },
32
- isNew: true,
33
- propertyValues: [{
34
- propertyId: wifiMounting.id,
35
- value: {
36
- type: "translation",
37
- value: "e7Campus.mounting",
38
- asterisk: 1
39
- }
40
- }, {
41
- propertyId: wifi6Technology.id,
42
- value: {
43
- type: "translation",
44
- value: "e7Campus.wifi6Technology"
45
- }
46
- }, {
47
- propertyId: radio6Ghz.id,
48
- value: {
49
- type: "boolean",
50
- value: true
51
- }
52
- }, {
53
- propertyId: wifiCoverage.id,
54
- value: {
55
- type: "translation",
56
- value: "e7Campus.wifiCoverage"
57
- }
58
- }, {
59
- propertyId: connectedDevices.id,
60
- value: {
61
- type: "string",
62
- value: "300+"
63
- }
64
- }, {
65
- propertyId: integratedSwitch.id,
66
- value: {
67
- type: "boolean",
68
- value: false
69
- }
70
- }, {
71
- propertyId: powerMethodPoe.id,
72
- value: {
73
- type: "string",
74
- value: "PoE+"
75
- }
76
- }, {
77
- propertyId: uplink.id,
78
- value: {
79
- type: "string",
80
- value: "2.5 GbE"
81
- }
82
- }, {
83
- propertyId: customization.id,
84
- value: {
85
- type: "translation",
86
- value: "e7Campus.customization"
87
- }
88
- }],
89
- notes: ["e7Campus.notes.1"]
90
- };
91
- export { e7Campus };
92
- //# sourceMappingURL=e7Campus.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"e7Campus.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/e7Campus.tsx"],"sourcesContent":["import { UniFiCategoryId } from \"../../../../constants/proStoreCategories\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport image from \"../../assets/WiFi/e7.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport {\n connectedDevices,\n customization,\n integratedSwitch,\n powerMethodPoe,\n radio6Ghz,\n uplink,\n wifi6Technology,\n wifiCoverage,\n wifiMounting,\n} from \"../properties\";\n\nexport const e7Campus: Product = {\n id: \"e7Campus\",\n title: \"e7Campus.title\",\n techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.WiFi}/e7-campus`],\n storePathParts: {\n productSlug: \"e7Campus\",\n category: \"wifi-enterprise\",\n },\n sku: \"E7-Campus\",\n description: \"e7Campus.description\",\n image: {\n src: image,\n width: 250,\n height: 182.5,\n },\n isNew: true,\n propertyValues: [\n {\n propertyId: wifiMounting.id,\n value: { type: \"translation\", value: \"e7Campus.mounting\", asterisk: 1 },\n },\n {\n propertyId: wifi6Technology.id,\n value: { type: \"translation\", value: \"e7Campus.wifi6Technology\" },\n },\n {\n propertyId: radio6Ghz.id,\n value: { type: \"boolean\", value: true },\n },\n {\n propertyId: wifiCoverage.id,\n value: { type: \"translation\", value: \"e7Campus.wifiCoverage\" },\n },\n {\n propertyId: connectedDevices.id,\n value: { type: \"string\", value: \"300+\" },\n },\n {\n propertyId: integratedSwitch.id,\n value: { type: \"boolean\", value: false },\n },\n {\n propertyId: powerMethodPoe.id,\n value: { type: \"string\", value: \"PoE+\" },\n },\n {\n propertyId: uplink.id,\n value: { type: \"string\", value: \"2.5 GbE\" },\n },\n {\n propertyId: customization.id,\n value: { type: \"translation\", value: \"e7Campus.customization\" },\n },\n ],\n notes: [\"e7Campus.notes.1\"],\n};\n"],"names":["e7Campus","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","WiFi","storePathParts","productSlug","category","sku","description","image","src","width","height","isNew","propertyValues","propertyId","wifiMounting","value","type","asterisk","wifi6Technology","radio6Ghz","wifiCoverage","connectedDevices","integratedSwitch","powerMethodPoe","uplink","customization","notes"],"mappings":";;;;;;;;;;;;;;;;AAgBO,MAAMA,QAAoB,GAAA;EAC/BC,EAAI,EAAA,UAAA;EACJC,KAAO,EAAA,gBAAA;EACPC,eAAe,CAACC,MAAA,CAAOC,WAAqB,UAAAC,eAAA,CAAgBC,IAAgB,YAAA,CAAA;EAC5EC,cAAgB,EAAA;IACdC,WAAa,EAAA,UAAA;IACbC,QAAU,EAAA;EACZ,CAAA;EACAC,GAAK,EAAA,WAAA;EACLC,WAAa,EAAA,sBAAA;EACbC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,KAAO,EAAA,IAAA;EACPC,cAAgB,EAAA,CACd;IACEC,YAAYC,YAAa,CAAAnB,EAAA;IACzBoB,OAAO;MAAEC,IAAA,EAAM;MAAeD,KAAO,EAAA,mBAAA;MAAqBE,UAAU;IAAE;EACxE,CAAA,EACA;IACEJ,YAAYK,eAAgB,CAAAvB,EAAA;IAC5BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAA2B;EAClE,CAAA,EACA;IACEF,YAAYM,SAAU,CAAAxB,EAAA;IACtBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAK;EACxC,CAAA,EACA;IACEF,YAAYO,YAAa,CAAAzB,EAAA;IACzBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAwB;EAC/D,CAAA,EACA;IACEF,YAAYQ,gBAAiB,CAAA1B,EAAA;IAC7BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAO;EACzC,CAAA,EACA;IACEF,YAAYS,gBAAiB,CAAA3B,EAAA;IAC7BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,SAAA;MAAWD,OAAO;IAAM;EACzC,CAAA,EACA;IACEF,YAAYU,cAAe,CAAA5B,EAAA;IAC3BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAO;EACzC,CAAA,EACA;IACEF,YAAYW,MAAO,CAAA7B,EAAA;IACnBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,QAAA;MAAUD,OAAO;IAAU;EAC5C,CAAA,EACA;IACEF,YAAYY,aAAc,CAAA9B,EAAA;IAC1BoB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAyB;EAChE,CAAA,CACF;EACAW,KAAA,EAAO,CAAC,kBAAkB;AAC5B,CAAA;"}
@@ -1,2 +0,0 @@
1
- import type { Property } from "../../ModelCompareV3.types";
2
- export declare const crestronNaxNvxCertified: Property;
@@ -1,18 +0,0 @@
1
- 'use strict';
2
-
3
- require('../../assets/crestron.svg.js');
4
- var icon = require("../../../../assets/crestron.svg");
5
- function _interopDefault(e) {
6
- return e && e.__esModule ? e : {
7
- default: e
8
- };
9
- }
10
- var icon__default = /*#__PURE__*/_interopDefault(icon);
11
- "use strict";
12
- const crestronNaxNvxCertified = {
13
- id: "crestronNaxNvxCertified",
14
- title: "crestronNaxNvxCertified.title",
15
- icon: icon__default["default"]
16
- };
17
- exports.crestronNaxNvxCertified = crestronNaxNvxCertified;
18
- //# sourceMappingURL=crestronNaxNvxCertified.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crestronNaxNvxCertified.js","sources":["../../../../../src/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.tsx"],"sourcesContent":["import icon from \"../../assets/crestron.svg\";\nimport type { Property } from \"../../ModelCompareV3.types\";\n\nexport const crestronNaxNvxCertified: Property = {\n id: \"crestronNaxNvxCertified\",\n title: \"crestronNaxNvxCertified.title\",\n icon,\n};\n"],"names":["crestronNaxNvxCertified","id","title","icon"],"mappings":";;;;;;;;;;;AAGO,MAAMA,uBAAoC,GAAA;EAC/CC,EAAI,EAAA,yBAAA;EACJC,KAAO,EAAA,+BAAA;EAAAC,IAAA,EACPA,aAAA,CAAA,SAAA;AACF,CAAA;"}
@@ -1,10 +0,0 @@
1
- import '../../assets/crestron.svg.mjs';
2
- import icon__default from "../../../../assets/crestron.svg";
3
- "use strict";
4
- const crestronNaxNvxCertified = {
5
- id: "crestronNaxNvxCertified",
6
- title: "crestronNaxNvxCertified.title",
7
- icon: icon__default
8
- };
9
- export { crestronNaxNvxCertified };
10
- //# sourceMappingURL=crestronNaxNvxCertified.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crestronNaxNvxCertified.mjs","sources":["../../../../../src/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.tsx"],"sourcesContent":["import icon from \"../../assets/crestron.svg\";\nimport type { Property } from \"../../ModelCompareV3.types\";\n\nexport const crestronNaxNvxCertified: Property = {\n id: \"crestronNaxNvxCertified\",\n title: \"crestronNaxNvxCertified.title\",\n icon,\n};\n"],"names":["crestronNaxNvxCertified","id","title","icon"],"mappings":";;;AAGO,MAAMA,uBAAoC,GAAA;EAC/CC,EAAI,EAAA,yBAAA;EACJC,KAAO,EAAA,+BAAA;EAAAC,IAAA,EACPA;AACF,CAAA;"}
@@ -1,2 +0,0 @@
1
- import type { Property } from "../../ModelCompareV3.types";
2
- export declare const wifi6Technology: Property;
@@ -1,18 +0,0 @@
1
- 'use strict';
2
-
3
- require('../../assets/wifi6.svg.js');
4
- var icon = require("../../../../assets/wifi62.svg");
5
- function _interopDefault(e) {
6
- return e && e.__esModule ? e : {
7
- default: e
8
- };
9
- }
10
- var icon__default = /*#__PURE__*/_interopDefault(icon);
11
- "use strict";
12
- const wifi6Technology = {
13
- id: "wifi6Technology",
14
- title: "wifi6Technology.title",
15
- icon: icon__default["default"]
16
- };
17
- exports.wifi6Technology = wifi6Technology;
18
- //# sourceMappingURL=wifi6Technology.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wifi6Technology.js","sources":["../../../../../src/components/ModelCompareV3/data/properties/wifi6Technology.tsx"],"sourcesContent":["import icon from \"../../assets/wifi6.svg\";\nimport type { Property } from \"../../ModelCompareV3.types\";\n\nexport const wifi6Technology: Property = {\n id: \"wifi6Technology\",\n title: \"wifi6Technology.title\",\n icon,\n};\n"],"names":["wifi6Technology","id","title","icon"],"mappings":";;;;;;;;;;;AAGO,MAAMA,eAA4B,GAAA;EACvCC,EAAI,EAAA,iBAAA;EACJC,KAAO,EAAA,uBAAA;EAAAC,IAAA,EACPA,aAAA,CAAA,SAAA;AACF,CAAA;"}
@@ -1,10 +0,0 @@
1
- import '../../assets/wifi6.svg.mjs';
2
- import icon__default from "../../../../assets/wifi62.svg";
3
- "use strict";
4
- const wifi6Technology = {
5
- id: "wifi6Technology",
6
- title: "wifi6Technology.title",
7
- icon: icon__default
8
- };
9
- export { wifi6Technology };
10
- //# sourceMappingURL=wifi6Technology.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wifi6Technology.mjs","sources":["../../../../../src/components/ModelCompareV3/data/properties/wifi6Technology.tsx"],"sourcesContent":["import icon from \"../../assets/wifi6.svg\";\nimport type { Property } from \"../../ModelCompareV3.types\";\n\nexport const wifi6Technology: Property = {\n id: \"wifi6Technology\",\n title: \"wifi6Technology.title\",\n icon,\n};\n"],"names":["wifi6Technology","id","title","icon"],"mappings":";;;AAGO,MAAMA,eAA4B,GAAA;EACvCC,EAAI,EAAA,iBAAA;EACJC,KAAO,EAAA,uBAAA;EAAAC,IAAA,EACPA;AACF,CAAA;"}
@@ -1,27 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', {
4
- value: true
5
- });
6
- var _externalAssets_lZbdiTvk = require("../../../assets/wifiEnterprise.svg");
7
- function _interopDefault(e) {
8
- return e && e.__esModule ? e : {
9
- default: e
10
- };
11
- }
12
- var _externalAssets_lZbdiTvk__default = /*#__PURE__*/_interopDefault(_externalAssets_lZbdiTvk);
13
- Object.defineProperty(exports, "default", {
14
- enumerable: true,
15
- get: function () {
16
- return _externalAssets_lZbdiTvk__default["default"];
17
- }
18
- });
19
- Object.keys(_externalAssets_lZbdiTvk).forEach(function (k) {
20
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
- enumerable: true,
22
- get: function () {
23
- return _externalAssets_lZbdiTvk[k];
24
- }
25
- });
26
- });
27
- //# sourceMappingURL=wifiEnterprise.svg.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wifiEnterprise.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,3 +0,0 @@
1
- export * from "../../../assets/wifiEnterprise.svg";
2
- export { default } from "../../../assets/wifiEnterprise.svg";
3
- //# sourceMappingURL=wifiEnterprise.svg.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wifiEnterprise.svg.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,87 +0,0 @@
1
- import type { ParsedCategoryItem } from "../constants/proStoreCategories";
2
- import type { CollectionSection, MappedProductSection, Nullish, ProductTagFragment, Section, StorefrontOption, StorefrontProduct, StoreId } from "../types";
3
- export declare const isNonNullish: <T>(entry: T | null | undefined) => entry is T;
4
- /**
5
- * Removes products that have tag starting with `EXCLUDE_PRODUCT_FROM_STORE_GRID_TAG_PREFIX`
6
- * and ends with `storeId`, e.g. `"exclude-from-store-grid:us`
7
- *
8
- * @warning Use this function only on grid and breadcrumbs products
9
- */
10
- export declare const removeExcludedProducts: <T extends {
11
- tags: ProductTagFragment[];
12
- }>(products: T[], storeId: StoreId) => T[];
13
- export declare enum HDDProductSlugs {
14
- HDD_1TB = "uacc-hdd-s-1tb",
15
- HDD_8TB_Enterprise = "uacc-hdd-e-8tb",
16
- HDD_16TB_Enterprise = "uacc-hdd-e-16tb"
17
- }
18
- /**
19
- * Recursively create section hierarchy
20
- */
21
- export declare const createSectionHierarchy: (sections: CollectionSection[], level?: number) => Section[];
22
- export declare enum MagicCollectionTags {
23
- /**
24
- * Used to determine if collection should be shown in an accessory
25
- * layout style where sections are placed inside variant cards
26
- */
27
- LayoutAccessories = "layout-accessories",
28
- /**
29
- * Used to determine if collection is pro-store specific and should
30
- * be redirected to pro-store's appropriate category
31
- */
32
- ProStore = "pro-store",
33
- /**
34
- * Used to disable length options (disable product splitting by "length")
35
- */
36
- DisableLengthOptions = "disable-length-options",
37
- /**
38
- * Used to disable speed options (disable product splitting by "speed")
39
- */
40
- DisableSpeedOptions = "disable-speed-options"
41
- }
42
- export declare enum ProductOptions {
43
- Length = "length",
44
- Speed = "speed",
45
- Color = "color"
46
- }
47
- export declare const COLLECTION_SECTION_OTHER_ID = "other";
48
- /**
49
- * Create product groups
50
- */
51
- export declare const getProductGroups: <T extends StorefrontProduct & {
52
- options: StorefrontOption[];
53
- }>(products?: T[], sectionHierarchy?: Nullish<Section[]>, tags?: Array<{
54
- id: string;
55
- name: string;
56
- }>) => MappedProductSection<T>[] | undefined;
57
- export declare const getProStoreCategory: ({ queryCategory, product, ignoreQuery, }: {
58
- queryCategory?: string;
59
- product: Pick<StorefrontProduct, "collectionSlug" | "organizationalCollectionSlug" | "proCollectionSlug">;
60
- ignoreQuery?: boolean;
61
- }) => string | null;
62
- type StoreProductsData = ({
63
- category: {
64
- id: string;
65
- label: string | null;
66
- } | undefined;
67
- } & {
68
- products: StorefrontProduct[];
69
- }) | {
70
- productGroups: MappedProductSection<StorefrontProduct>[];
71
- };
72
- export declare const getStoreProducts: ({ storeId, queryCategory, currentProduct, collections, allCategoryItems, }: {
73
- storeId: StoreId;
74
- queryCategory: string | undefined;
75
- currentProduct: Pick<StorefrontProduct, "id" | "slug" | "collectionSlug" | "organizationalCollectionSlug" | "proCollectionSlug">;
76
- collections: Array<{
77
- slug: string;
78
- sections: Array<{
79
- id: string;
80
- title: string;
81
- productTags: Array<string>;
82
- }>;
83
- products: Array<Pick<StorefrontProduct, "id" | "slug" | "tags" | "variants" | "options" | "title" | "status" | "minDisplayPrice">>;
84
- }>;
85
- allCategoryItems: ParsedCategoryItem[];
86
- }) => StoreProductsData;
87
- export {};
@@ -1,346 +0,0 @@
1
- 'use strict';
2
-
3
- var lodashEs = require('lodash-es');
4
- require('../constants/proStoreCategories/index.js');
5
- require('../types/index.js');
6
- var array = require('../utils/array.js');
7
- var productSort = require('../utils/productSort.js');
8
- var proStoreCategories = require('./proStoreCategories.js');
9
- var unifi = require('../constants/proStoreCategories/mapping/unifi.js');
10
- var uisp = require('../constants/proStoreCategories/mapping/uisp.js');
11
- var product = require('../types/product.js');
12
- "use strict";
13
- const isNonNullish = entry => entry !== null && entry !== void 0;
14
- const EXCLUDE_PRODUCT_FROM_STORE_GRID_TAG_PREFIX = "exclude-from-store-grid:";
15
- const removeExcludedProducts = (products, storeId) => {
16
- const excludeTag = `${EXCLUDE_PRODUCT_FROM_STORE_GRID_TAG_PREFIX}${storeId}`.toLowerCase();
17
- return products.filter(product => {
18
- return !product.tags.some(tag => tag.name.toLowerCase() === excludeTag);
19
- });
20
- };
21
- const isAccessoryCategoryItem = categoryItem => {
22
- return !!categoryItem && [unifi.UniFiCategoryId.Accessories, uisp.UISPCategoryId.AccessoryTech].includes(
23
- // TODO: Check why this TS error appears
24
- // @ts-expect-error: Unreachable code error
25
- categoryItem.id);
26
- };
27
- var HDDProductSlugs = /* @__PURE__ */(HDDProductSlugs2 => {
28
- HDDProductSlugs2["HDD_1TB"] = "uacc-hdd-s-1tb";
29
- HDDProductSlugs2["HDD_8TB_Enterprise"] = "uacc-hdd-e-8tb";
30
- HDDProductSlugs2["HDD_16TB_Enterprise"] = "uacc-hdd-e-16tb";
31
- return HDDProductSlugs2;
32
- })(HDDProductSlugs || {});
33
- const isAllowedAccessoryCategoryProduct = ({
34
- slug
35
- }) => {
36
- const allowedAccessoryProductSlugs = ["u-lte", "u-lte-backup-pro", "uacc-hdd-s-1tb" /* HDD_1TB */, "uacc-hdd-e-8tb" /* HDD_8TB_Enterprise */, "uacc-hdd-e-16tb" /* HDD_16TB_Enterprise */];
37
- return allowedAccessoryProductSlugs.includes(slug);
38
- };
39
- const isAccessoryCategorySubItem = (categorySubItem, allCategoryItems) => {
40
- const categoryItem = allCategoryItems.find(item => item.items?.some(subItem => subItem.id === categorySubItem.id));
41
- return isAccessoryCategoryItem(categoryItem);
42
- };
43
- const createSectionHierarchy = (sections, level = 1) => {
44
- const currentLevelSections = sections.filter(section => section.productTags.length === level);
45
- if (!currentLevelSections.length) {
46
- return [];
47
- }
48
- return currentLevelSections.map(section => ({
49
- ...section,
50
- items: createSectionHierarchy(sections.filter(nextSection => section.productTags.every(tag => nextSection.productTags.includes(tag))), level + 1)
51
- }));
52
- };
53
- var MagicCollectionTags = /* @__PURE__ */(MagicCollectionTags2 => {
54
- MagicCollectionTags2["LayoutAccessories"] = "layout-accessories";
55
- MagicCollectionTags2["ProStore"] = "pro-store";
56
- MagicCollectionTags2["DisableLengthOptions"] = "disable-length-options";
57
- MagicCollectionTags2["DisableSpeedOptions"] = "disable-speed-options";
58
- return MagicCollectionTags2;
59
- })(MagicCollectionTags || {});
60
- var ProductOptions = /* @__PURE__ */(ProductOptions2 => {
61
- ProductOptions2["Length"] = "length";
62
- ProductOptions2["Speed"] = "speed";
63
- ProductOptions2["Color"] = "color";
64
- return ProductOptions2;
65
- })(ProductOptions || {});
66
- const formatOptionValueTitleToTag = optionValueTitle => optionValueTitle.toLowerCase().replace(/[,\s]/g, "").replace(".", "-");
67
- const divideProductByOption = (product, optionTitle) => {
68
- const option = product.options.find(option2 => option2.slug === optionTitle);
69
- if (!option) {
70
- return [product];
71
- }
72
- return option.values.map(value => {
73
- return {
74
- ...product,
75
- options: product.options.filter(option2 => option2.slug !== optionTitle),
76
- tags: [...product.tags, {
77
- id: value.id,
78
- name: formatOptionValueTitleToTag(value.slug)
79
- }],
80
- variants: product.variants.filter(variant => variant.optionValueIds?.includes(value.id))
81
- };
82
- });
83
- };
84
- const COLLECTION_SECTION_OTHER_ID = "other";
85
- const UNIT_FACTORS = {
86
- m: 1,
87
- km: 1e3
88
- };
89
- const DISTANCE_REGEX = /^\s*(\d+)\s*(m|km)\s*$/;
90
- const mapProductsToSections = (products, section) => {
91
- const productsInThisSection = products.filter(product => {
92
- return section.productTags.every(sectionTag => {
93
- return product.tags.find(tag => tag.name === sectionTag);
94
- });
95
- });
96
- if (productsInThisSection.length === 0) {
97
- return void 0;
98
- }
99
- const items = section?.items?.map(item => mapProductsToSections(productsInThisSection, item)).filter(isNonNullish) ?? [];
100
- const otherProducts = productsInThisSection.filter(product => {
101
- return !items.some(item => item.products.find(p => p.id === product.id));
102
- });
103
- if (otherProducts.length && items.length) {
104
- items.push({
105
- id: `${section.id}-${COLLECTION_SECTION_OTHER_ID}`,
106
- // TODO: Add translation
107
- title: "Other",
108
- productTags: section.productTags,
109
- items: [],
110
- products: otherProducts
111
- });
112
- }
113
- return {
114
- ...section,
115
- items,
116
- products: productsInThisSection
117
- };
118
- };
119
- const compareDistanceTitles = (a, b) => {
120
- const aMatch = a.title.match(DISTANCE_REGEX);
121
- const bMatch = b.title.match(DISTANCE_REGEX);
122
- if (!aMatch?.[1] || !aMatch[2] || !bMatch?.[1] || !bMatch[2]) {
123
- return 0;
124
- }
125
- const aValue = parseInt(aMatch[1]) * (UNIT_FACTORS[aMatch[2]] || 0);
126
- const bValue = parseInt(bMatch[1]) * (UNIT_FACTORS[bMatch[2]] || 0);
127
- return aValue - bValue;
128
- };
129
- const processSectionProductsWithDistanceInOptions = sections => {
130
- return sections.map(section => ({
131
- ...section,
132
- items: section.items.map(sec => {
133
- const section2 = lodashEs.cloneDeep(sec);
134
- const sectionWithDistanceTag = section2.items.find(section3 => section3.productTags.includes("distance"));
135
- const sectionsMainProductTag = sectionWithDistanceTag?.productTags.filter(tag => tag !== "distance");
136
- if (!sectionWithDistanceTag || !sectionsMainProductTag) {
137
- return section2;
138
- }
139
- sectionWithDistanceTag.products.forEach(product => {
140
- const optionValues = product?.options[0]?.values;
141
- if (!optionValues?.length) {
142
- return;
143
- }
144
- const formattedOptionValues = optionValues.map(value => ({
145
- ...value,
146
- titleInTagFormat: formatOptionValueTitleToTag(value.title)
147
- }));
148
- formattedOptionValues.forEach(currentValue => {
149
- const newSecondLevelSectionsTags = [...sectionsMainProductTag, currentValue.titleInTagFormat];
150
- const alreadyExistingSecondLevelSection = section2.items.findIndex(section3 => array.areEqualArrays(section3.productTags, newSecondLevelSectionsTags));
151
- const variantToAdd = product.variants.find(variant => variant.optionValueIds?.includes(currentValue.id));
152
- if (!variantToAdd) {
153
- return;
154
- }
155
- const productToAdd = {
156
- ...product,
157
- options: product.options.filter(option => option.values.some(value => value.id === currentValue.id)).map(option => ({
158
- ...option,
159
- values: option.values.filter(value => value.id === currentValue.id)
160
- })),
161
- variants: [variantToAdd]
162
- };
163
- if (alreadyExistingSecondLevelSection >= 0) {
164
- section2.items[alreadyExistingSecondLevelSection]?.products.push(productToAdd);
165
- } else {
166
- const sectionToAdd = {
167
- id: currentValue.id,
168
- // TODO: Maybe so>me different ID would be better
169
- items: [],
170
- // FIXME: This is problem!
171
- products: [productToAdd],
172
- productTags: newSecondLevelSectionsTags,
173
- title: currentValue.title
174
- };
175
- section2.items.push(sectionToAdd);
176
- }
177
- });
178
- });
179
- return {
180
- ...section2,
181
- items: section2.items.sort(compareDistanceTitles).filter(section3 => !section3.productTags.includes("distance"))
182
- };
183
- })
184
- }));
185
- };
186
- const processSectionsWithOutOfStockProducts = section => {
187
- const isDisabled = section.products.every(product$1 => product$1.variants.every(variant => variant.status !== product.DisplayProductStatus.Available));
188
- return {
189
- ...section,
190
- isDisabled,
191
- items: section.items.map(processSectionsWithOutOfStockProducts)
192
- };
193
- };
194
- const getProductGroups = (products, sectionHierarchy, tags) => {
195
- if (!products?.length || !sectionHierarchy) return void 0;
196
- const processedProducts = products.flatMap(product => {
197
- const disableLengthOptions = tags?.find(tag => tag.name === "disable-length-options" /* DisableLengthOptions */);
198
- const lengthOptions = !disableLengthOptions && product?.options?.find(option => option.slug === "length" /* Length */);
199
- if (lengthOptions && product.options !== void 0) {
200
- return divideProductByOption(product, "length" /* Length */);
201
- }
202
- const disableSpeedOptions = tags?.find(tag => tag.name === "disable-speed-options" /* DisableSpeedOptions */);
203
- const speedOptions = !disableSpeedOptions && product?.options?.find(option => {
204
- return option.slug === "speed" /* Speed */;
205
- });
206
- if (speedOptions) {
207
- return divideProductByOption(product, "speed" /* Speed */);
208
- }
209
- return [product];
210
- });
211
- const mappedProductGroups = sectionHierarchy.map(section => {
212
- return mapProductsToSections(processedProducts, section);
213
- }).filter(section => !!section);
214
- const otherProducts = products.filter(product => {
215
- return !mappedProductGroups.some(section => {
216
- return section.products.find(p => p.id === product.id);
217
- });
218
- });
219
- if (otherProducts.length) {
220
- otherProducts.forEach(product => {
221
- mappedProductGroups.push({
222
- id: product.id,
223
- products: [product],
224
- title: "",
225
- items: [],
226
- productTags: []
227
- });
228
- });
229
- }
230
- const processedProductGroups = processSectionProductsWithDistanceInOptions(mappedProductGroups).map(processSectionsWithOutOfStockProducts);
231
- return processedProductGroups.sort((a, b) => {
232
- const aFirstProductId = a?.products?.[0]?.id;
233
- const bFirstProductId = b?.products?.[0]?.id;
234
- const aFirstProduct = products.findIndex(product => product.id === aFirstProductId);
235
- const bFirstProduct = products.findIndex(product => product.id === bFirstProductId);
236
- return aFirstProduct - bFirstProduct;
237
- });
238
- };
239
- const getProStoreCategory = ({
240
- queryCategory,
241
- product,
242
- ignoreQuery
243
- }) => {
244
- return (
245
- /**
246
- * If category specified via the url search/query parameter then use it
247
- */
248
- !ignoreQuery && queryCategory ||
249
- /**
250
- * Attempt to find category by it's default collection or fallback to the virtual default collection
251
- */
252
- proStoreCategories.getSubCategoryIdByCollectionSlug(product.collectionSlug) || proStoreCategories.getSubCategoryIdByCollectionSlug(product.organizationalCollectionSlug) ||
253
- /**
254
- * If all else fails fallback detecting to category from pro store collection, unlikely but wouldn't hurt to do so
255
- */
256
- proStoreCategories.getSubCategoryIdByCollectionSlug(product.proCollectionSlug)
257
- );
258
- };
259
- const getStoreProducts = ({
260
- storeId,
261
- queryCategory,
262
- currentProduct,
263
- collections,
264
- allCategoryItems
265
- }) => {
266
- const returnObj = {
267
- category: void 0,
268
- products: []
269
- };
270
- const category = getProStoreCategory({
271
- queryCategory,
272
- product: currentProduct
273
- });
274
- const categoryItem = allCategoryItems.find(item => item.items?.some(subItem => subItem.id === category));
275
- const categorySubItem = categoryItem?.items?.find(subItem => subItem.id === category);
276
- const categoryId = categorySubItem?.id ?? category;
277
- if (categoryId) {
278
- returnObj.category = {
279
- id: categoryId,
280
- label: categoryItem?.label ?? null
281
- };
282
- }
283
- const filteredCollections = collections.map(collection => ({
284
- ...collection,
285
- products: removeExcludedProducts(collection.products, storeId)
286
- }));
287
- if (categoryItem?.hideSubItems) {
288
- const products = filteredCollections.flatMap(collection => collection.products);
289
- if (isAccessoryCategoryItem(categoryItem)) {
290
- returnObj.products = isAllowedAccessoryCategoryProduct(currentProduct) ? products.filter(isAllowedAccessoryCategoryProduct) : [];
291
- } else {
292
- returnObj.products = products;
293
- }
294
- } else {
295
- const collection = filteredCollections.find(collection2 => collection2.products.some(el => el.id === currentProduct.id));
296
- if (!collection) {
297
- throw new Error("Collection not found");
298
- }
299
- const subItems = (categoryItem?.items?.slice(1) ?? allCategoryItems.flatMap(el => el.items?.slice(1))).filter(Boolean);
300
- const subItem = subItems.find(item => item.collectionSlugs.includes(collection.slug));
301
- if (subItem && returnObj.category) {
302
- returnObj.category = {
303
- id: subItem.id,
304
- label: subItem.label
305
- };
306
- }
307
- const subItemCollections = filteredCollections.filter(el => subItem?.collectionSlugs.includes(el.slug));
308
- const products = subItemCollections.flatMap(el => el.products);
309
- if (subItem) {
310
- if (isAccessoryCategorySubItem(subItem, allCategoryItems)) {
311
- returnObj.products = isAllowedAccessoryCategoryProduct(currentProduct) ? products.filter(isAllowedAccessoryCategoryProduct) : [];
312
- } else {
313
- returnObj.products = products;
314
- }
315
- }
316
- const sections = subItemCollections.flatMap(el => el.sections);
317
- const sectionHierarchy = createSectionHierarchy(sections);
318
- const productGroups = getProductGroups(products, sectionHierarchy);
319
- if (productGroups) {
320
- return {
321
- category: returnObj.category,
322
- productGroups: productGroups.sort((a, b) => {
323
- if (a.products[0] && b.products[0]) {
324
- return productSort.sortProducts(null, storeId)(a.products[0], b.products[0]);
325
- }
326
- return 0;
327
- })
328
- };
329
- }
330
- }
331
- return {
332
- ...returnObj,
333
- products: returnObj.products.sort(productSort.sortProducts(null, storeId))
334
- };
335
- };
336
- exports.COLLECTION_SECTION_OTHER_ID = COLLECTION_SECTION_OTHER_ID;
337
- exports.HDDProductSlugs = HDDProductSlugs;
338
- exports.MagicCollectionTags = MagicCollectionTags;
339
- exports.ProductOptions = ProductOptions;
340
- exports.createSectionHierarchy = createSectionHierarchy;
341
- exports.getProStoreCategory = getProStoreCategory;
342
- exports.getProductGroups = getProductGroups;
343
- exports.getStoreProducts = getStoreProducts;
344
- exports.isNonNullish = isNonNullish;
345
- exports.removeExcludedProducts = removeExcludedProducts;
346
- //# sourceMappingURL=product.js.map