@ubnt/store.core 9.15.0-alpha.3 → 9.15.0-prealpha.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 (306) hide show
  1. package/CHANGELOG.md +1 -138
  2. package/lib/_virtual/_virtual_multi-entry.js +12 -27
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +10 -14
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/assets/close.svg +1 -3
  7. package/lib/assets/close2.svg +2 -3
  8. package/lib/assets/close3.svg +4 -1
  9. package/lib/assets/minus4.svg +8 -8
  10. package/lib/assets/minus5.svg +8 -8
  11. package/lib/assets/pause.svg +3 -3
  12. package/lib/assets/pause2.svg +3 -3
  13. package/lib/assets/plus5.svg +9 -9
  14. package/lib/assets/plus6.svg +9 -9
  15. package/lib/assets/ucgMax.jpg +0 -0
  16. package/lib/assets/ucgMax2.jpg +0 -0
  17. package/lib/assets/ucgUltra.jpg +0 -0
  18. package/lib/assets/ucgUltra2.jpg +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/CustomImage/CustomImage.js +1 -1
  26. package/lib/components/CustomImage/CustomImage.mjs +1 -1
  27. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +1 -1
  28. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
  29. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
  30. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
  31. package/lib/components/GridGallery/GridModal/GridModal.js +1 -1
  32. package/lib/components/GridGallery/GridModal/GridModal.mjs +1 -1
  33. package/lib/components/Header/CartModalV2/CartModal.js +1 -1
  34. package/lib/components/Header/CartModalV2/CartModal.mjs +1 -1
  35. package/lib/components/Header/Header.js +1 -1
  36. package/lib/components/Header/Header.mjs +1 -1
  37. package/lib/components/LandingPagePro/LandingPagePro.d.ts +0 -3
  38. package/lib/components/LandingPagePro/LandingPagePro.js +3 -3
  39. package/lib/components/LandingPagePro/LandingPagePro.js.map +1 -1
  40. package/lib/components/LandingPagePro/LandingPagePro.mjs +2 -2
  41. package/lib/components/LandingPagePro/LandingPagePro.mjs.map +1 -1
  42. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +1 -1
  43. package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs +1 -1
  44. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
  45. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
  46. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
  47. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
  48. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
  49. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
  50. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
  51. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
  52. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
  53. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
  54. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  55. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  56. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  57. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  58. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
  59. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
  60. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
  61. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.mjs +2 -2
  62. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
  63. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
  64. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  65. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  66. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  67. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  68. package/lib/components/ModelCompareV3/data/CloudGateways.js +15 -15
  69. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +10 -10
  70. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  71. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  72. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +1 -1
  73. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +1 -1
  74. package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
  75. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
  76. package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
  77. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
  78. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
  79. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
  80. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +17 -313
  81. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
  82. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +17 -311
  83. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
  84. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +2 -3
  85. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +0 -2
  86. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
  87. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +0 -2
  88. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
  89. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +34 -120
  90. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js.map +1 -1
  91. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs +34 -120
  92. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.mjs.map +1 -1
  93. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.d.ts +2 -16
  94. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js +12 -54
  95. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js.map +1 -1
  96. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs +11 -50
  97. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs.map +1 -1
  98. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/assets/ArrowLeftPrimary.svg.js +5 -5
  99. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/assets/ArrowRightPrimary.svg.js +5 -5
  100. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
  101. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js.map +1 -1
  102. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  103. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs.map +1 -1
  104. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js +0 -2
  105. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js.map +1 -1
  106. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.mjs +0 -2
  107. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.mjs.map +1 -1
  108. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
  109. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  110. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  111. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  112. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  113. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  114. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +1 -1
  115. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js.map +1 -1
  116. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs +1 -1
  117. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs.map +1 -1
  118. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +4 -4
  119. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js.map +1 -1
  120. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +4 -4
  121. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs.map +1 -1
  122. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  123. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  124. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  125. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  126. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +2 -1
  127. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js.map +1 -1
  128. package/lib/components/ResourceCalculatorV1/ResourceCalculator.mjs +2 -1
  129. package/lib/components/ResourceCalculatorV1/ResourceCalculator.mjs.map +1 -1
  130. package/lib/components/{HorizontalOptionSelect → ResourceCalculatorV1/components/HorizontalOptionSelect}/HorizontalOptionSelect.d.ts +1 -1
  131. package/lib/components/{HorizontalOptionSelect → ResourceCalculatorV1/components/HorizontalOptionSelect}/HorizontalOptionSelect.js +1 -3
  132. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.js.map +1 -0
  133. package/lib/components/{HorizontalOptionSelect → ResourceCalculatorV1/components/HorizontalOptionSelect}/HorizontalOptionSelect.mjs +1 -3
  134. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.mjs.map +1 -0
  135. package/lib/components/{HorizontalOptionSelect → ResourceCalculatorV1/components/HorizontalOptionSelect}/HorizontalOptionSelect.styles.d.ts +0 -1
  136. package/lib/components/{HorizontalOptionSelect → ResourceCalculatorV1/components/HorizontalOptionSelect}/HorizontalOptionSelect.styles.js +7 -10
  137. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js.map +1 -0
  138. package/lib/components/{HorizontalOptionSelect → ResourceCalculatorV1/components/HorizontalOptionSelect}/HorizontalOptionSelect.styles.mjs +7 -10
  139. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.mjs.map +1 -0
  140. package/lib/components/{HorizontalOptionSelect → ResourceCalculatorV1/components/HorizontalOptionSelect}/HorizontalOptionSelect.types.d.ts +0 -1
  141. package/lib/components/ResourceCalculatorV1/components/index.d.ts +1 -0
  142. package/lib/components/ResourceCalculatorV1/components/index.js +5 -0
  143. package/lib/{utils/money/allocators → components/ResourceCalculatorV1/components}/index.js.map +1 -1
  144. package/lib/components/ResourceCalculatorV1/components/index.mjs +3 -0
  145. package/lib/{utils/money/allocators → components/ResourceCalculatorV1/components}/index.mjs.map +1 -1
  146. package/lib/components/ResourceCalculatorV1/translations/en.json.js +4 -6
  147. package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
  148. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +4 -6
  149. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
  150. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  151. package/lib/components/Search/Input/Input.js +1 -1
  152. package/lib/components/Search/Input/Input.mjs +1 -1
  153. package/lib/components/VideoPlayerNew/VideoPlayer.js +2 -2
  154. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +2 -2
  155. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  156. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  157. package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
  158. package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
  159. package/lib/components/index.d.ts +0 -1
  160. package/lib/components/index.js +0 -2
  161. package/lib/components/index.js.map +1 -1
  162. package/lib/components/index.mjs +0 -2
  163. package/lib/components/index.mjs.map +1 -1
  164. package/lib/constants/icons/generic/close.svg.js +1 -1
  165. package/lib/constants/icons/generic/close.svg.mjs +2 -2
  166. package/lib/constants/icons/generic/index.js +1 -1
  167. package/lib/constants/icons/generic/index.mjs +1 -1
  168. package/lib/constants/proStoreCategories/mapping/index.d.ts +0 -1
  169. package/lib/constants/proStoreCategories/mapping/index.js +11 -16
  170. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  171. package/lib/constants/proStoreCategories/mapping/index.mjs +11 -16
  172. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  173. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +1 -2
  174. package/lib/constants/proStoreCategories/mapping/unifi.js +0 -1
  175. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  176. package/lib/constants/proStoreCategories/mapping/unifi.mjs +0 -1
  177. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  178. package/lib/constants/proStoreCategories/translations/en.json.js +0 -3
  179. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  180. package/lib/constants/proStoreCategories/translations/en.json.mjs +1 -3
  181. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  182. package/lib/constants/proStoreCategories/translations/fr.json.js +1 -1
  183. package/lib/constants/proStoreCategories/translations/fr.json.mjs +1 -1
  184. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +1 -1
  185. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +1 -1
  186. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +1 -1
  187. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +1 -1
  188. package/lib/helpers/index.d.ts +0 -1
  189. package/lib/helpers/index.js +0 -11
  190. package/lib/helpers/index.js.map +1 -1
  191. package/lib/helpers/index.mjs +0 -1
  192. package/lib/helpers/index.mjs.map +1 -1
  193. package/lib/types/index.d.ts +0 -1
  194. package/lib/types/index.js +0 -2
  195. package/lib/types/index.js.map +1 -1
  196. package/lib/types/index.mjs +0 -1
  197. package/lib/types/index.mjs.map +1 -1
  198. package/lib/utils/array.d.ts +0 -4
  199. package/lib/utils/array.js +0 -10
  200. package/lib/utils/array.js.map +1 -1
  201. package/lib/utils/array.mjs +1 -10
  202. package/lib/utils/array.mjs.map +1 -1
  203. package/lib/utils/money/constants.d.ts +25 -56
  204. package/lib/utils/money/constants.js +7 -72
  205. package/lib/utils/money/constants.js.map +1 -1
  206. package/lib/utils/money/constants.mjs +7 -70
  207. package/lib/utils/money/constants.mjs.map +1 -1
  208. package/lib/utils/money/format.d.ts +5 -10
  209. package/lib/utils/money/format.js +14 -22
  210. package/lib/utils/money/format.js.map +1 -1
  211. package/lib/utils/money/format.mjs +16 -23
  212. package/lib/utils/money/format.mjs.map +1 -1
  213. package/lib/utils/money/index.d.ts +1 -4
  214. package/lib/utils/money/index.js +8 -26
  215. package/lib/utils/money/index.js.map +1 -1
  216. package/lib/utils/money/index.mjs +4 -8
  217. package/lib/utils/money/index.mjs.map +1 -1
  218. package/lib/utils/money/misc.d.ts +28 -68
  219. package/lib/utils/money/misc.js +64 -35
  220. package/lib/utils/money/misc.js.map +1 -1
  221. package/lib/utils/money/misc.mjs +43 -32
  222. package/lib/utils/money/misc.mjs.map +1 -1
  223. package/lib/utils/money/tax.d.ts +2 -38
  224. package/lib/utils/money/tax.js +10 -46
  225. package/lib/utils/money/tax.js.map +1 -1
  226. package/lib/utils/money/tax.mjs +11 -42
  227. package/lib/utils/money/tax.mjs.map +1 -1
  228. package/lib/utils/money/types.d.ts +3 -78
  229. package/lib/utils/number.d.ts +1 -1
  230. package/lib/utils/number.js +1 -1
  231. package/lib/utils/number.js.map +1 -1
  232. package/lib/utils/number.mjs +1 -1
  233. package/lib/utils/number.mjs.map +1 -1
  234. package/lib/utils/validations.d.ts +15 -0
  235. package/lib/utils/validations.js +23 -0
  236. package/lib/utils/validations.js.map +1 -0
  237. package/lib/utils/validations.mjs +21 -0
  238. package/lib/utils/validations.mjs.map +1 -0
  239. package/package.json +1 -1
  240. package/lib/assets/efg.png +0 -0
  241. package/lib/assets/ucg-max.png +0 -0
  242. package/lib/components/HorizontalOptionSelect/HorizontalOptionSelect.js.map +0 -1
  243. package/lib/components/HorizontalOptionSelect/HorizontalOptionSelect.mjs.map +0 -1
  244. package/lib/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js.map +0 -1
  245. package/lib/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.mjs.map +0 -1
  246. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js +0 -27
  247. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js.map +0 -1
  248. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs +0 -3
  249. package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs.map +0 -1
  250. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js +0 -27
  251. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js.map +0 -1
  252. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs +0 -3
  253. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs.map +0 -1
  254. package/lib/helpers/product.d.ts +0 -87
  255. package/lib/helpers/product.js +0 -346
  256. package/lib/helpers/product.js.map +0 -1
  257. package/lib/helpers/product.mjs +0 -335
  258. package/lib/helpers/product.mjs.map +0 -1
  259. package/lib/types/product.d.ts +0 -87
  260. package/lib/types/product.js +0 -14
  261. package/lib/types/product.js.map +0 -1
  262. package/lib/types/product.mjs +0 -13
  263. package/lib/types/product.mjs.map +0 -1
  264. package/lib/utils/money/allocators/fixedAmount.d.ts +0 -26
  265. package/lib/utils/money/allocators/fixedAmount.js +0 -55
  266. package/lib/utils/money/allocators/fixedAmount.js.map +0 -1
  267. package/lib/utils/money/allocators/fixedAmount.mjs +0 -53
  268. package/lib/utils/money/allocators/fixedAmount.mjs.map +0 -1
  269. package/lib/utils/money/allocators/index.d.ts +0 -2
  270. package/lib/utils/money/allocators/index.js +0 -8
  271. package/lib/utils/money/allocators/index.mjs +0 -4
  272. package/lib/utils/money/allocators/productAmount.d.ts +0 -13
  273. package/lib/utils/money/allocators/productAmount.js +0 -110
  274. package/lib/utils/money/allocators/productAmount.js.map +0 -1
  275. package/lib/utils/money/allocators/productAmount.mjs +0 -108
  276. package/lib/utils/money/allocators/productAmount.mjs.map +0 -1
  277. package/lib/utils/money/exchangeRate.d.ts +0 -31
  278. package/lib/utils/money/exchangeRate.js +0 -27
  279. package/lib/utils/money/exchangeRate.js.map +0 -1
  280. package/lib/utils/money/exchangeRate.mjs +0 -23
  281. package/lib/utils/money/exchangeRate.mjs.map +0 -1
  282. package/lib/utils/money/misc.private.d.ts +0 -23
  283. package/lib/utils/money/misc.private.js +0 -46
  284. package/lib/utils/money/misc.private.js.map +0 -1
  285. package/lib/utils/money/misc.private.mjs +0 -21
  286. package/lib/utils/money/misc.private.mjs.map +0 -1
  287. package/lib/utils/money/shipping.d.ts +0 -5
  288. package/lib/utils/money/shipping.js +0 -8
  289. package/lib/utils/money/shipping.js.map +0 -1
  290. package/lib/utils/money/shipping.mjs +0 -6
  291. package/lib/utils/money/shipping.mjs.map +0 -1
  292. package/lib/utils/money/tax.private.d.ts +0 -17
  293. package/lib/utils/money/tax.private.js +0 -65
  294. package/lib/utils/money/tax.private.js.map +0 -1
  295. package/lib/utils/money/tax.private.mjs +0 -60
  296. package/lib/utils/money/tax.private.mjs.map +0 -1
  297. package/lib/utils/productSort.d.ts +0 -41
  298. package/lib/utils/productSort.js +0 -66
  299. package/lib/utils/productSort.js.map +0 -1
  300. package/lib/utils/productSort.mjs +0 -59
  301. package/lib/utils/productSort.mjs.map +0 -1
  302. /package/lib/components/{HorizontalOptionSelect → ResourceCalculatorV1/components/HorizontalOptionSelect}/index.d.ts +0 -0
  303. /package/lib/components/{HorizontalOptionSelect → ResourceCalculatorV1/components/HorizontalOptionSelect}/index.js +0 -0
  304. /package/lib/components/{HorizontalOptionSelect → ResourceCalculatorV1/components/HorizontalOptionSelect}/index.js.map +0 -0
  305. /package/lib/components/{HorizontalOptionSelect → ResourceCalculatorV1/components/HorizontalOptionSelect}/index.mjs +0 -0
  306. /package/lib/components/{HorizontalOptionSelect → ResourceCalculatorV1/components/HorizontalOptionSelect}/index.mjs.map +0 -0
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- require('../assets/consoles/efg.png.js');
4
- require('../assets/consoles/ucg-max.png.js');
5
3
  require('../assets/consoles/udm-pro-max.png.js');
