@ubnt/store.core 9.31.0-dts-fix.3 → 9.31.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 (260) hide show
  1. package/CHANGELOG.md +0 -3
  2. package/lib/_virtual/_virtual_multi-entry.js +203 -0
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -0
  4. package/lib/_virtual/_virtual_multi-entry.mjs +176 -0
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -0
  6. package/lib/apis/smartcat.test.d.ts +1 -0
  7. package/lib/assets/attention.svg +5 -5
  8. package/lib/assets/attention2.svg +5 -5
  9. package/lib/assets/close2.svg +3 -2
  10. package/lib/assets/close3.svg +2 -3
  11. package/lib/assets/minus4.svg +8 -8
  12. package/lib/assets/minus5.svg +8 -8
  13. package/lib/assets/pause.svg +3 -3
  14. package/lib/assets/pause2.svg +3 -3
  15. package/lib/assets/plus5.svg +9 -9
  16. package/lib/assets/plus6.svg +9 -9
  17. package/lib/components/AppDownloadBanner/AppDownloadBanner.d.ts +2 -0
  18. package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +21 -0
  19. package/lib/components/AppDownloadBanner/index.d.ts +1 -0
  20. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +2 -0
  21. package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -0
  22. package/lib/components/Breadcrumbs/index.d.ts +1 -0
  23. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.d.ts +2 -0
  24. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +9 -0
  25. package/lib/components/BuiltFeaturesSection/index.d.ts +1 -0
  26. package/lib/components/CarouselGallery/CarouselGallery.d.ts +2 -0
  27. package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +17 -0
  28. package/lib/components/CarouselGallery/index.d.ts +1 -0
  29. package/lib/components/Compare/Compare.d.ts +2 -0
  30. package/lib/components/Compare/Compare.styles.d.ts +36 -0
  31. package/lib/components/Compare/CompareData.d.ts +22 -0
  32. package/lib/components/Compare/ProductTable.d.ts +6 -0
  33. package/lib/components/Compare/index.d.ts +2 -0
  34. package/lib/components/CompareChart/CompareChart.d.ts +2 -0
  35. package/lib/components/CompareChart/CompareChart.styles.d.ts +37 -0
  36. package/lib/components/CompareChart/CompareChartData.d.ts +69 -0
  37. package/lib/components/CompareChart/index.d.ts +2 -0
  38. package/lib/components/CompareSection/CompareSection.d.ts +5 -0
  39. package/lib/components/CompareSection/CompareSection.data.d.ts +10 -0
  40. package/lib/components/CompareSection/CompareSection.styles.d.ts +17 -0
  41. package/lib/components/CompareSection/index.d.ts +1 -0
  42. package/lib/components/DeploymentGallery/DeploymentGallery.d.ts +2 -0
  43. package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +4 -0
  44. package/lib/components/DeploymentGallery/index.d.ts +1 -0
  45. package/lib/components/Explore/Explore.test.d.ts +1 -0
  46. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +1 -1
  47. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
  48. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
  49. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
  50. package/lib/components/Header/CartModal/CartModal.d.ts +2 -0
  51. package/lib/components/Header/CartModal/CartModal.styles.d.ts +14 -0
  52. package/lib/components/Header/CartModal/Item/Item.d.ts +7 -0
  53. package/lib/components/Header/CartModal/Item/Item.styles.d.ts +12 -0
  54. package/lib/components/Header/CartModal/Item/index.d.ts +1 -0
  55. package/lib/components/Header/CartModal/index.d.ts +1 -0
  56. package/lib/components/Header/LanguageFrame/utils/buildLanguageLink.test.d.ts +1 -0
  57. package/lib/components/Header/LinksModal/LinksModal.d.ts +2 -0
  58. package/lib/components/Header/LinksModal/LinksModal.styles.d.ts +6 -0
  59. package/lib/components/Header/LinksModal/index.d.ts +1 -0
  60. package/lib/components/Header/SearchTab/SearchTab.d.ts +2 -0
  61. package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +4 -0
  62. package/lib/components/Header/SearchTab/index.d.ts +1 -0
  63. package/lib/components/HeroFadeGallery/HeroFadeGallery.d.ts +2 -0
  64. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +12 -0
  65. package/lib/components/HeroFadeGallery/index.d.ts +1 -0
  66. package/lib/components/HowToUseSection/HowToUseSection.d.ts +2 -0
  67. package/lib/components/HowToUseSection/HowToUseSection.data.d.ts +13 -0
  68. package/lib/components/HowToUseSection/HowToUseSection.data.old.d.ts +46 -0
  69. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +15 -0
  70. package/lib/components/HowToUseSection/index.d.ts +1 -0
  71. package/lib/components/LayoutRendererV1/LayoutRenderer.d.ts +9 -0
  72. package/lib/components/LayoutRendererV1/LayoutRenderer.old.d.ts +120 -0
  73. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +65 -0
  74. package/lib/components/LayoutRendererV1/index.d.ts +1 -0
  75. package/lib/components/LayoutRendererV2/LayoutRenderer.d.ts +6 -0
  76. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +55 -0
  77. package/lib/components/LayoutRendererV2/index.d.ts +1 -0
  78. package/lib/components/MicrositeCustomContent/MicrositeCustomContent.d.ts +2 -0
  79. package/lib/components/MicrositeFeatureProgressBar/index.d.ts +1 -0
  80. package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.d.ts +2 -0
  81. package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.styles.d.ts +4 -0
  82. package/lib/components/MicrositeSection/AllFeaturesButton/index.d.ts +1 -0
  83. package/lib/components/MicrositeSection/Features/Features.d.ts +2 -0
  84. package/lib/components/MicrositeSection/Features/Features.styles.d.ts +24 -0
  85. package/lib/components/MicrositeSection/Features/index.d.ts +1 -0
  86. package/lib/components/MicrositeSection/MicrositeSection.d.ts +11 -0
  87. package/lib/components/MicrositeSection/MicrositeSection.styles.d.ts +43 -0
  88. package/lib/components/MicrositeSection/MicrositeSection.utils.d.ts +32 -0
  89. package/lib/components/MicrositeSection/index.d.ts +1 -0
  90. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
  91. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
  92. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
  93. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
  94. package/lib/components/Microsites/MicrositeProductPageSample.constants.d.ts +9 -0
  95. package/lib/components/ModelCompareV3/CheckWithNote.d.ts +3 -0
  96. package/lib/components/ModelCompareV3/data/products/8PoEGen1.d.ts +2 -0
  97. package/lib/components/ModelCompareV3/data/products/8PoESFPGen1.d.ts +2 -0
  98. package/lib/components/ModelCompareV3/data/products/acInWall.d.ts +2 -0
  99. package/lib/components/ModelCompareV3/data/products/aiBullet.d.ts +2 -0
  100. package/lib/components/ModelCompareV3/data/products/airFiber37dBiMonsterDish.d.ts +2 -0
  101. package/lib/components/ModelCompareV3/data/products/airFiber60HD.d.ts +2 -0
  102. package/lib/components/ModelCompareV3/data/products/airFiber60XG.d.ts +2 -0
  103. package/lib/components/ModelCompareV3/data/products/airFiber60XTremeRange.d.ts +2 -0
  104. package/lib/components/ModelCompareV3/data/products/airFiberX23dBiSlant45.d.ts +2 -0
  105. package/lib/components/ModelCompareV3/data/products/airFiberX24dBiSlant45.d.ts +2 -0
  106. package/lib/components/ModelCompareV3/data/products/airFiberX30dBiSlant45.d.ts +2 -0
  107. package/lib/components/ModelCompareV3/data/products/airFiberX34dBiSlant45.d.ts +2 -0
  108. package/lib/components/ModelCompareV3/data/products/airMAX30dBiRocketDishLW.d.ts +2 -0
  109. package/lib/components/ModelCompareV3/data/products/airMAXAC30dBiRocketDish.d.ts +2 -0
  110. package/lib/components/ModelCompareV3/data/products/airMAXAC31dBiRocketDish.d.ts +2 -0
  111. package/lib/components/ModelCompareV3/data/products/airMAXAC34dBiRocketDish.d.ts +2 -0
  112. package/lib/components/ModelCompareV3/data/products/airMAXSector5GHzTitanium.d.ts +11 -0
  113. package/lib/components/ModelCompareV3/data/products/airMaxGigaBeam.d.ts +2 -0
  114. package/lib/components/ModelCompareV3/data/products/airMaxGigaBeamLongRange.d.ts +2 -0
  115. package/lib/components/ModelCompareV3/data/products/airMaxGigaBeamPlus.d.ts +2 -0
  116. package/lib/components/ModelCompareV3/data/products/edgePointS16.d.ts +2 -0
  117. package/lib/components/ModelCompareV3/data/products/edgeSwitch12f.d.ts +2 -0
  118. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24.d.ts +6 -0
  119. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48.d.ts +6 -0
  120. package/lib/components/ModelCompareV3/data/products/gponOlt.d.ts +2 -0
  121. package/lib/components/ModelCompareV3/data/products/standard16PoEGen1.d.ts +2 -0
  122. package/lib/components/ModelCompareV3/data/products/standard24PoEGen1.d.ts +2 -0
  123. package/lib/components/ModelCompareV3/data/products/standard48PoEGen1.d.ts +2 -0
  124. package/lib/components/ModelCompareV3/data/products/switchesUtility.d.ts +2 -0
  125. package/lib/components/ModelCompareV3/data/products/u6lite.d.ts +2 -0
  126. package/lib/components/ModelCompareV3/data/products/xg6PoEGen1.d.ts +2 -0
  127. package/lib/components/ModelCompareV3/data/products/xgsxg.d.ts +2 -0
  128. package/lib/components/ModelCompareV3/translations/index.d.ts +11 -0
  129. package/lib/components/NewToUnifiBox/NewToUnifiBox.d.ts +11 -0
  130. package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +5 -0
  131. package/lib/components/NewToUnifiBox/index.d.ts +1 -0
  132. package/lib/components/ProductCompare/mapping.test.d.ts +1 -0
  133. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.d.ts +2 -0
  134. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +10 -0
  135. package/lib/components/ProductSectionNavigation/index.d.ts +1 -0
  136. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.d.ts +2 -0
  137. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +10 -0
  138. package/lib/components/ProductSectionNavigationV2/index.d.ts +2 -0
  139. package/lib/components/ProductTechSpecs/ProductTechSpecs.d.ts +6 -0
  140. package/lib/components/ProductTechSpecs/index.d.ts +2 -0
  141. package/lib/components/ProductUpsell/ProductUpsell.d.ts +2 -0
  142. package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +19 -0
  143. package/lib/components/ProductUpsell/index.d.ts +1 -0
  144. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.d.ts +11 -0
  145. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +25 -0
  146. package/lib/components/RelatedProductsVariantSelector/index.d.ts +1 -0
  147. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.d.ts +13 -0
  148. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +20 -0
  149. package/lib/components/RelatedProductsVariantSelectorV1/index.d.ts +1 -0
  150. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.d.ts +13 -0
  151. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +22 -0
  152. package/lib/components/RelatedProductsVariantSelectorV2/index.d.ts +1 -0
  153. package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.d.ts +2 -0
  154. package/lib/components/RelatedProductsVariantSelectorsV1/index.d.ts +1 -0
  155. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.d.ts +2 -0
  156. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +1 -0
  157. package/lib/components/RelatedProductsVariantSelectorsV2/index.d.ts +1 -0
  158. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
  159. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  160. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
  161. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  162. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  163. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  164. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  165. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  166. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  167. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  168. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
  169. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
  170. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  171. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  172. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
  173. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
  174. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  175. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  176. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  177. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  178. package/lib/components/SearchInput/Input.styles.d.ts +18 -0
  179. package/lib/components/TabinationButtons/TabinationButtons.d.ts +2 -0
  180. package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +13 -0
  181. package/lib/components/TabinationButtons/index.d.ts +1 -0
  182. package/lib/components/TopologyScheme/TopologyScheme.d.ts +2 -0
  183. package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +20 -0
  184. package/lib/components/TopologyScheme/index.d.ts +2 -0
  185. package/lib/components/VariantSelector/Variant/BundleOffer/translations/index.d.ts +11 -0
  186. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts +1 -0
  187. package/lib/components/VariantSelector/utils.d.ts +11 -0
  188. package/lib/components/VariantSelectorV1/VariantSelector.d.ts +2 -0
  189. package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +35 -0
  190. package/lib/components/VariantSelectorV1/index.d.ts +1 -0
  191. package/lib/components/VariantSelectorV2/VariantSelector.d.ts +2 -0
  192. package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +21 -0
  193. package/lib/components/VariantSelectorV2/index.d.ts +1 -0
  194. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.d.ts +7 -0
  195. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +7 -0
  196. package/lib/components/VideoCookiesConsent/index.d.ts +1 -0
  197. package/lib/components/VideoPlayer/VideoPlayer.d.ts +8 -0
  198. package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +7 -0
  199. package/lib/components/VideoPlayer/index.d.ts +1 -0
  200. package/lib/components/VideoPlayerNew/VideoPlayer.js +2 -2
  201. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +2 -2
  202. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  203. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  204. package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
  205. package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
  206. package/lib/components/YouTubePlayer/YouTubePlayer.d.ts +2 -0
  207. package/lib/components/YouTubePlayer/index.d.ts +1 -0
  208. package/lib/constants/address.d.ts +2 -2
  209. package/lib/constants/address.js +3 -3
  210. package/lib/constants/address.js.map +1 -1
  211. package/lib/constants/address.mjs +3 -3
  212. package/lib/constants/address.mjs.map +1 -1
  213. package/lib/constants/icons/options/colors/black.svg.js +5 -5
  214. package/lib/constants/icons/options/colors/index.js +3 -3
  215. package/lib/constants/icons/options/styles/black.svg.js +5 -5
  216. package/lib/constants/icons/options/styles/index.js +3 -3
  217. package/lib/constants/optionIcons.js +6 -6
  218. package/lib/constants/optionIcons.mjs +4 -4
  219. package/lib/constants/postalCode.test.d.ts +1 -0
  220. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +128 -0
  221. package/lib/constants/storybook.d.ts +11 -0
  222. package/lib/contexts/MenuContext/mapping.test.d.ts +1 -0
  223. package/lib/contexts/MenuContext/utils.test.d.ts +1 -0
  224. package/lib/helpers/jsx.d.ts +6 -0
  225. package/lib/helpers/routes.d.ts +1 -0
  226. package/lib/types/utils.test.d.ts +1 -0
  227. package/lib/utils/address.data.d.ts +17 -0
  228. package/lib/utils/address.test.d.ts +1 -0
  229. package/lib/utils/array.test.d.ts +1 -0
  230. package/lib/utils/canvas.d.ts +8 -0
  231. package/lib/utils/cdn.d.ts +5 -0
  232. package/lib/utils/collectionSlug.test.d.ts +1 -0
  233. package/lib/utils/countriesAndZones.test.d.ts +1 -0
  234. package/lib/utils/langauge.test.d.ts +1 -0
  235. package/lib/utils/measures.test.d.ts +1 -0
  236. package/lib/utils/money/allocators/fixedAmount.test.d.ts +1 -0
  237. package/lib/utils/money/allocators/productAmount.test.d.ts +1 -0
  238. package/lib/utils/money/constants.test.d.ts +1 -0
  239. package/lib/utils/money/exchangeRate.test.d.ts +1 -0
  240. package/lib/utils/money/format.test.d.ts +1 -0
  241. package/lib/utils/money/misc.test.d.ts +1 -0
  242. package/lib/utils/money/shipping.test.d.ts +1 -0
  243. package/lib/utils/money/tax.private.test.d.ts +1 -0
  244. package/lib/utils/money/tax.test.d.ts +1 -0
  245. package/lib/utils/nextjs/createInlineScript.test.d.ts +1 -0
  246. package/lib/utils/nextjs/mergeCspDirectives.test.d.ts +1 -0
  247. package/lib/utils/nextjs/sanitizeImageDomains.test.d.ts +1 -0
  248. package/lib/utils/nextjs/stringifyForInject.test.d.ts +1 -0
  249. package/lib/utils/number.test.d.ts +1 -0
  250. package/lib/utils/storeId.test.d.ts +1 -0
  251. package/lib/utils/string.test.d.ts +1 -0
  252. package/lib/utils/tags.test.d.ts +1 -0
  253. package/lib/utils/tax/index.test.d.ts +1 -0
  254. package/lib/utils/url.test.d.ts +1 -0
  255. package/lib/utils/validations/index.d.ts +5 -0
  256. package/lib/utils/validations/postalCodeSuperRefinement.test.d.ts +1 -0
  257. package/lib/utils/variant.test.d.ts +1 -0
  258. package/lib/utils/wattage.test.d.ts +1 -0
  259. package/lib/utils/zod.test.d.ts +1 -0
  260. package/package.json +2 -2
@@ -6,7 +6,7 @@ require('./camo.png.js');
6
6
  require('./concrete.png.js');
7
7
  require('./marble.png.js');
8
8
  require('./wood.png.js');
9
- var _externalAssets_NxsKXHyJ = require("../../../../assets/black.svg");
9
+ var _externalAssets_WKvVtlSv = require("../../../../assets/black.svg");
10
10
  var _externalAssets_DxR_vr6$ = require("../../../../assets/blackFabric.png");
11
11
  var _externalAssets_D_2KPJKL = require("../../../../assets/camo.png");
12
12
  var _externalAssets_AeQRmq$G = require("../../../../assets/concrete.png");
@@ -17,7 +17,7 @@ function _interopDefault(e) {
17
17
  default: e
18
18
  };
19
19
  }
20
- var _externalAssets_NxsKXHyJ__default = /*#__PURE__*/_interopDefault(_externalAssets_NxsKXHyJ);
20
+ var _externalAssets_WKvVtlSv__default = /*#__PURE__*/_interopDefault(_externalAssets_WKvVtlSv);
21
21
  var _externalAssets_DxR_vr6$__default = /*#__PURE__*/_interopDefault(_externalAssets_DxR_vr6$);
22
22
  var _externalAssets_D_2KPJKL__default = /*#__PURE__*/_interopDefault(_externalAssets_D_2KPJKL);