6
4
  require('../assets/consoles/udm-pro.png.js');
7
5
  require('../assets/consoles/udr.png.js');
@@ -10,8 +8,6 @@ require('../assets/consoles/unifi-cloudkey-plus.png.js');
10
8
  require('../assets/consoles/unvr-pro.png.js');
11
9
  require('../assets/consoles/unvr.png.js');
12
10
  var ComputeResourceCalculator_types = require('./ComputeResourceCalculator.types.js');
13
- var efg = require("../../../assets/efg.png");
14
- var ucgMax = require("../../../assets/ucg-max.png");
15
11
  var udmProMax = require("../../../assets/udm-pro-max.png");
16
12
  var udmPro = require("../../../assets/udm-pro.png");
17
13
  var unvr = require("../../../assets/unvr.png");
@@ -24,8 +20,6 @@ function _interopDefault(e) {
24
20
  default: e
25
21
  };
26
22
  }
27
- var efg__default = /*#__PURE__*/_interopDefault(efg);
28
- var ucgMax__default = /*#__PURE__*/_interopDefault(ucgMax);
29
23
  var udmProMax__default = /*#__PURE__*/_interopDefault(udmProMax);
30
24
  var udmPro__default = /*#__PURE__*/_interopDefault(udmPro);
31
25
  var unvr__default = /*#__PURE__*/_interopDefault(unvr);
@@ -35,301 +29,6 @@ var udw__default = /*#__PURE__*/_interopDefault(udw);
35
29
  var udr__default = /*#__PURE__*/_interopDefault(udr);
36
30
  "use strict";
37
31
  const DEVICES = [{
38
- id: ComputeResourceCalculator_types.DeviceId.EFG,
39
- sku: ["efg"],
40
- title: "device.EFG",
41
- img: {
42
- src: efg__default["default"],
43
- width: 68,
44
- height: 68
45
- },
46
- settings: {
47
- defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network]
48
- },
49
- loadData: {
50
- Network: {
51
- enableFeature: {
52
- cpu: {
53
- value: 0.015,
54
- weight: 0.9
55
- },
56
- memory: {
57
- value: 0.49,
58
- weight: 0.1
59
- }
60
- },
61
- accessPoint: {
62
- max: 500,
63
- data: {
64
- cpu: {
65
- value: 12e-4,
66
- weight: 0.9
67
- },
68
- memory: {
69
- value: 0,
70
- weight: 0.1
71
- }
72
- }
73
- },
74
- vpn: {
75
- cpu: {
76
- value: 3e-4,
77
- weight: 0.9
78
- },
79
- memory: {
80
- value: 5e-4,
81
- weight: 0.1
82
- }
83
- },
84
- securityDetection: {
85
- cpu: {
86
- value: 0.0315,
87
- weight: 0.9
88
- },
89
- memory: {
90
- value: 0.044,
91
- weight: 0.1
92
- }
93
- },
94
- adBlocking: {
95
- cpu: {
96
- value: 9e-4,
97
- weight: 0.9
98
- },
99
- memory: {
100
- value: 35e-4,
101
- weight: 0.1
102
- }
103
- },
104
- qos: {
105
- cpu: {
106
- value: 14e-4,
107
- weight: 0.9
108
- },
109
- memory: {
110
- value: 0,
111
- weight: 0.1
112
- }
113
- }
114
- }
115
- }
116
- }, {
117
- id: ComputeResourceCalculator_types.DeviceId.UcgMax,
118
- sku: ["ucg-max"],
119
- title: "device.UCG Max",
120
- img: {
121
- src: ucgMax__default["default"],
122
- width: 68,
123
- height: 68
124
- },
125
- settings: {
126
- forcedFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
127
- defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
128
- hdd: {
129
- max: 1,
130
- parityDisks: 0,
131
- gigabyteOptions: [512, 1e3, 2e3]
132
- }
133
- },
134
- loadData: {
135
- Network: {
136
- enableFeature: {
137
- cpu: {
138
- value: 0.015,
139
- weight: 0.9
140
- },
141
- memory: {
142
- value: 0.49,
143
- weight: 0.1
144
- }
145
- },
146
- accessPoint: {
147
- max: 30,
148
- data: {
149
- cpu: {
150
- value: 61e-4,
151
- weight: 0.9
152
- },
153
- memory: {
154
- value: 0.016,
155
- weight: 0.1
156
- }
157
- }
158
- },
159
- vpn: {
160
- cpu: {
161
- value: 0,
162
- weight: 0.9
163
- },
164
- memory: {
165
- value: 1e-3,
166
- weight: 0.1
167
- }
168
- },
169
- securityDetection: {
170
- cpu: {
171
- value: 0.4008,
172
- weight: 0.9
173
- },
174
- memory: {
175
- value: 0.1515,
176
- weight: 0.1
177
- }
178
- },
179
- adBlocking: {
180
- cpu: {
181
- value: 0.0132,
182
- weight: 0.9
183
- },
184
- memory: {
185
- value: 0,
186
- weight: 0.1
187
- }
188
- },
189
- qos: {
190
- cpu: {
191
- value: 0.0173,
192
- weight: 0.9
193
- },
194
- memory: {
195
- value: 0.0255,
196
- weight: 0.1
197
- }
198
- }
199
- },
200
- Protect: {
201
- enableFeature: {
202
- cpu: {
203
- value: 0.1,
204
- weight: 0.9
205
- },
206
- memory: {
207
- value: 0.2809,
208
- weight: 0.1
209
- }
210
- },
211
- playback: {
212
- cpu: {
213
- value: 0,
214
- weight: 0.9
215
- },
216
- memory: {
217
- value: 0,
218
- weight: 0.1
219
- }
220
- },
221
- liveView: {
222
- cpu: {
223
- value: 0,
224
- weight: 0.9
225
- },
226
- memory: {
227
- value: 0,
228
- weight: 0.1
229
- }
230
- },
231
- cameraHd: {
232
- max: 15,
233
- data: {
234
- cpu: {
235
- value: 0.0106,
236
- weight: 0.9
237
- },
238
- memory: {
239
- value: 3e-4,
240
- weight: 0.1
241
- }
242
- }
243
- },
244
- camera2k: {
245
- max: 8,
246
- data: {
247
- cpu: {
248
- value: 0.0211,
249
- weight: 0.9
250
- },
251
- memory: {
252
- value: 6e-4,
253
- weight: 0.1
254
- }
255
- }
256
- },
257
- camera4k: {
258
- max: 5,
259
- data: {
260
- cpu: {
261
- value: 0.03,
262
- weight: 0.9
263
- },
264
- memory: {
265
- value: 14e-4,
266
- weight: 0.1
267
- }
268
- }
269
- }
270
- },
271
- Access: {
272
- enableFeature: {
273
- cpu: {
274
- value: 75e-4,
275
- weight: 0.5
276
- },
277
- memory: {
278
- value: 63e-4,
279
- weight: 0.5
280
- }
281
- },
282
- door: {
283
- max: 100,
284
- data: {
285
- cpu: {
286
- value: 5e-3,
287
- weight: 0.5
288
- },
289
- memory: {
290
- value: 0.0189,
291
- weight: 0.5
292
- }
293
- }
294
- }
295
- },
296
- Talk: {
297
- enableFeature: {
298
- cpu: {
299
- value: 8e-3,
300
- weight: 0.5
301
- },
302
- memory: {
303
- value: 0.0254,
304
- weight: 0.5
305
- }
306
- },
307
- phone: {
308
- max: 100,
309
- data: {
310
- cpu: {
311
- value: 0.013,
312
- weight: 0.5
313
- },
314
- memory: {
315
- value: 6e-4,
316
- weight: 0.5
317
- }
318
- }
319
- },
320
- record: {
321
- cpu: {
322
- value: 2e-4,
323
- weight: 0.5
324
- },
325
- memory: {
326
- value: 5e-4,
327
- weight: 0.5
328
- }
329
- }
330
- }
331
- }
332
- }, {
333
32
  id: ComputeResourceCalculator_types.DeviceId.UDMProMax,
334
33
  sku: ["udm-pro-max"],
335
34
  title: "device.UDM Pro Max",
@@ -384,13 +83,14 @@ const DEVICES = [{
384
83
  weight: 0.1
385
84
  }
386
85
  },
86
+ threatManagementLoad: 0.1375,
387
87
  securityDetection: {
388
88
  cpu: {
389
- value: 0.1204,
89
+ value: 17e-4,
390
90
  weight: 0.9
391
91
  },
392
92
  memory: {
393
- value: 0.0861,
93
+ value: 0,
394
94
  weight: 0.1
395
95
  }
396
96
  },
@@ -601,13 +301,14 @@ const DEVICES = [{
601
301
  weight: 0.3
602
302
  }
603
303
  },
304
+ threatManagementLoad: 0.1161,
604
305
  securityDetection: {
605
306
  cpu: {
606
- value: 0.1668,
307
+ value: 7e-4,
607
308
  weight: 0.7
608
309
  },
609
310
  memory: {
610
- value: 0.118,
311
+ value: 0,
611
312
  weight: 0.3
612
313
  }
613
314
  },
@@ -1007,8 +708,8 @@ const DEVICES = [{
1007
708
  defaultEnabledFeatures: [ComputeResourceCalculator_types.FeatureId.Network],
1008
709
  hdd: {
1009
710
  max: 1,
1010
- gigabyteOptions: [1e3],
1011
- parityDisks: 0
711
+ parityDisks: 0,
712
+ gigabyteOptions: [1e3]
1012
713
  },
1013
714
  maxReducer: {
1014
715
  enabledFeaturesTrigger: 2,
@@ -1056,13 +757,14 @@ const DEVICES = [{
1056
757
  weight: 0.4
1057
758
  }
1058
759
  },
760
+ threatManagementLoad: 0.032,
1059
761
  securityDetection: {
1060
762
  cpu: {
1061
- value: 51e-4,
763
+ value: 3e-3,
1062
764
  weight: 0.6
1063
765
  },
1064
766
  memory: {
1065
- value: 51e-4,
767
+ value: 0,
1066
768
  weight: 0.4
1067
769
  }
1068
770
  },
@@ -1267,13 +969,14 @@ const DEVICES = [{
1267
969
  weight: 0.3
1268
970
  }
1269
971
  },
972
+ threatManagementLoad: 0.1215,
1270
973
  securityDetection: {
1271
974
  cpu: {
1272
- value: 0.1507,
975
+ value: 1e-3,
1273
976
  weight: 0.7
1274
977
  },
1275
978
  memory: {
1276
- value: 0.1347,
979
+ value: 0,
1277
980
  weight: 0.3
1278
981
  }
1279
982
  },
@@ -1479,13 +1182,14 @@ const DEVICES = [{
1479
1182
  weight: 0.5
1480
1183
  }
1481
1184
  },
1185
+ threatManagementLoad: 0.1682,
1482
1186
  securityDetection: {
1483
1187
  cpu: {
1484
- value: 0.2754,
1188
+ value: 0.0254,
1485
1189
  weight: 0.5
1486
1190
  },
1487
1191
  memory: {
1488
- value: 0.1583,
1192
+ value: 0,
1489
1193
  weight: 0.5
1490
1194
  }
1491
1195
  },