23
23
  var _externalAssets_AeQRmq$G__default = /*#__PURE__*/_interopDefault(_externalAssets_AeQRmq$G);
@@ -27,7 +27,7 @@ var _externalAssets_kQL$tT0V__default = /*#__PURE__*/_interopDefault(_externalAs
27
27
  Object.defineProperty(exports, "black", {
28
28
  enumerable: true,
29
29
  get: function () {
30
- return _externalAssets_NxsKXHyJ__default["default"];
30
+ return _externalAssets_WKvVtlSv__default["default"];
31
31
  }
32
32
  });
33
33
  Object.defineProperty(exports, "blackFabric", {
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('./icons/index.js');
4
- var _externalAssets_NxsKXHyJ = require("../assets/black.svg");
4
+ var _externalAssets_WKvVtlSv = require("../assets/black.svg");
5
5
  var _externalAssets_DxR_vr6$ = require("../assets/blackFabric.png");
6
6
  var _externalAssets_D_2KPJKL = require("../assets/camo.png");
7
7
  var _externalAssets_AeQRmq$G = require("../assets/concrete.png");
8
8
  var _externalAssets_CoJwwvt7 = require("../assets/marble.png");
9
9
  var _externalAssets_kQL$tT0V = require("../assets/wood.png");
10
- var _externalAssets_WKvVtlSv = require("../assets/black.svg");
10
+ var _externalAssets_NxsKXHyJ = require("../assets/black.svg");
11
11
  var _externalAssets_DTFMFQ51 = require("../assets/blue.svg");
12
12
  var _externalAssets_Dh1AHi98 = require("../assets/white.svg");
13
13
  var _externalAssets_B1Gj17va = require("../assets/darkGrey.svg");
@@ -18,13 +18,13 @@ function _interopDefault(e) {
18
18
  default: e
19
19
  };
20
20
  }
21
- var _externalAssets_NxsKXHyJ__default = /*#__PURE__*/_interopDefault(_externalAssets_NxsKXHyJ);
21
+ var _externalAssets_WKvVtlSv__default = /*#__PURE__*/_interopDefault(_externalAssets_WKvVtlSv);
22
22
  var _externalAssets_DxR_vr6$__default = /*#__PURE__*/_interopDefault(_externalAssets_DxR_vr6$);
23
23
  var _externalAssets_D_2KPJKL__default = /*#__PURE__*/_interopDefault(_externalAssets_D_2KPJKL);
24
24
  var _externalAssets_AeQRmq$G__default = /*#__PURE__*/_interopDefault(_externalAssets_AeQRmq$G);
25
25
  var _externalAssets_CoJwwvt7__default = /*#__PURE__*/_interopDefault(_externalAssets_CoJwwvt7);
26
26
  var _externalAssets_kQL$tT0V__default = /*#__PURE__*/_interopDefault(_externalAssets_kQL$tT0V);
27
- var _externalAssets_WKvVtlSv__default = /*#__PURE__*/_interopDefault(_externalAssets_WKvVtlSv);
27
+ var _externalAssets_NxsKXHyJ__default = /*#__PURE__*/_interopDefault(_externalAssets_NxsKXHyJ);
28
28
  var _externalAssets_DTFMFQ51__default = /*#__PURE__*/_interopDefault(_externalAssets_DTFMFQ51);
29
29
  var _externalAssets_Dh1AHi98__default = /*#__PURE__*/_interopDefault(_externalAssets_Dh1AHi98);
30
30
  var _externalAssets_B1Gj17va__default = /*#__PURE__*/_interopDefault(_externalAssets_B1Gj17va);
@@ -53,7 +53,7 @@ var OptionColors = /* @__PURE__ */(OptionColors2 => {
53
53
  return OptionColors2;
54
54
  })(OptionColors || {});
55
55
  const optionStyle = {
56
- ["black" /* black */]: _externalAssets_NxsKXHyJ__default["default"],
56
+ ["black" /* black */]: _externalAssets_WKvVtlSv__default["default"],
57
57
  ["black-fabric" /* blackFabric */]: _externalAssets_DxR_vr6$__default["default"],
58
58
  ["camo" /* camo */]: _externalAssets_D_2KPJKL__default["default"],
59
59
  ["concrete" /* concrete */]: _externalAssets_AeQRmq$G__default["default"],
@@ -62,7 +62,7 @@ const optionStyle = {
62
62
  };
63
63
  const optionColors = {
64
64
  // Common
65
- ["black" /* black */]: _externalAssets_WKvVtlSv__default["default"],
65
+ ["black" /* black */]: _externalAssets_NxsKXHyJ__default["default"],
66
66
  ["blue" /* blue */]: _externalAssets_DTFMFQ51__default["default"],
67
67
  ["white" /* white */]: _externalAssets_Dh1AHi98__default["default"],
68
68
  // US English
@@ -1,11 +1,11 @@
1
1
  import './icons/index.mjs';
2
- import _externalAssets_NxsKXHyJ__default from "../assets/black.svg";
2
+ import _externalAssets_WKvVtlSv__default from "../assets/black.svg";
3
3
  import _externalAssets_DxR_vr6$__default from "../assets/blackFabric.png";
4
4
  import _externalAssets_D_2KPJKL__default from "../assets/camo.png";
5
5
  import _externalAssets_AeQRmq$G__default from "../assets/concrete.png";
6
6
  import _externalAssets_CoJwwvt7__default from "../assets/marble.png";
7
7
  import _externalAssets_kQL$tT0V__default from "../assets/wood.png";
8
- import _externalAssets_WKvVtlSv__default from "../assets/black.svg";
8
+ import _externalAssets_NxsKXHyJ__default from "../assets/black.svg";
9
9
  import _externalAssets_DTFMFQ51__default from "../assets/blue.svg";
10
10
  import _externalAssets_Dh1AHi98__default from "../assets/white.svg";
11
11
  import _externalAssets_B1Gj17va__default from "../assets/darkGrey.svg";
@@ -34,7 +34,7 @@ var OptionColors = /* @__PURE__ */(OptionColors2 => {
34
34
  return OptionColors2;
35
35
  })(OptionColors || {});
36
36
  const optionStyle = {
37
- ["black" /* black */]: _externalAssets_NxsKXHyJ__default,
37
+ ["black" /* black */]: _externalAssets_WKvVtlSv__default,
38
38
  ["black-fabric" /* blackFabric */]: _externalAssets_DxR_vr6$__default,
39
39
  ["camo" /* camo */]: _externalAssets_D_2KPJKL__default,
40
40
  ["concrete" /* concrete */]: _externalAssets_AeQRmq$G__default,
@@ -43,7 +43,7 @@ const optionStyle = {
43
43
  };
44
44
  const optionColors = {
45
45
  // Common
46
- ["black" /* black */]: _externalAssets_WKvVtlSv__default,
46
+ ["black" /* black */]: _externalAssets_NxsKXHyJ__default,
47
47
  ["blue" /* blue */]: _externalAssets_DTFMFQ51__default,
48
48
  ["white" /* white */]: _externalAssets_Dh1AHi98__default,
49
49
  // US English
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,128 @@
1
+ import type { StaticImageData } from "next/image";
2
+ import type { ProductLine, StoreId } from "../../../types";
3
+ import type { AmpliFiCategoryId, AmpliFiCategorySlug, AmpliFiChildCategorySlug } from "./amplifi";
4
+ import type { FilterId } from "./filters";
5
+ import type { UISPAddonCategoryIdAndSlug, UISPCategoryId, UISPCategorySlug, UISPChildCategorySlug } from "./uisp";
6
+ import type { UnifiAddonCategoryIdAndSlug, UniFiCategoryId, UniFiCategorySlug, UniFiChildCategorySlug } from "./unifi";
7
+ export type PrimaryCategoryId = UniFiCategoryId | UISPCategoryId | AmpliFiCategoryId;
8
+ export type PrimaryCategorySlug = UniFiCategorySlug | UISPCategorySlug | AmpliFiCategorySlug;
9
+ export type ChildCategorySlug = UniFiChildCategorySlug | UISPChildCategorySlug | AmpliFiChildCategorySlug;
10
+ export type AddonCategoryIdAndSlug = UnifiAddonCategoryIdAndSlug | UISPAddonCategoryIdAndSlug;
11
+ export type CategorySlug = PrimaryCategorySlug | ChildCategorySlug | AddonCategoryIdAndSlug;
12
+ type CategoryItemCore<Id extends string> = {
13
+ /**
14
+ * Unique ID across category mapping
15
+ *
16
+ * TODO: Add tests like it is done for Header mapping in store.core to verify
17
+ * uniqueness of IDs.
18
+ */
19
+ id: Id;
20
+ /**
21
+ * Label to be displayed for this category.
22
+ */
23
+ label: string;
24
+ /**
25
+ * Stores where this category should not be displayed.
26
+ */
27
+ disabledStores?: StoreId[];
28
+ /**
29
+ * Category contains accessories
30
+ */
31
+ isAccessories?: boolean;
32
+ /**
33
+ * Marks category as store only (visible only in store.ui.com)
34
+ */
35
+ storeOnly?: boolean;
36
+ };
37
+ export type CategorySubItem<Id extends string = ChildCategorySlug> = CategoryItemCore<Id> & {
38
+ /**
39
+ * Collection slugs
40
+ * At least one slug is required.
41
+ */
42
+ collectionSlugs: [string, ...string[]];
43
+ /**
44
+ * Flag for product grouping in product grid view
45
+ * @see https://www.figma.com/file/J9vG9MNPR28EacFhU35elG/Site-Polish?type=design&node-id=477-44006&t=fMtKDNeNxwA1xN7w-0
46
+ * Currently used in "Cameras & NVRs" / "Theta" & "Accessory Tech" / "Cables" category
47
+ * Can pass boolean to enable for all stores or array of store ids to enable for specific stores
48
+ */
49
+ enableProductGrouping?: boolean | StoreId[];
50
+ };
51
+ export type CategoryItem = CategoryItemCore<PrimaryCategoryId> & {
52
+ /**
53
+ * Hides the sub-items of this category.
54
+ */
55
+ hideSubItems?: boolean;
56
+ /**
57
+ * Used as a main slug for "all"
58
+ */
59
+ slug?: PrimaryCategorySlug;
60
+ /**
61
+ * Addons for this category.
62
+ */
63
+ addons?: {
64
+ id: AddonCategoryIdAndSlug;
65
+ /**
66
+ * Collection slug for this category addons
67
+ */
68
+ collectionSlug: string;
69
+ };
70
+ /**
71
+ * Icon to be displayed for this category.
72
+ */
73
+ icon: {
74
+ src: string | StaticImageData;
75
+ height: number;
76
+ width: number;
77
+ };
78
+ /**
79
+ * Sub-items of this category.
80
+ */
81
+ items?: CategorySubItem[];
82
+ filters?: FilterId[];
83
+ /**
84
+ * (optionally) Hide the auto-generated "All" category in cases where category has multiple items
85
+ */
86
+ hideAllCategory?: boolean;
87
+ /**
88
+ * Optional tech specs properties until they are moved to a mapping panel in BE
89
+ */
90
+ techSpecFeatures?: {
91
+ hasViewAll?: boolean;
92
+ hasPerformanceGuide?: boolean;
93
+ };
94
+ } & ({
95
+ /**
96
+ * Optional list of specific filters to use on category, if left empty and didn't use `hideFiltersAndSort`
97
+ * option it will still display the "in-stock" filter.
98
+ *
99
+ * ! To completely remove all filters and sort use `hideFiltersAndSort`
100
+ */
101
+ filters?: FilterId[];
102
+ hideFiltersAndSort?: never;
103
+ } | {
104
+ filters?: never;
105
+ /**
106
+ * Removes filters & sort from parent category ("all" page) and all of it's subcategory pages
107
+ */
108
+ hideFiltersAndSort: true;
109
+ });
110
+ export type CategoryMapping = Record<ProductLine, CategoryItem[]>;
111
+ export type ParsedCategoryStandardSubItem = CategorySubItem & {
112
+ /**
113
+ * Flag for determining if subcategory is programmatically added "All" category
114
+ */
115
+ all?: never;
116
+ };
117
+ export type ParsedCategoryCombinedSubItem = CategorySubItem<PrimaryCategorySlug> & {
118
+ /**
119
+ * Flag for determining if subcategory is programmatically added "All" category
120
+ */
121
+ all: true;
122
+ };
123
+ export type ParsedCategorySubItem = ParsedCategoryStandardSubItem | ParsedCategoryCombinedSubItem;
124
+ export type ParsedCategoryItem = Omit<CategoryItem, "items"> & {
125
+ items: ParsedCategorySubItem[];
126
+ };
127
+ export type ParsedCategoryMapping = Record<ProductLine, ParsedCategoryItem[]>;
128
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { CustomImageAsset } from "../components/CustomImage/CustomImage.types";
2
+ export declare const STORYBOOK_PRODUCT_DATASHEET = "\n <table class=\"data-table\" id=\"product-attribute-specs-table\">\n <colgroup>\n <col width=\"25%\" />\n <col />\n </colgroup>\n <tbody>\n <tr>\n <th colspan=\"100%\">Mechanical</th>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Dimensions</td>\n <td class=\"\u201Cvalue\u201C\">147 x 101.6 x 26.1 mm (5.79 x 4 x 1.03\")</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Weight</td>\n <td class=\"\u201Cvalue\u201C\">0.72 kg (1.58 lb)</td>\n </tr>\n <tr>\n <th colspan=\"100%\">Hardware</th>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Management interface</td>\n <td class=\"\u201Cvalue\u201C\">SATA 6Gb/s</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Rotation speed</td>\n <td class=\"\u201Cvalue\u201C\">7200 RPM</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Power method</td>\n <td class=\"\u201Cvalue\u201C\">5V/12V input</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Supported voltage range</td>\n <td class=\"\u201Cvalue\u201C\">5V \u00B1 5%/12V \u00B1 5%</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Power consumption</td>\n <td class=\"\u201Cvalue\u201C\">Read/write: 8.6W</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Operating temperature</td>\n <td class=\"\u201Cvalue\u201C\">0 to 65\u00B0 C (32 to 149\u00B0 F)</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Operating humidity</td>\n <td class=\"\u201Cvalue\u201C\">5 - 95% noncondensing</td>\n </tr>\n <tr>\n <td class=\"\u201Ckey\u201C\">Certifications</td>\n <td class=\"\u201Cvalue\u201C\">FCC, CE, UL, TUV, RCM, KC, BSMI</td>\n </tr>\n </tbody>\n </table>\n";
3
+ /**
4
+ * @see https://store.ui.com/products/udm-pro
5
+ */
6
+ export declare const STORYBOOK_PRODUCT_ASSETS_CONSOLE: CustomImageAsset[];
7
+ /**
8
+ * @see https://store.ui.com/products/u6-lite-us
9
+ */
10
+ export declare const STORYBOOK_PRODUCT_ASSETS_WIFI: CustomImageAsset[];
11
+ export declare const STORYBOOK_PRODUCT_ASSETS: CustomImageAsset[];
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { Nullish } from "../types";
2
+ /**
3
+ * Converts class list to className string
4
+ * Filters nullish items
5
+ */
6
+ export declare const classNames: (...classNames: Nullish<string>[]) => string;
@@ -0,0 +1 @@
1
+ export declare const prepareSearchTerm: (searchTerm: string) => string;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Taken from "countriesAndZones.generated.json" file
3
+ * !!! This can be used for just for testing purposes
4
+ * !!! Don't import this file in production code because
5
+ * !!! it will increase the bundle size
6
+ */
7
+ export declare const countries: {
8
+ name: string;
9
+ code: string;
10
+ continent: string;
11
+ phoneNumberPrefix: number;
12
+ provinceKey: string;
13
+ zones: {
14
+ name: string;
15
+ code: string;
16
+ }[];
17
+ }[];
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ export declare const canvasDrawImageFitHorizontal: (canvasEl: HTMLCanvasElement, imageEl: HTMLImageElement) => void;
2
+ export declare const canvasDrawImageFitVertical: (canvasEl: HTMLCanvasElement, imageEl: HTMLImageElement) => void;
3
+ /**
4
+ * Canvas image fitting like background-size cover and contain
5
+ *
6
+ * @see https://stackoverflow.com/a/60066003
7
+ */
8
+ export declare const canvasDrawImageFit: (canvasEl: HTMLCanvasElement, imageEl: HTMLImageElement, type: "cover" | "contain") => void;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Helper to create asset url from the store's CDN
3
+ * FIXME: Currently limited to STG environments, need ot make it dynamic!
4
+ */
5
+ export declare const cdnAssetUrl: (pathnameWithLeadingSlash: string, noPrefix?: boolean) => string;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export * as businessNameSuperRefinement from "./businessNameSuperRefinement";
2
+ export * as taxIdSuperRefinement from "./taxIdSuperRefinement";
3
+ export * as phoneNumberSuperRefinement from "./phoneNumberSuperRefinement";
4
+ export * as postalCodeSuperRefinement from "./postalCodeSuperRefinement";
5
+ export * as getProvinceSuperRefinement from "./provinceSuperRefinement";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@ubnt/store.core",
3
- "version": "9.31.0-dts-fix.3",
3
+ "version": "9.31.0",
4
4
  "description": "",
5
5
  "sideEffects": false,
6
6
  "scripts": {
7
- "build": "rollup -c && tsc --emitDeclarationOnly && tsx ./scripts/clean-type-files.ts",
7
+ "build": "rollup -c && tsc --emitDeclarationOnly",
8
8
  "build:watch": "nodemon --config ./nodemon.json",
9
9
  "lint:tsc": "tsc --project ./tsconfig.json",
10
10
  "prepublishOnly": "npm run build",